Re: SPARQL Variable Binding Results XML Format draft - for review

On Wed, Dec 15, 2004 at 11:53:40 +0000, Dave Beckett wrote:
> > Comments:
>  
> > 1/ Unbound variables should not be mentioned in <result> to avoid
> > the issue with
> > 
> > """
> > ISSUE: This is a problem, you cannot distinguish a bound variable
> > value with an empty string literal, from a variable with no binding.
> > """
> > because we now have all the variables declared in the header.
> 
> OK, changed so that only bound variables in one solution appear
> inside a <result>.  I'm unsure if this is better than
> <foo unbound="true"/> since it changes the contents of the child
> elements of <result> potentially and requires lookups by
> variable name (xml element name) rather than by order in the
> <result>
> 
> In particular, it works badly with XSLT1 at least in a simple fashion
> unless I work out how to deal with multiple parts of a document in
> XSLT1, which I can put in the example XSLT.

I prefer the form where the element is present but distinguished somehow,
its easier for processing with things like the DOM API too, as you dont
have to check back to see whats been ommited.

- Steve

Received on Wednesday, 15 December 2004 12:19:45 UTC