sshyran / genxdm

Automatically exported from code.google.com/p/genxdm
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 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 8 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