The Peace Process: DOM and namespaces...
Tyler Baker
tyler at infinet.com
Thu Feb 11 05:42:07 GMT 1999
Bill la Forge wrote:
> From: Don Park <donpark at quake.net>
> >We can use 'xmlns' as the URI scheme name, outlaw the optional search
> >segment, and then use Java package naming scheme for the path.
>
> Don, I think there is an easier answer:
>
> Convert URLs to package names.
>
> For example,
> www.jxml.com/mdsax
> becomes
> com.jxml.www.mdsax
>
> We can still allow considerable freedom in the format of the URI.
> And yes, there is a risk of introducing non-uniqueness. But a
> reasonable choice of URI eliminates this risk.
But then again, why would you need namespaces at all for this since package names are intended
to be unique. All you would need to do is follow a convention that your XML names would be
"package" + "type".
Of course that is a framework I wrote about a year ago that works nicely and is far simpler
and more maintainable than "Namespaces in XML" and that idea took about 10 minutes and not an
entire year. Of course you have been doing a lot of exciting things with Coins and MDSAX that
deal with the "unique names issue" and the W3C to my knowledge does not even know you exist
(-:
Tyler
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list