In the definition of the data() function:
http://www.w3.org/TR/xpath-functions/#func-data
it says:
"If the node does not have a typed value an error is raised [err:FOTY0012]."
When would that error occur? data() seems to work fine on untyped XML...
(using Saxon 9.0.0.3)
thanks
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--