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

XMLSchemaConverter.subtypes(...) method should use QName comparisons rather than object identity #144

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If a bridge implements its own typing system, the object identity comparison 
will fail (when it should succeed).

Original issue reported on code.google.com by joe.bays...@gmail.com on 8 Oct 2013 at 5:16

GoogleCodeExporter commented 9 years ago
r478. In XMLSchemaConverter.subtype(Type, Type) method, use QName comparison of 
types in addition to object identity test.  For the sake of performance, and 
since many bridges will not have their own type systems, we've kept the object 
identity test, and made it the first check.

Original comment by joe.bays...@gmail.com on 8 Oct 2013 at 6:38