Skip to content

Commit ecac2c4

Browse files
Fix non-deterministic XSD parser error by adding namespace="##other ##local" to xs:any wildcard
This resolves Unique Particle Attribution violations on modern systems like OpenSUSE 16 by ensuring the wildcard does not overlap with elements in the target namespace, satisfying XSD 1.0 determinism requirements.
1 parent 6f1d7fb commit ecac2c4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

xsd_generate_base.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
xsdDefs[typeBeingaddedTo.back().name]+=
2+
" <xs:any namespace=\"##other ##local\" minOccurs=\"0\" "
3+
"maxOccurs=\"unbounded\" processContents=\"lax\"/>
4+
";

0 commit comments

Comments
 (0)