From: Francis Upton <francisu@ie...> - 2003-12-16 16:12:38
If you specify a "?" after a type in a cast as like:
sa/a cast as xs:integer?
It is supposed to allow an empty sequence, and it does not.
I patched my version of the code to add a new constructor to CastExpression
and always set allowEmpty to true and this makes it work for me, but of
course this is not a real fix.
I don't know if this is a bug or just something you have not gotten to yet.
Great implementation BTW :)
Francis Upton IV
H 510 835 3123
C 510 432 1589
F 501 648 1464
From: Michael Kay <mhk@mh...> - 2003-12-16 17:53:43
> I don't know if this is a bug or just something you have not
> gotten to yet.
A bit of each. There are quite a few areas where there have been changes
to the specs since I first implemented a feature, and the code hasn't
been updated. It's now at the point where it's worth letting me know
about these things because I don't have a complete list of them.
In this particular case I had already spotted it myself and it will be
fixed in the next version.
Get latest updates about Open Source Projects, Conferences and News.