Skip to content

Retrieving xsd annotation and xsd documentation for elements with errors #31

@renegadeandy

Description

@renegadeandy

Hi,

If I get an error on a particular element, I get a JSON object back in the validate callback which looks as follows:

{"domain":17,"code":1866,"level":2,"column":0,"line":149,"str1":"tracmaxFiles"}

This error element has xsd:annotations and xsd:documentation tags associated with it. Is is possible to get access to these elements? Are their alternative libraries which could do this if this can't. If not, would it be possible to extend libxml-xsd to make this a capability?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions