Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000985 [Resin] minor always 03-09-06 14:36 03-09-06 14:43
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.18
Summary 0000985: getTextContent
Description (rep by Bill Au)

I am getting an java.lang.UnsupportedOperationException
when I call getTextContent() on a non-leaf node when using
Resin's built-in XML parser.
It works fine if I use Xerces instead:

  <system-property javax.xml.xpath.XPathFactory=
             "com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl"/>
  <system-property javax.xml.parsers.DocumentBuilderFactory=

"com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"/>
  <system-property javax.xml.parsers.SAXParserFactory=

"com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"/>

This is using Xerces within Java 5. I would need to change the config
to use standalone Xerces if I want to use a non-SUN JVM.
Additional Information
Attached Files

- Relationships

- Notes
(0000928)
ferg
03-09-06 14:43

xml/01b9
 

- Issue History
Date Modified Username Field Change
03-09-06 14:36 ferg New Issue
03-09-06 14:43 ferg Note Added: 0000928
03-09-06 14:43 ferg Assigned To  => ferg
03-09-06 14:43 ferg Status new => closed
03-09-06 14:43 ferg Resolution open => fixed
03-09-06 14:43 ferg Fixed in Version  => 3.0.19


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker