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

Best Practice = Vanilla XML? (was A multi-step approach on defining obje


vanilla xml
Joe English wrote:
> (Actually, I would go one step further and argue that
> any XML vocabulary which is not designed to be mixed
> with elements from other vocabularies ought not to use
> namespaces at all.  There are valid arguments against
> this position, of course.)

I would take this a step further and say that any vocabulary that has been
designed to be mixed outlines the use of similar/diverse names in contexts
throughout the document in its documentaion/ application/ or schema. In that
case is there a need to distinguish the names within the document (the
identity is expressed at application level through context). If there is no
need to distinguish the names then there is NO need for namespaces.

For example, I can't reliably mix my own vocabulary into XHTML because I
can't validate it or it isn't supported well. Those that are (SVG/MathML)
have been spec'ed and I can rely on that. Those that haven't (i.e.
FurnitureML) just use CSS anyway and that doesn't use namespaces. In the
XHTML case the only use case I can think of that *requires* namespaces would
be severs that strip larger XHTML documents down to deliver to small
devices. Even in these cases the software doing the profiling would be wise
to rely on DTD mappings.

So that's it... the option is to create a new best practice: Don't use
namespaces, just explain how your document will mix with other vocabularies.
Sounds stifling. Everyone in favor step over to this side of the line.

Jeff Rafter
Defined Systems
http://www.defined.net
XML Development and Developer Web Hosting


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.