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

Re: Finally, what if namespaces == document types ?


embedded namespaces
Nicolas Lehuen wrote:
> 
>...
> 

I agree with most of what you write. Note that schemas are not
wholeheartedly on one side or another. Even though each schema document
may only work with one namespace you can of course make a schema for a
multi-namespace "document type" (or "MIME type") by using inclusions.

I'll also note that the W3C is having a discussion on a highly related
issue. What is the relationship between mime types (AKA Internet
document types) and namespaces. Simon's recent publication indicates
that he thinks that namespaces are semantically meaningful enough to be
a good trigger for processing.

Of the two solutions you present, I think I prefer the document-centric
one because it allows people to use namespaces however they want, as
they have in the past. XSLT would be radically different if it was
forced to fit a model wherein embedded namespaces must be purely the
same as if they were in a standalone document. In general, I'm not
convinced that that is a feasible approach. It is just too useful to be
able to add features to subordinate namespaces.

Plus, it is easier to add a concept of "document type" than to
retroactively deprecate uses of namespaces that are not pure. If a
particular combination of namespaces happens to be pure then the
meta-schema and meta-stylesheet that glues them together should be
trivial to write.

 Paul Prescod

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.