Skip to content

Validator API returns line numbers that are sometimes out by one when file contains an <?xml version?> element #553

@simon-20

Description

@simon-20

Brief Description
This occurs, at least, for 0.3.1 schema errors, and some others as well. The issue is that the <?xml version> element is added as and when by the running of xmllint, but the Validator code which produces line numbers for rulesets and codelists does not take this into account.

I have addressed the issue as far as new advisories are concerned.

Severity
Low

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions