[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] HTML5 and almost no namespaces
- From: "Pete Cordell" <petexmldev@codalogic.com>
- To: <xml-dev@lists.xml.org>
- Date: Tue, 7 Jun 2011 10:27:14 +0100
Following this thread I'm warming to David's suggestion of not using
namespaces. But to address my paranoia and pessimism I'm thinking of making
the outer most document element be reverse domain name based. e.g. an
xs:schema XML document would be like:
<com.w3.schema>
<element name='MyElement'/>
</com.w3.schema>
That covers off a lot of simple XML cases, but doesn't handle well things
like QName's as found in XSD's type element where you want to differentiate
between a type specified in the XSD namespace (such as xs:string), a type
specified in the local namespace or a type specified in a sister namespace.
For example, I wouldn't want to have to keep doing:
<element name='MyElement' type='com.w3.schema.string'/>
The search goes on!
Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using C++ XML
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info
Twitter: http://twitter.com/petecordell
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]