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

RE: XML Schemas: Best Practices

  • From: Michael Brennan <Michael_Brennan@A...>
  • To: xml-dev@l...
  • Date: Fri, 01 Dec 2000 12:53:45 -0800

xml schema standards best practices
> From: Thomas B. Passin [mailto:tpassin@h...]
> 
> That's why I advocate that actual namespaces ought to be URIs that are
> clearly not URLs.  That would discourage people from trying to treat
> them as if they were.  Especially in examples.

I agree, but it doesn't seem to me that the prevailing standards give
implementors very good choices in this regard. This whole URI/URL/URN/XML
Namespaces issue seems quite murky and confusing to me. It is extremely
counter-intuitive and confusing to the layman.

We had -- some time ago -- started using URNs based on our domain name for
namespace names. However, it appears to me (and I am certainly far from an
expert on this stuff) that this approach is not sanctioned by any standard
or standards body and has generally fallen out of favor. It appears that the
intent of the IETF is that URNs can only be validly assigned by authorized
registration authorities, and that process is still not defined. Am I
correct in this? If this is the case, then what is the alternative to using
URLs?

This one single issue is such a huge source of confusion and
misunderstanding that I really wish there was better guidance on this. Just
try to explain to someone who is not a regular xml-dev reader that
"http://whatever..." is just a name and doesn't necessarily point to
anything. All of the semantic arguments to this effect may be correct, but
they don't contribute to a good general understanding or making XML
standards approachable to novices (whose understanding of the web is shaped
by their use of web browsers, and to whom a URL is an "Address" or
"Location").

Right now, our plan is to abandon our URN approach and move to URLs,
following the lead of recent standards from the W3C and industry
consortiums. If there is a better way, I would love to hear about it. And I
would add that I hate the various schemes I've seen proposed for URIs based
on UUIDs or similar schemes. Domain names are something that everyone
(pretty much) understands at this point, and I want a naming mechanism that
builds upon DNS. Maybe we need a new "name:" URI scheme?

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.