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

Re: error recovery

From: John Snelson <john.snelson@marklogic.com>
Date: Mon, 20 Feb 2012 11:38:43 +0000
Message-ID: <4F4230C3.9030509@marklogic.com>
To: public-xml-er@w3.org
On 19/02/12 19:01, David Carlisle wrote:
> If you mandate the unquoted attribute be reported as such then either we
> need to spec an API such that such details can be reported as well as
> returning the tree, or the marking would need to be in-line in the
> returned tree, which would I think be unfortunate as it would mean that
> the trees from<foo a=1>  <foo a="1">  and<foo a='1'>  would not be the same.

I think we can easily say "a warning is reported", where the 
implementation gets to define how a warning is reported. No API design 
needed here.

John

-- 
John Snelson, Senior Engineer                  http://twitter.com/jpcs
MarkLogic Corporation                         http://www.marklogic.com
Received on Monday, 20 February 2012 11:39:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 February 2012 11:39:18 GMT