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

Re: Lesson Learned: Use namespaces for both markup and data

  • From: James Fuller <james.fuller.2007@gmail.com>
  • To: "Costello, Roger L." <costello@mitre.org>
  • Date: Tue, 11 Aug 2009 21:57:35 +0200

Re:  Lesson Learned: Use namespaces for both markup and data
> Conversely, if I use a QName:
> <Example xmlns:aquarium="http://www.aquarium.org">
>    <Object>aquarium:tank</Object>
> </Example>
> and take the data out of context I get this:
>    aquarium:tank
> This appears to be richer.

I have not been following this (other other namespace related
threads), but it occurs to me if you take aquarium:tank out of context
it fundamentally loses its link to the  namespace e.g.

Prefixes are just prefixes, nothing more then a hint/reference to
something important (and hopefully specifically unique) ... once we
start thinking there is a shared dictionary of what prefixes are,
instead of a namespace URI isn't this where problems start creeping in

Jim Fuller

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.
First Name
Last Name
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.