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

Re: namespaces


slashes hashes namespace uris
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/ "Simon St.Laurent" <simonstl@s...> was heard to say:
| 4) QNames in content seems to be an ever-expanding mess, with no means
| in sight for a normalization method that makes them context-independent.
| (That's largely because there's no simple mapping between QNames and
| URIs - hashes vs. slashes keeps that complicated.)

That's interesting. I usually put the "lexical form" problem before
the "URI/QName" mapping problem. Do we need to solve them both? (Yes,
I suppose we do.)

The URI/QName mapping problem is over-constrained in the general case.
If you want to start with a QName and end with a single string and you
want the operation to be reversible, you're really saying that you
want a structured string value. If you say that you want the resulting
string to be a valid URI, you're effectively saying that concatenation
with a separator is the only choice. And since there are no available
markup characters in URIs to use as a separator, you lose.

Unless you adopt a convention for the URIs that you use as namespace
names, I don't think there's any way to make the mapping reversible.
And no matter what convention you choose, someone will rebel against
it.

                                        Be seeing you,
                                          norm

- -- 
Norman.Walsh@S...    | One of the great misfortunes of mankind is
XML Standards Architect | that even his good qualities are sometimes
Web Tech. and Standards | useless to him, and that the art of employing
Sun Microsystems, Inc.  | and well directing them is often the latest
                        | fruit of his experience.--Chamfort
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE/KRssOyltUcwYWjsRAq+ZAKChSazBS94+RNwxiH474lpN3Xe7wwCcC8cx
f8UHuBgxmAnSwRI613lBL+U=
=GFLt
-----END PGP SIGNATURE-----

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.