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 28711 - Implementations can ignore unrecognized annotations?
Summary: Implementations can ignore unrecognized annotations?
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.1 (show other bugs)
Version: Candidate Recommendation
Hardware: SGI Windows NT
: P2 minor
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: 2015-05-28 12:08 UTC by Priscilla Walmsley
Modified: 2015-07-08 20:56 UTC (History)
2 users (show)

See Also:


Attachments

Description Priscilla Walmsley 2015-05-28 12:08:16 UTC
I assume, but I can't find where it is explicitly stated, that implementations can ignore annotations that are in namespaces that it doesn't recognize.  I expected to find text like there is for pragmas or options, something like:

"If the namespace URI of an annotation's expanded QName is not recognized by the implementation, then the annotation is ignored."


But I don't see that anywhere...
Comment 1 Josh Spiegel 2015-07-08 19:43:23 UTC
I don't see it either.  The tests (I wrote) for this assume they are ignored:
https://github.com/LeoWoerteler/QT3TS/blob/master/prod/Annotation.xml

I remember thinking at the time that "ignore" is implied since no error condition is specified. But, I agree, it should be clarified.