|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Motivations for namespaces (sorry)
Thomas B. Passin said:
> The namespace tells immediately which schema is in play.
No, that's not always as simple.
There isn't always a schema and even when there is a schema (or more than
one schema) there is nothing in a XML document (except maybe its public ID
which unfortunately mandates a DTD) which describes the combination used
to mix the namespaces.
If you take a RDF document, the namespace of the document element is
always the RDF namespace and you must dig almost randomly into the
document to find its true nature. The situation is hardly better in a
XHTML document.
I am not ranting against namespaces, but I think that we need something
else to describe what I am tempted to call the document type...
Eric
--
Freelance consulting and training.
http://dyomedea.com/english/
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








