<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>6452</bug_id>
          
          <creation_ts>2009-01-19 21:14:07 +0000</creation_ts>
          <short_desc>scds extensibility</short_desc>
          <delta_ts>2009-04-27 15:55:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>SCDS: XML Schema Component Designators</component>
          <version>1.1 only</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>decided</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John Arwe">johnarwe</reporter>
          <assigned_to name="Mary Holstege">holstege</assigned_to>
          <cc>David_E3</cc>
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23165</commentid>
    <comment_count>0</comment_count>
    <who name="John Arwe">johnarwe</who>
    <bug_when>2009-01-19 21:14:07 +0000</bug_when>
    <thetext>My mental parser is having a hard time with how the extensibility of accessors and axes is handled.

For example,
[19]   	Axis	   ::=   	 &apos;schemaAttribute&apos; &apos;::&apos; | &apos;schemaElement&apos; &apos;::&apos; | 
                             ...| ExtensionAxis
[23]   	ExtensionAxis	   ::=   	QName &apos;::&apos;

When my code encounters the string &quot;schemaElement::foo&quot;, how exactly does it know whether to treat schemaElement as a QName and apply the current xmlns= binding or to treat is as &apos;the special string&apos; (which seems to be equivalent to saying it is really a local name with an implicit namespace == XML Schema 1.1).  The bifurcation of not using a QName for Schema-defined axes and then making all extensions use QNames seems unnecessary (albeit, more compact in the normal case perhaps).

I react pretty much the same way to accessors in general, and to the strings returned by component-kind() (4.5.1 component-kind Accessor).  It seems like they should all by QNames, with a Schema-defined namespace in the case of entities defined by the Schema wg.

FWIW, this is not an academic issue at all.  Existing specs, e.g. SML, define their own identity constraint schema components.  If it becomes necessary at some point to reconcile them with SCDS, consumers would be getting back results from component-kind(Identity&amp;#8209;Constraint Definition) of &quot;identity-constraint-definition&quot; and (presumably) component-kind(sml:Identity&amp;#8209;Constraint Definition) of &quot;sml:identity-constraint-definition&quot; - which gets one back to the same ambiguity I started with on how to distinguish what is, from the description I see here, a string, from a QName that happens to lack an explicit ns prefix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23717</commentid>
    <comment_count>1</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2009-02-13 16:57:08 +0000</bug_when>
    <thetext>RESOLVED: Make a proposal along the lines of treat unprefixed axis names as in a magic (possibly null) namespace, and names in that namespace are reserved.

RESOLUTION: Ask the editor to draft a change which a) decides on a namespace for the names of component-kinds to be in b) modifies the return value of component-kind() to be expanded names in that namespace.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24914</commentid>
    <comment_count>2</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2009-04-24 17:57:30 +0000</bug_when>
    <thetext>On the telcon, the WG discussed the following proposal.
http://www.w3.org/XML/Group/xmlschema-current/SCD/scds-omni20090326-diff.html

And adopted it with one ammendment:
In section 4.2.1 the sentence first sentence now reads:
&quot;The schema component axes defined in this document are considered to be names in no namespace.&quot;

This omnibus proposal is intended to close:
bug 6450
bug 6451
bug 6452</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24917</commentid>
    <comment_count>3</comment_count>
    <who name="John Arwe">johnarwe</who>
    <bug_when>2009-04-24 19:45:04 +0000</bug_when>
    <thetext>4.2.1
from: component axes specifically enumerated in     production for Axis.
to  : component axes specifically enumerated in the production for Axis.
or
to  : component axes specifically enumerated in the Axis production.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24928</commentid>
    <comment_count>4</comment_count>
    <who name="Mary Holstege">holstege</who>
    <bug_when>2009-04-27 15:26:12 +0000</bug_when>
    <thetext>Accepted comment #3 as an editorial suggestion.  I went with the second 
alternative as I think it reads a little better.  Change will be in next draft.
If you are satisfied with this resolution, please indicate that by closing the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24932</commentid>
    <comment_count>5</comment_count>
    <who name="John Arwe">johnarwe</who>
    <bug_when>2009-04-27 15:55:15 +0000</bug_when>
    <thetext>sounds mahvelous</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>