It is not implemented in Sun's JDK 6u14; though XMLEvent.toString() seems to be implemented in an appropriate manner. However, other JDK implementations (GNU's classpath e.g.) do implement writeAsEncodedUnicode(Writer) but not toString(). So, if this test fails, it probably means that Sun's JDK has been fixed. Of course, need to work on old JDK's for awhile.
Once things are working, revisit StaxThreddsXmlParserUtils.readCharacterContent(StartElement,XMLEventReader) and StaxThreddsXmlParserUtils.readElementAndAnyContent(XMLEventReader). @author edavis @since 4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|