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

RE: Registered Namespace prefixes


prefixes for next
> In my opinion, the answer lies in rethinking the purpose of namespaces
> and their use cases, not in fixing the symptoms. One purpose of
> namespaces was to invent a shorthand notation for (long) unique
> names. If you make the /prefix/ unique, in essence making the whole
> tag unique, you're right back where you started. If the part before
> the colon has no specific meaning, how is <xsl:value-of select="."/>
> better than <xsl-value-of select="."/>?

prefix+localName would still be functionally the same as namespace id+
localName.  The prefix becomes the id.  It is still separate: it indicates a
namespace, not a doc component.

> If you are ready to take on "Namespaces in XML", I would suggest
> something along the lines Michael Kay was talking about, a mechanism
> similar to Java packages. 

Yes, that is another approach.  It has its merits, too.  Let's adopt one.

> And as soon as all the good [prefixes] will be taken, all you'll be able
to
> get will be e-yourdomain-with-some-trailing-junk-online. Now that's a
> prefix I'd like to hand-type in my documents.

Mac developers have been living with registered file extensions for decades.
I work in an office next to one, and I ain't heard him howling. About file
extensions, anyway.

> Say, why not just use fully-qualified DNS names or elements? You
> already have a registry.  Plus, these would be perfectly valid XML 1.0
> names.
> 
> <org.w3.Style.XSL.value-of select="."/>
> 

Because guys like me can't type worth $%*(.

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.