jQuery in Action, 2nd edition*
The moose likes Testing and the fly likes current-element-node property not recognized Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "current-element-node property not recognized" Watch "current-element-node property not recognized" New topic
Author

current-element-node property not recognized

Arundhathi Menon
Ranch Hand

Joined: Jan 14, 2004
Posts: 113
Hi All,

I keep getting this error on processing a webresponse..

java.lang.RuntimeException: http://apache.org/xml/properties/dom/current-element-node property not recognized

could you please help me out

regards
Menon


SCJP , SCWCD , SCBCD , SCDJWS
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Are you trying to parse some XML or something?


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Arundhathi Menon
Ranch Hand

Joined: Jan 14, 2004
Posts: 113
Nope , I get the JSP page that I request For ...

But When I give A response.getTitle(), I get this exception thrown .. In short I cannot process the response page as in getting WebForm from it , or WebTables or anything for that matter...

regards
Menon
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
What API are we talking about???
Arundhathi Menon
Ranch Hand

Joined: Jan 14, 2004
Posts: 113
I get a webresponse , but when I give try to do a response.getTitle() ot anyother WebResponse methods the exception is thrown !
What could be wrong?
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
As far as I can tell, WebResponse is not a class from the JDK. There seems to be a WebResponse in both Cactus and HttpUnit, probably also others. So you need to tell us what library you are using.
Arundhathi Menon
Ranch Hand

Joined: Jan 14, 2004
Posts: 113
Its of HttpUnit
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Are you sure httpUnit is using Xerces 2?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: current-element-node property not recognized