This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29823 - [XQX31] Duplicated elements
Summary: [XQX31] Duplicated elements
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQueryX 3.1 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Josh Spiegel
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL: https://www.w3.org/XML/Group/qtspecs/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-14 09:47 UTC by Tim Mills
Modified: 2016-09-23 22:06 UTC (History)
1 user (show)

See Also:


Attachments

Description Tim Mills 2016-09-14 09:47:03 UTC
Newly introduced element "xqx:integerLiteral" effectively duplicates "xqx:integerConstantExpr", and "xqx:variableRef" duplicates "xqx:varRef". 

While this isn't an error, it seems a little strange.
Comment 1 Josh Spiegel 2016-09-22 19:35:15 UTC
Agreed.
Comment 2 Josh Spiegel 2016-09-23 22:06:01 UTC
I fixed this as directed (html and test suite updated)

However, while testing the fix, I may have discovered why Jim did it this way.  I suspect he may have been trying to make the schema more readable without violating the unique particle attribution constraint.  e.g. integerConstantExpr is in the substitution group for expr.