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

Need late resolution for element typeRefs #159

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 9 years ago
If TypeB extends TypeA, and TypeA's content has an element of type TypeB, the 
resulting content for TypeB will not contain the content from TypeA.  A bug.

This happens because when TypeB requests the content model from TypeA, TypeA is 
not fully constructed.

The solution is to postpone typeRef resolution for elements until the required 
types are fully resolved.

Original issue reported on code.google.com by joe.bays...@gmail.com on 10 Feb 2015 at 8:42

GoogleCodeExporter commented 9 years ago
r524.  Postpone resolution of element typeRefs until the required type is fully 
constructed.

Original comment by joe.bays...@gmail.com on 10 Feb 2015 at 8:50