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 19077 - [QT3TS] modules-pub-priv-31,32,35,36
Summary: [QT3TS] modules-pub-priv-31,32,35,36
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: 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: 2012-09-26 13:58 UTC by Tim Mills
Modified: 2012-09-30 19:31 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2012-09-26 13:58:09 UTC
Test modules-pub-priv-31 uses two %public annotations, but expects XQST0106.  The specification does not indicate that %public %public is an error.  Specifically:

err:XQST0106

    It is a static error if a function declaration contains both a %private and a %public annotation.

Similar errors exist in 

modules-pub-priv-32
modules-pub-priv-35
modules-pub-priv-36
Comment 1 O'Neil Delpratt 2012-09-27 08:44:00 UTC
This may require an addition in the specification to cover against this edge case. I am assigning this one to Jonathan
Comment 2 Jonathan Robie 2012-09-30 19:31:52 UTC
I just changed the text to this:

It is a static error XQST0016 if a variable declaration contains both a %private and a %public annotation, more than one %private annotation, or more than one %public annotation.