Issue 158 in genxdm: Cyclic includes cause duplicate component definitions

3 views
Skip to first unread message

gen...@googlecode.com

unread,
Dec 9, 2014, 3:41:03 PM12/9/14
to gen...@googlegroups.com
Status: New
Owner: joe.bays...@gmail.com
Labels: Type-Defect Priority-Medium Component-Processors
Milestone-Release1.1

New issue 158 by joe.bays...@gmail.com: Cyclic includes cause duplicate
component definitions
https://code.google.com/p/genxdm/issues/detail?id=158

If schema A and B include each other, and neither schema has a
targetNamespace, we'll report duplicate component errors.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

gen...@googlecode.com

unread,
Dec 9, 2014, 3:46:48 PM12/9/14
to gen...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 158 by joe.bays...@gmail.com: Cyclic includes cause
Fixed at r523 in XMLSchemaParser.parse. Prevented duplicate parsing of
chameleon schema by adding the starting point schema to the list of seen
chameleons if it has no targetNamespace. That way, if that schema is
included into the no-namespace namespace later, it won't be re-parsed and
won't create duplicate component definitions.
Reply all
Reply to author
Forward
0 new messages