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

Schema type references not resolved properly if LoadOptions.LAST_IN_WINS is true #149

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When parsing schema, if the LoadOptions.LAST_IN_WINS is true, conversion of 
type refs will fail if the reference is to a component in the pre-existing 
SchemaComponentCache.  The convertType(XMLTypeRef) method properly calls 
convertType(QName, boolean), but that method throws an 
SmUndeclaredReferenceException before checking the existing cache.

Original issue reported on code.google.com by joe.bays...@gmail.com on 10 Feb 2014 at 3:17

GoogleCodeExporter commented 9 years ago
r490. In convertType(QName,boolean) method, we now check existingCache for type 
reference resolution before throwing SmUndeclaredReferenceException.

Original comment by joe.bays...@gmail.com on 10 Feb 2014 at 3:21