Re: XML-ER and self-delimiting

David Carlisle <davidc@nag.co.uk> writes:

> xml-er parsing in the current draft has no knowledge of any particular
> schema so no predefined list of empty/void elements. so <x><y> (if
> that is the complete document) parses as <x><y/></x> as they are
> parsed as open tags and the stack of open elements is closed off at
> eof.

Seems to me this is missing a trick -- the TagSoup approach of
exploiting a truly minimal schema allows for _much_ better handling of
this issue.  See my PYXup work [1] or the original [2].

ht

[1] http://conferences.idealliance.org/extreme/html/2007/Thompson01/EML2007Thompson01.html
[2] http://home.ccil.org/~cowan/XML/tagsoup/tagsoup.pdf
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

Received on Monday, 30 April 2012 09:41:13 UTC