forked from kripken/xml.js
-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
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
Labels
No labels