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 6013 - [schema11] new examples needed
Summary: [schema11] new examples needed
Status: CLOSED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.1 only
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords: editorial, resolved
Depends on:
Blocks:
 
Reported: 2008-09-02 14:26 UTC by John Arwe
Modified: 2009-10-12 14:09 UTC (History)
2 users (show)

See Also:


Attachments

Description John Arwe 2008-09-02 14:26:12 UTC
3.3.2.5 Examples of Element Declarations
Example of default type decl as allowed by 3.3.2.1 Common Mapping Rules for Element Declarations {type table}.{default type definition} clause 1 (no test on final <alternative>)

3.10.1 The Wildcard Schema Component
{namespace constraint} provides for ·validation· of attribute and element items that: item 2
I think I know what you're after here, but text is pretty convoluted.  Alternative might be to sub-bullet it or provide and link to an example.
Comment 1 John Arwe 2008-09-11 18:46:03 UTC
The SML working group chose NOT to endorse this bug on its call of 2008-09-11
Comment 2 Sandy Gao 2009-05-08 16:53:12 UTC
During its 2009-05-08 telecon, the schema WG adopted a proposal to partially address this issue.

The proposal can be found at (member-only):

http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.omni.20090508.html

The type alternative example was updated to show how {default type definition} can get its value from an <xs:alternative> that doesn't have a "test" attribute.

I'm leaving this bug hoping that the comment on the wildcard will be addressed by a future proposal.
Comment 3 John Arwe 2009-05-08 17:44:04 UTC
(In reply to comment #2)
> During its 2009-05-08 telecon, the schema WG adopted a proposal to partially
> address this issue.
Looks like it addresses 3.3.2.5 for me.
Comment 4 David Ezell 2009-07-24 16:11:20 UTC
Editors will retry item 2.
Comment 5 C. M. Sperberg-McQueen 2009-10-10 01:37:09 UTC
On its call today, the WG accepted a proposal to add ##local to one of the examples at the beginning of 3.10 and describe it briefly in the following prose.  The revised example reads:

  <xs:any notNamespace="##targetNamespace ##local"/>

and the revised paragraph (list item 2 in the list following the component and property record tableaux) now reads:

  2. ({variety} not and {namespaces} a set whose members are either namespace names or ·absent·) have any namespace other than the specified namespaces and/or, if ·absent· is included in the set, are namespace-qualified; (see this example, which accepts only namespace-qualified names distinct from the target namespace; the '##local' in the schema document maps to the value .absent. in the {namespace constraint} property). 
Comment 6 C. M. Sperberg-McQueen 2009-10-10 20:40:29 UTC
The change described in comment 5 (like the one mentioned in comment 2) has now been integrated into the status-quo documents and may be inspected there in the fair copy and in the copy showing changes since the CR draft of 30 April (in the latter the change may be easier to spot since it has colored diff markup).

  http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.html
  http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.diff-wd.html
  (both links member-only)

Accordingly, I'm marking this issue resolved.

John, as the originator of this issue, you are requested to review the changes and indicate either by closing the bug that you are happy with this disposition of the comment or by reopening it that you are not satisfied.  If we don't hear from you in the next two weeks we shall assume that you are satisfied.  Thank you for this comment and your help in trying to make the spec less trying for readers.
Comment 7 John Arwe 2009-10-12 14:09:46 UTC
looks great, thanks