[Bug 4272] [FS] Type checking fn:data

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4272





------- Comment #2 from tim@cbcl.co.uk  2007-02-20 13:45 -------
Thanks.

The only problem I have with that solution is that it isn't obvious from the
signature of fn:data as to why a type checking error is being thrown, since 
the function accepts item()*. 

Were I an end user (who hadn't spends ages pouring over the Formal Semantics!)
I might be a little confused and think that the implementation was at fault.

Similar arguments apply to fn:boolean which also accepts item()*, but may throw
err:FORG0006 at run time for some inputs.

Received on Tuesday, 20 February 2007 13:45:56 UTC