Paul, it is hard to say what would cause XPathAPI.selecSingleNode to throw a TransformerException.
Such a TransformerException could be:
javax.xml.transform.TransformerException
javax.xml.transform.TransformerConfigurationException
org.apache.xpath.XPathException
The String passed in could be critical as it must be a valid XPath string.
Deeper down in the XPath code any number of things could throw such an
exception.
This method you mention can call
org.apache.xpath.XPathAPI.selectNodeIterator,
which in turn can call
org.apache.xpath.XPathAPI.eval
which calls
org.apache.xpath.XPath.execute
XPath.execute could be throwing the exception.
Unless this question is related to a specific problem I can't say much more
without more details of that problem.
- Brian
- - - - - - - - - - - - - - - - - - - -
XSLT Development, IBM Toronto
e-mail: [EMAIL PROTECTED]
Paul Tomsic
<[EMAIL PROTECTED]
m> To
[email protected]
09/12/2006 02:19 cc
PM
Subject
XPathAPI.selectSingleNode - throws
TransformerException
what would cause the "selectSingleNode" to throw a
transformerException?
thanks
