Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

current-element-node property not recognized

 
Arundhathi Menon
Ranch Hand
Posts: 113
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you trying to parse some XML or something?
 
Arundhathi Menon
Ranch Hand
Posts: 113
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What API are we talking about???
 
Arundhathi Menon
Ranch Hand
Posts: 113
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 113
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its of HttpUnit
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure httpUnit is using Xerces 2?
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic