-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
When running cxsd against a XSD file using a non-supported encoding in libexpat (example here), csxd will fail with the following error:
Supported encodings in libexpat are (from here):
There are four built-in encodings in Expat:
UTF-8
UTF-16
ISO-8859-1
US-ASCII
I believe this is caused by node-expat not supporting the Unknown Encoding parser.
Reencoding the file in UTF-8 or hard setting the parser encoding on the Parser initialization (on my fork, here) allows the parser to properly complete.
Recording this issue as a helper for others suffering the same issue.
Metadata
Metadata
Assignees
Labels
No labels