Hi Mukul,

Just updated.  Unfortunately,  I'm still getting the same error with the same 
example.  Am I doing something wrong?  I'm attaching example and sample 
documents.  good.xml should succeed for both schema, but it doesn't :-(

Thanks,

-jOrGe W.


On May 22, 2012, at 3:46 PM, Mukul Gandhi wrote:

> Hi Jorge,
>   I did try to fix this issue, and the changes for this are now
> committed to SVN.
>
> Xerces's XPath2 engine had a bug doing addition of xs:dateTime and
> xs:dayTimeDuration values, which I hope is now fixed completely.
> Please feel free to report, if you find anything still incorrect.
>
>
> On Fri, May 18, 2012 at 5:06 AM, Jorge Williams
> <jorge.willi...@rackspace.com> wrote:
>>
>> On May 17, 2012, at 2:56 PM, Mukul Gandhi wrote:
>>
>>> Hi Jorge,
>>>   With my quick analysis of your use-case, I can conclude that this
>>> may be a possible bug (and quite likely in our XSD 1.1 XPath2 engine).
>>>
>>> As a workaround, I can find the following expression to be working
>>> correctly though,
>>>
>>> (xs:dateTime - xs:dateTime) le xs:dayTimeDuration
>>
>> Cool, I'll give that a try...
>>
>>>
>>> You may report this issue on the JIRA system, and we'll try to solve it.
>>
>> Done: https://issues.apache.org/jira/browse/XERCESJ-1562
>>
>> Thanks!
>>
>> -jOrGe W.
>
>
>
>
> --
> Regards,
> Mukul Gandhi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
> For additional commands, e-mail: j-users-h...@xerces.apache.org
>

Attachment: duration.xsd
Description: duration.xsd

Attachment: bad.xml
Description: bad.xml

Attachment: good.xml
Description: good.xml

Attachment: duration2.xsd
Description: duration2.xsd

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-users-h...@xerces.apache.org

Reply via email to