OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] 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]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS