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 2203 - R-211: The {attributes} property on the Annotation schema component
Summary: R-211: The {attributes} property on the Annotation schema component
Status: CLOSED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: unspecified
Hardware: All All
: P4 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL:
Whiteboard: medium, easy, annotation cluster
Keywords: resolved
Depends on:
Blocks:
 
Reported: 2005-09-14 19:07 UTC by Sandy Gao
Modified: 2009-04-21 19:21 UTC (History)
0 users

See Also:


Attachments

Description Sandy Gao 2005-09-14 19:07:48 UTC
The {attributes} property on the Annotation schema component is described as "A 
sequence of attribute information items, namely those allowed by the attribute 
wildcard in the type definition for the <annotation> item itself or for the 
enclosing items which correspond to the component within which the annotation 
component is located."

http://www.w3.org/XML/Group/2002/09/xmlschema-1/structures-with-
errata.html#cAnnotations 

http://www.w3.org/XML/Group/2002/09/xmlschema-1/structures-with-
errata.html#declare-annotation 

The XML Information Set spec, on the other hand, defines the [attributes] 
property of element information items as containing a set, not a sequence, of 
attribute information items.

http://www.w3.org/TR/xml-infoset/#infoitem.element 

I think the XML Schema spec should probably similarly specify a set, not a 
sequence, of attribute information items.

See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0089.html
Comment 1 C. M. Sperberg-McQueen 2006-10-14 14:40:46 UTC
A proposal to resolve this issue has been placed at 
http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.bannotations.200610.html
(member-only links) for review and action by the WG.
Comment 2 Henry S. Thompson 2006-10-17 09:01:10 UTC
IIRC the reason for switching to a sequence for {attributes} was so that a (partial) ordering could be relied on, i.e. if an annotation A derives from a higher element than an annotation B, it would precede that annotation in {attributes}
Comment 3 C. M. Sperberg-McQueen 2006-10-21 20:43:30 UTC
The proposal mentioned in comment #1 was accepted by the WG during
its meeting of 20 October 2006.  The changes have been integrated
into the status quo document and will appear in due course in the
next published working draft.