|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Namespace Comments
Don Park wrote: > > James, > > >Because it was felt undesirable that namespace processing should change > >the structure of the element tree. > > Hmm. Namespace nodes would indeed look funny in a document displayed as a > tree. I suppose the Namespace WG does not consider having extraneous > attributes as change to the structure of the document. Additional attributes do change the document but they are much less likely to cause problems than additional container elements; they also cause fewer problems for validation. > What about having to change DTDs to use the namespace? Isn't that a bit > harsh? Any non-namespace aware validation facility is bound to be sub-optimal with namespaces. If you have only a single namespace, you can make a valid document use namespaces just by changing the internal subset: <!DOCTYPE doc SYSTEM "doc.dtd" [ <!ATTLIST doc xmlns CDATA "urn:..."> ]> <doc>...</doc> > >Only names beginning with "xml" (any case) are reserved by the XML spec. > > Could we not reserve "namespace" as well? It seems quite restricting that > only the XML spec itself can reserve names. The namespace facility is intended eventually to become part of XML proper, and can thus only make use of names already reserved by XML 1.0. James xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
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
|
|||||||||

Cart








