Hi Joseph, Thanks for the thoughts. > On Wed, Oct 11, 2023 at 6:46 AM Joseph Kesselman <kesh...@alum.mit.edu> wrote:
> And possibly recreating the type-aware version of DTM. I'm quite keen to have (see) this support within XalanJ's XSLT 3.0 and XPath 3.1 processors (that shall allow us to have 'schema aware' XSLT and XPath processors within XalanJ, which is nice). Currently, the XalanJ development we're doing on dev repos branch xalan-j_xslt3.0, is by design building non 'schema aware' XSLT 3.0 and XPath 3.1 processors. With non 'schema aware' XSLT and XPath processors, to get general support of XML Schema data types within XPath 3.1 expressions (and to lesser extent within XSLT 3.0 stylesheets), we need to mostly do explicit casts within XPath expressions (for e.g, xs:date(xml_elem) gt current-date(). With 'schema aware' XPath processor, it should be possible to write XPath expressions like following : xml_elem gt current-date() where an XML element xml_elem has a run-time type annotation of xs:date by virtue of an XML element xml_elem been validated by an XML schema). -- Regards, Mukul Gandhi --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org For additional commands, e-mail: dev-h...@xalan.apache.org