XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
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

Would it be sensible for XSD to have a simple type of xs:JCnQName (James 
Clark Notation QName) that accepted '{http://www.aquarium.org}tank' as valid 
input?  Then the JCnQName could be moved out of context without losing 
information.

Regards,

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using XML C++
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info
----- Original Message ----- 
From: "Costello, Roger L." <costello@mitre.org>
To: <xml-dev@lists.xml.org>
Sent: Tuesday, August 11, 2009 9:06 PM
Subject: RE: [xml-dev] Lesson Learned: Use namespaces for both markup and 
data




>> and take the data out of context I get this:
>>
>> aquarium:tank
>>
>> This appears to be richer.

> 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.

Good point Jim. I should have said:

   When this QName value is taken out of context,
   it does not have less information than a
   non-QName value taken out of context.

/Roger
_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php





[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