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

RE: Registered Namespace prefixes


who needs namespaces xml

On Thu, 27 Feb 2003, Jeff Lowery wrote:

> > From: Joe English [mailto:jenglish@f...]
> > If and when you get a registry started, I'd like to
> > reserve the 26 uppercase latin letters as prefixes
> > for my own personal use.
>
> See my posts to Dave.  Starting of with a registry based on existing
> short-string registries, along with subscoping (I'm changing my terminology
> already!) it think addresses this issue.

hey, if we allow for subscoping with slashes as well as dots, and add a
protocol specifier, (okay so we're not really talking XML 1.0 here) you
could have elements with prefixes like:
<http://www.xml.org/very/cool:element>
funky eh! who needs namespaces now! (excuses to xml.org)

i can sort of see why you'd want to register prefixes somewhere ('cos yer
lazy! (oops, sorry)), but imho you couldn't really do it without
duplicating what the URI is - a unique identifier, right?

on an ever so slightly more serious note, it seems to my humble self that
a mechanism (i almost wrote 'standard') for namespace registries (for the
URI part, not the prefix!) could be very useful indeed. say to locate the
schema or wsdl that defines a document you're trying to read, or service
you're trying to talk to.
at the moment you can try to dereference the URI in the hope that it's not
just a namespace but also a URL to the resource, but rarely will that give
you anything but a 404. and it shouldn't really, anyhow.
but the server part of a namespace could be used to send a request to
resolve or get a list of resources. say if there was a convention and a
protocol for this sort of lookups, using maybe RDDL and a composit URL
like /GiveMeResolution, i know to ask for tagbox.org WSDL files at
http://www.tagbox.org/GiveMeResolution
or something. and if i, as a service provider, were serious about the
namespaces i define and publish, i'd make sure to have a service running
to answer those requests.

sorry for the lack of direction here, my point is simply -
registry good, centralisation not necessary

/m

Martin Klang
http://www.o-xml.org - the object-oriented XML programming language


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.