node-xsd-schema-validator icon indicating copy to clipboard operation
node-xsd-schema-validator copied to clipboard

Cannot expand a complex type to more than 5K nodes

Open lothemar opened this issue 1 year ago • 3 comments

Describe the Bug

When parsing my schema, I get "[fatal] Current configuration of the parser doesn't allow the expansion of a content model for a complex type to contain more than 5,000 nodes."

Steps to Reproduce

Expected Behavior

I should be able to parse my schema by editing a flag to allow more than 5k nodes

lothemar avatar May 03 '24 14:05 lothemar

Agreed that this should be possible, but who uses a complex type with 5000 nodes? :see_no_evil:

nikku avatar May 06 '24 09:05 nikku

The European Commission's CBAM XSD definition for generated CBAM reports

Sadly not up to me :(

lothemar avatar May 06 '24 09:05 lothemar

Understood. I support Europe, so let's investigate how we make Java validate an example diagram. Can you file a test case that breaks the library? We'd need a valid CBAM report + the XSD schema you use (which should be public?).

nikku avatar May 06 '24 13:05 nikku