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 3685 - [SCD] (Editorial) Origanize by axes
Summary: [SCD] (Editorial) Origanize by axes
Status: RESOLVED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: SCDS: XML Schema Component Designators (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Mary Holstege
QA Contact: XML Schema comments list
URL: http://lists.w3.org/Archives/Member/w...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-08 15:06 UTC by Mary Holstege
Modified: 2009-02-06 17:36 UTC (History)
0 users

See Also:


Attachments

Description Mary Holstege 2006-09-08 15:06:00 UTC
Originally raised in
http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2006Aug/0016.html by
Kohsuke Kawaguchi <Kohsuke.Kawaguchi@Sun.COM>

- In my opinion, the spec would have been easier to read if it
   followed the same approach that the XPath spec took.

   For example, I failed to find any reference to what it really means
   to use the "baseType::" axis. I just had to assume that it's a
   traversal through the {base type definition} of the complex type and
   simple type schema components.

   To follow the XPath spec approach means saying something like this
   instead:

     The <tt>baseType</tt> axis contains the {base type definition} of
     the context node if the context node is a simple/complex
     type. Otherwise empty.

   The node test (by name) could be then split into its own part,
   eliminating any need to duplicate [target namespace] and [name]
   everywhere, as the current SCD spec do.
Comment 1 Mary Holstege 2008-01-15 21:35:18 UTC
This comment is related to comments made by the XQuery WG (http://www.w3.org/XML/Group/2007/09/scds) which were considered at the F2F meeting of
10 Oct 2007.

The WG agreed to provide an axis-oriented description of SCPs.
Comment 2 Mary Holstege 2009-02-06 17:36:32 UTC
Fixed in Last Call draft http://www.w3.org/TR/2008/WD-xmlschema-ref-20081117/