Geert Josten wrote:

> When passing an empty sequence where a node() is expected, the
> function does not execute, nor is a 'coercion' error is raised
> either. Is it supposed to work like this? With following example
> I would expect either the string 'blabla' or an error, but
> instead I am getting 'bla'.

> elem(()), elem(<bla/>)

  Weird indeed.  This is an error in standard XQuery, no doubt.  And
actually you get an error if you replace version "1.0-ml" by version
"1.0".  I am very curious about the rationale behind this choice...

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/























      
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to