Skip to content

Feature Request: Allow additional xmllint parameters #22

@tkalmar

Description

@tkalmar

For an xml with very large text nodes i got errors like:

Error: file_0.xml:17: parser error : xmlSAX2Characters: huge text node
file_0.xml:17: parser error : Extra content at the end of the document

This also happens with command line xmllint
When passing the --huge parameter the errors go away and linting works as expected.

Is it possible to support additional parameters to pass to xmllint?

My workaround at the moment is to pass an additional xml to the validation process
{ contents: '', fileName: '--huge' } as the filename gets pushed to the args array this works but is a little bit hacky

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