Benson Margulies schrieb:
I'm using Xalan as embedded in JRE 1.5 on MacOS.
That's not the real Apache Xalan, but a Sun fork, obviously not even taken off of a regular release version, and packaged under "com.sun" as of JRE 1.5. Searching the archives you'll find numerous references to this fact, invariably suggesting you use the real one because of the bugs Sun packaged with its custom version.
I'm evaluating 'ancestor-or-self::node()'. Context node is just a text node. Nothing fancy.
java.lang.RuntimeException: Could not resolve the node to a handle
Could you post a small, self-contained example that reproduces the error? That is, XML, XSL, and Java, if not just run from the command line. Michael Ludwig