TIBCOSoftware / genxdm

GenXDM: XQuery/XPath Data Model API, bridges, and processors for tree-model neutral access to XML.
http://www.genxdm.org/
9 stars 4 forks source link

XSD schema parser creates incorrect QName for substitutionGroup in an included schema #155

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Imagine.  Schema A has no targetnamespace, and it also has an element, "foo",  
with a substitution group of an element, "bar", in that same null namespace.  
Schema B, with a targetnamespace of "bTns" includes schema A.  When we parse 
Schema B, we are currently trying to resolve the substitution group name of 
"bar" in the null namespace instead of bTns:bar, as we should.

Original issue reported on code.google.com by joe.bays...@gmail.com on 9 Sep 2014 at 5:56

GoogleCodeExporter commented 9 years ago
r515.  In the XMLSchemaParser.elementTag method, we now correctly resolve the 
QName of the substitution group for chameleon schema.

Original comment by joe.bays...@gmail.com on 9 Sep 2014 at 7:17