W3C home > Mailing lists > Public > public-xml-er@w3.org > March 2012

Re: tag name state

From: David Carlisle <davidc@nag.co.uk>
Date: Fri, 02 Mar 2012 13:52:16 +0000
Message-ID: <4F50D090.5020301@nag.co.uk>
Cc: "public-xml-er@w3.org Community Group" <public-xml-er@w3.org>
On 02/03/2012 13:09, Marcos Caceres wrote:
>

>
> Use case is clear, right? Being fault tolerant. XML-ER will give you
>  a data structure that can then be serialized to XML 1.0…


Stated that way, the current draft could be said to meet this use case,
so long as you used some custom xml-er serialisation rather than xml
serialisation of the tree, to apply fixup to names etc.

But this means that the only way to use xml-er in an xml pipeline is to
parse with xml-er, serialise to xml so fixup is applied. Then re-parse
as xml.

I would hope that we can have a stronger use case that if the xml-er
parser is generating a tree then that tree should be usable in XML
applications that accept tree input. ("tree" here being used loosely for
anything that isn't the serialised document form, DOM or SAX events, or,
...)

Thus I'd like it to be the case that the output from xml-er is
guaranteed to be equivalent to the output of an xml parser from some input.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
Received on Friday, 2 March 2012 13:52:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 2 March 2012 13:52:43 GMT