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 parser should ignore chameleons already parsed into a particular namespace #151

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If schema A and B share the same namespace, and both include a chameleon, C, 
AND schema A includes schema B, we're are seeing duplicate component decls for 
the components in C.  

We need to avoid re-parsing C because its components are already in the 
namespace shared by A and B (due to the first parse).

Original issue reported on code.google.com by joe.bays...@gmail.com on 5 Mar 2014 at 8:39

GoogleCodeExporter commented 9 years ago
(r494) Added a map of location to list of namespaces for chameleon schema 
parses; then when the same chameleon is included into a namespace, we can check 
the existing list of namespaces to see if the parse is necessary.  If it it not 
required, we skip the parse.

Original comment by joe.bays...@gmail.com on 5 Mar 2014 at 8:42