[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] HTML5 and almost no namespaces
- From: John Cowan <cowan@mercury.ccil.org>
- To: David Lee <dlee@calldei.com>
- Date: Thu, 2 Jun 2011 12:42:00 -0400
David Lee scripsit:
> Agreed. I personally think it's perfectly fine (even preferable)
> to reuse element names in different contexts to some extent. Its
> preferable to the above, in my opinion, and need not require
> namespaces unless you are truely mixing/nesting completely independent
> vocabularies.
In the schemas I'm developing, namespaces are used not for
disambiguation but for traceability. Individual schemas are built
from a library of schema modules, each with its own namespace; they
will number several hundred when complete. Each module is built from
a UML logical data model by mapping the entity classes, entity class
attributes, and relationship links onto XML elements. The namespace
name of the elements in the module is correlated with the LDM, so that
it is always readily apparent for any element in a document where the
LDM is that supplies its meaning.
--
John Cowan http://ccil.org/~cowan cowan@ccil.org
Arise, you prisoners of Windows / Arise, you slaves of Redmond, Wash,
The day and hour soon are coming / When all the IT folks say "Gosh!"
It isn't from a clever lawsuit / That Windowsland will finally fall,
But thousands writing open source code / Like mice who nibble through a wall.
--The Linux-nationale by Greg Baker
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]