Samuel, I have been doing more code review on the internals of XERCES-C and XALAN-C regarding Numbers and DateTime.
The XPath XObjects should use XalanDOMString to render dateTime types and the duration types. You can use underlying 64-bit integer arithmetic on a millisecond time continuum, but all values of XObject should be rendered as type XalanDOMString. XALAN-C XObjects The current set of supported data types for XObjects are: eTypeNull eTypeUnknown eTypeBoolean eTypeNumber eTypeString eTypeNodeSet eTypeResultTreeFrag eTypeUserDefined -- Internal implementation-specific -- eTypeStringReference eTypeStringAdapter eTypeStringCached eTypeXTokenNumberAdapter eTypeXTokenStringAdapter eTypeNodeSetNodeProxy eUnknown XALAN-C XPath is version 1.0 and does not support recognition of the XPath-2.0 (XDM) datamodel. Sincerely, Steven J. Hathaway Xalan Documentation Project --------------------------------------------------------------------- To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org For additional commands, e-mail: xalan-dev-h...@xml.apache.org