What app server and JDK are you using?
I don't have XTags installed, but I'll grab it and see what I get with Tomcat
5.5.23 and JDK 1.5.0_06.
Quoting dean allen [EMAIL PROTECTED]:
Hi,
i have a problem with node names that begin with a leading
underscore.
Given the following XML :
Test
Seems to work for me. Here's my test:
%@ page contentType=text/plain %
%@ taglib prefix=xtags uri=http://jakarta.apache.org/taglibs/xtags-1.0; %
xtags:parse
Test
_page
hello
/_page
/Test
/xtags:parse
xtags:valueOf select=//_page /
And the result is:
hello
Hi Kris ,
i'm using jdk1.5 and Tomcat 5.5.17.
I have used xtags-20060829 , dom4j-1.6.1, but don't work.
This is the error log:
10-lug-2007 22.16.43 org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: Servlet.service() for servlet jsp threw exception
org.dom4j.InvalidXPathException:
That's odd. Are you also using jaxen-1.1-beta-6 (it comes with the dom4j dist)?
Quoting dean allen [EMAIL PROTECTED]:
Hi Kris ,
i'm using jdk1.5 and Tomcat 5.5.17.
I have used xtags-20060829 , dom4j-1.6.1, but don't work.
This is the error log:
10-lug-2007 22.16.43