Namespaces !

Toby Speight tms at ansa.co.uk
Wed Aug 5 10:44:45 BST 1998


John> John Cowan <URL:mailto:cowan at locke.ccil.org>

0> In article <35C75C95.9E003C6D at locke.ccil.org>, John wrote:

John> Patrice Bonhomme wrote:

>> If the draft says it..... It sounds strange.  My parser reads a
>> tag name (prefix+local) of an Element and has to wait for the
>> namespace declaration to qualified this name.  For me, it is as
>> if we put the Element Declaration within the open tag of this
>> Element, unthinkable.

John> Not much of a problem, really, at least for SAX-style parsers
John> that return the GI and the attribute map at the same time.

It also works quite well for applications based on parsers like nsgmls,
which produce an ESIS stream with the attributes before the GI.

Having the NS declaration as an attribute of the topmost element to
use it may help applications which process a tree extracting subtrees
of a particular namespace.

-- 


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list