This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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
This may require an addition in the specification to cover against this edge case. I am assigning this one to Jonathan
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.