Skip to content

Reformat XML output to circumvent validator line number mismiatch #62

@rolfkleef

Description

@rolfkleef

The IATI validator runs xmllint with the --recover option on input files, to make sure they are valid XML documents.

(This makes it possible to give as much feedback as possible on each validation pass.)

This usually leads to a mismatch between the reported line number for a data issue, and the actual line number in the source file.

A workaround would be to include an xmllint --recover step on the IATI files after they are generated, basically applying the formatting that the validator will do.

That way, the reported line numbers match the actual line numbers, which makes life a little easier for users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ImprovementFixes for quality that affect the customer experience (bugs, incidents, changes)S2IUpdates and changes related to spreadsheet conversions

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions