RE: Error recovery

On Wed, 2012-12-05 at 10:49 -0800, David Lee wrote:
>  A uxml Data model that is allowed to contain "things" which are not
> valid uXML opens up a huge slew of issues.

I think the question is whether the parser must be capable of
recognising nicely-formed µXML as such and marking it with some sort of
Jolly Decent Actually (JDA) flag.

If yes (as in XML) then we add a burden on implementations.

If no, then we add a burden on users: users of the API and parser, and
users of the format. Since the µXML spec itself allows error correction
but does not say what that means, it's reasonably to suppose that it
will vary between implementations. Since people can generally only test
their data using an implementation, the differences will cause
interoperability problems. So widely available non-correcting, or
alternatively JDA-announcing, parsers will be needed.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
The barefoot programmer, http://www.holoweb.net/~liam/

Received on Wednesday, 5 December 2012 19:32:03 UTC