[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: draft-rsalz-qname-urn


prefix from qname
Rich Salz wrote:
>     This specification defines a Uniform Resource Name namespace for XML
> namespace-qualified names, QNames. As long as the URN is encoded in the
> same character set as the document containing the original QName, the
> Qname URN provides enough information to maintain the semantics, and
> optionally the exact syntax, of the original name.

This is interesting. One small thing I'm not sure I get right is that 
you have this grammar:

    qnameURN               = "qname" ":" prefix ":" localname ":" uri
    prefix                 = ncname / "" / "*"

And right afterwards one of the examples is:

   urn:qname:Reject:http://w3.org/2002/xkms#

(for a QName with no prefix). Somehow that seems wrong, especially 
considering the verbiage about the "fourth part" above, since there no 
longer is a fourth part in the above example (which also becomes 
impossible to parse unambiguously without validating that you have a 
correct URI at the end, provided it even is generally possible).

Am I correct to infer that the example should be:

   urn:qname::Reject:http://w3.org/2002/xkms#

and if not, may I suggest that it become that?

-- 
Robin Berjon


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.