• Post Reply Bookmark Topic Watch Topic
  • New Topic

DOM and Tomcat/ Cocoon  RSS feed

 
Bill White
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I built a class that uses the DOM to navigate an XML structure. It's methods basically return an element as a String.

An example... if a user calls getRemarks()

<remarks>Some basic remark</remarks>

Should be returned. When I test the class, I get the expected result.

However, when this class is used in conjunction w/ Tomcat and Cocoon
[remarks: null] is returned.

Is there anyone out there that knows why this could be happening? Could it be that Tomcat or Cocoon are implementing an older jar file?

I appreciate any help w/ this problem.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!