Hi Jorge, Your example uses explicit casts on the XDM nodes, in xs:assert expressions.
If I remove explicit casts from the attribute node references in your examples, I get the expected results. i.e like <assert test="@end le (@start + xsd:dayTimeDuration('P1D'))"/> and <assert test="(@end - @start) le xsd:dayTimeDuration('P1D')"/>. Since the xs:assert XDM nodes are typed, we don't need to explicitly cast them during XPath expression evaluation. On Tue, May 22, 2012 at 11:30 PM, Jorge Williams <jorge.willi...@rackspace.com> wrote: > 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. -- Regards, Mukul Gandhi --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org