[Bug 4449] How do you write an empty namespace prefix?

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4449

           Summary: How do you write an empty namespace prefix?
           Product: XML Schema
           Version: 1.1 only
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SCDS: XML Schema Component Designators
        AssignedTo: holstege@mathling.com
        ReportedBy: cmsmcq@w3.org
         QAContact: www-xml-schema-comments@w3.org


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).

Received on Wednesday, 4 April 2007 02:29:52 UTC