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] To namespace or not to Namespace ....

Hi Liam,

Liam R E Quin schrieb am 07.04.2010 um 13:33:33 (-0400):
> In many programming languages, namespaces would let you say,
> 
>     import common;
>     import section from spec1;
>     import topic, step from spec2;
>     import part-number from spec9;
> 
> and then use unqualified names. That sort of functionality can be
> a great help, but it is not what XML namespaces do today.

But it's what they'll do once this proposal (of mine :-) gets
accepted:

http://markmail.org/message/dbldtr52yawcrbtv

Namespaces could be declared using a super-easy DTD syntax. They
could be imported using PUBLIC or SYSTEM identifiers, allowing for
easy combination. They could be declared ad-hoc using an optional
prefix, which would be mandatory if needed for disambiguation of two
local names in the same namespace. And everything about namespaces
would be statically known by virtue of it being defined in the DTD,
hence a considerable reduction in complexity as explained here:

http://markmail.org/message/utae2qaibwkky7gr

Namespaces in the DTD, it would be so cool :-)

-- 
Michael Ludwig


[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