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 4449 - How do you write an empty namespace prefix?
Summary: How do you write an empty namespace prefix?
Status: RESOLVED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: SCDS: XML Schema Component Designators (show other bugs)
Version: 1.1 only
Hardware: Macintosh All
: P2 normal
Target Milestone: ---
Assignee: Mary Holstege
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-04 02:29 UTC by C. M. Sperberg-McQueen
Modified: 2009-02-06 17:37 UTC (History)
0 users

See Also:


Attachments

Description C. M. Sperberg-McQueen 2007-04-04 02:29:49 UTC
Section 4.2 of the last call draft says the general syntax of
a step is

 Syntax: [schema component kind | axis]::ns-prefix:[name][[predicate]]

where ns-prefix is a namespace prefix bound to the target namespace
of the component(s) designated.

This makes at least one reader wonder:  how do you write a step
for a component whose name is unqualified?

I suspect one or more of the following steps might usefully be taken:

(1) The notation used in the 'syntax boxes' with gray backgrounds
could be documented somewhere.  (If it is documented, I didn't
find it.)

(2) This particular summary might be revised to show the namespace
prefix correctly as optional.

(3) There might be a reference to the relevant parts of the EBNF
(which this reader, at least, found more informative than the
syntax box).
Comment 1 Mary Holstege 2008-01-15 21:41:50 UTC
Agreed.
Comment 2 Mary Holstege 2009-02-06 17:37:08 UTC
Fixed in Last Call draft http://www.w3.org/TR/2008/WD-xmlschema-ref-20081117/