Re: Xerces-J 2.12.0 vs. Saxon: XSD 1.1 gYearMonth comparison is failing
Mukul Gandhi <[email protected]> Fri, 10 Aug 2018 15:25:36 +0530
| Newsgroups | gmane.text.xml.xerces-j.user |
|---|---|
| Message-ID | <CABuuzNNWtQccscO5GkJyi4WTwh6ALwma5hPk4ZPyGOfwCC8p9Q@mail.gmail.com> |
> > On Thu, Aug 9, 2018 at 7:24 PM, Yitzhak Khabinsky < > [email protected]> wrote: > >> The idea is to use the *gYearMonth* data type so it will check >> correctness of both year and month portions of it. >> > The XPath expression in your <assert> makes use of the syntax, xs:gYearMonth(xs:date(.)). This form of constructor for xs:gYearMonth which takes xs:date as argument, doesn't seem to be supported properly by our XPath 2.0 processor. I also can't find anywhere in the XPath 2.0 & related specifications, where this is allowed and the semantics of it. -- Regards, Mukul Gandhi