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] HTML5 and almost no namespaces

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:

    <element name='MyElement'/>

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]

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