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 10271 - [XQuery11]: Wrong error for duplicate decimal format declarations
Summary: [XQuery11]: Wrong error for duplicate decimal format declarations
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 (show other bugs)
Version: Working drafts
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-30 06:55 UTC by Brett Zamir
Modified: 2010-09-21 16:22 UTC (History)
2 users (show)

See Also:


Attachments

Description Brett Zamir 2010-07-30 06:55:55 UTC
Section 4.10 on "Decimal-Format Declaration" states:

"It is a static error for a query prolog to contain two decimal formats with the same name, or to contain two default decimal formats. [err:XQST0096]."

Error XQST0096, however, refers instead to computed constructors: "It is a dynamic error the node-name of a node constructed by a computed element constructor has any of the following properties..."
Comment 1 Michael Kay 2010-07-30 09:03:56 UTC
*** Bug 6291 has been marked as a duplicate of this bug. ***
Comment 2 Jonathan Robie 2010-09-21 15:57:04 UTC
This is clearly a bug that needs to be fixed (it originated when merging errors into the list).
Comment 3 Jonathan Robie 2010-09-21 16:22:52 UTC
I'll create a new error code for this.