casting out-of-range

Looking at test cases today we thought about this:

  External( pred:is-literal-int( External ( xs:int ( "x"^^xs:string ) ) ) )

and

  External( pred:is-literal-not-int( External ( xs:int ( "x"^^xs:string ) ) ) )

Is either of them true?  If not, is there any way to handle casting
deterministically in the face of bad data?

   -- Sandro

Received on Tuesday, 16 February 2010 17:09:38 UTC