[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: 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] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|