Hmm. It seems to me that this only requires a stack, not the full tree,
but...it is highly error prone, and having Yet Another Variant Form
isn't a very good thing. Languages need the notion of helpers for
"logical parenthesis" matching, and preferably some redundancy, in
order to help the user get this right, and to help the processing system
detect when it is wrong. (Indentation is another possibility, but that
isn't available here.)
Best,
Dak
-- David A. 'Dak' Keldsen Software Development Manager SoftQuad Inc.xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@ic.ac.uk the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)