That's indeed strange. Quickly scanning the specs I didn't find anything that 
indicates that whitespace should be stripped before casting. However, if those 
are the XQTS tests I would be very reluctant to modify them.

If you don't find a definite answer in the spec, I would leave the tests as-is 
and file a JIRA issue to explain the problem.

Cheers,
Till

On Aug 22, 2012, at 5:27 PM, Eldon Carman wrote:

> I am looking at the g* comparisons and I found that a few of them have
> extra white space in the definition. Currently the casting process
> throws an error because it sees a character it does not recognize.
> Where should the white space be removed? Should the cast support extra
> spaces in the string?
> 
> xs:gMonth("--11  ")
> xs:gDay(" ---31  ")

Reply via email to