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 2662 - lc-5: Rule out default namespace
Summary: lc-5: Rule out default namespace
Status: RESOLVED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: SCDS: XML Schema Component Designators (show other bugs)
Version: unspecified
Hardware: PC Windows 2000
: P2 normal
Target Milestone: ---
Assignee: Mary Holstege
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-05 20:06 UTC by Mary Holstege
Modified: 2009-02-06 17:41 UTC (History)
0 users

See Also:


Attachments

Description Mary Holstege 2006-01-05 20:06:34 UTC
raised on 29 Apr 2005 by Henry Thompson:
Wrt e.g. the example

 //quantity

in section 4.2.17 the prose says

 "This path designates global or local element declarations whose
  local name is quantity"

The use of the phrase "local name" introduces at least a confusion and
at worst a big.  

I can't immediately detect whether you rule out using the default
namespace (I think you should, because you _can't_ declare it using
the xmlns() XPointer scheme), but lets suppose you did or do rule it
out, then the above should read:

  "This path designates global or local element declarations whose
   name is 'quantity' in no namespace"

or words to that effect

agreed that clarification was required 13 May 2005:
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2005Jun/0003
also agreed at that meeting that alignment with XPath was in order;
however XPath 1.0 and XPath 2.0 have different answers.

However, this may also relate to lc-5; see
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2005Jun/0075
Comment 1 Mary Holstege 2006-09-22 17:05:28 UTC
The WG reconsidered this in August 2006 based on the information that, in
fact, XPath 2.0 differs from XPath 1.0 in this respect.

Editor to clarify that, yes, default namespaces are premitted, and clean up
examples where they are wrong; adding examples as necessary to make things
clear.
Comment 2 Mary Holstege 2009-02-06 17:40:48 UTC
Fixed in Last Call draft http://www.w3.org/TR/2008/WD-xmlschema-ref-20081117/