• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Exception getting while calling getContentText() method..

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

My name is Sudheesh and I am working on a web project which uses J2ee and struts framework. My application server is JBOSS 4.0.
I am currrently working on a module in which XML parsing is required. I am using DOM parsing for it. But while parsing i am getting an exception when i am trying to retrieve the text content of nodes using getTextContent() of org.w3c.dom.Node.
I tried it as a console pgm and it works fine.
I am getting the name and type of the nodes. But not able to get the content because of the Exception.
Your help and suggestions solicited..
Thank you,
Sudheesh K S ..
 
Sudheesh K S
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please download the latest version of xerces-2_7_1.zip from apache and replace follwing jar files to jboss-4.0.2\lib\endorsed
1. xercesImpl.jar
2. resolver.jar
regards,
Jiji & Sudheesh...
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic