Re: error recovery

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 UTC