I know, I know... this java and xml, it's not supposed to happen.  But I've
got some java code running just find on my Windows 2000 development
envioronment, but I get this error from the Apache/Tomcat/Solaris machine:

This is the stack trace:
org.dom4j.InvalidXPathException: Invalid XPath expression: //Row
com.werken.saxpath.XPathReader at
org.dom4j.xpath.DefaultXPath.parse(DefaultXPath.java:279) at
org.dom4j.xpath.DefaultXPath.(DefaultXPath.java:57) at
org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:165) at
org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:205) at
org.dom4j.tree.AbstractNode.selectNodes(AbstractNode.java:161) at
com.hnw.util.UserImport.insert(UserImport.java:32) 
This is a java code snippet:

...
  List topicNodes = document.selectNodes("//Row");
...

This is an xml file snippet:

<Import> 
        <Row> 
                <email>[EMAIL PROTECTED]</email> 
                <format>text</format> 
                <firstName>Tim</firstName> 
                <lastName>Foster</lastName> 
                <title>Strategy & Business Development</title> 
                <company>Tri-Media Marketing & Publicity Inc.</company> 
                <address>517 Niagara St.</address> 
                <town>Welland</town> 
                <state>ON</state> 
                <zip>L3C 1L7</zip> 
                <phone>(905)732-6431</phone> 
                <financial>X</financial> 
                <investing>X</investing> 
                <retail>X</retail> 
        </Row>

... so, I guess I don't get it.


..................................................

Marc Elliott
Director of Information Architecture / HNW Inc.
Digital Solutions for High-Net-Worth Marketers
ph: 617-243-9199 x224
fx: 815-327-4167 


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to