this seems to be the default behavior of the SAX Parser.
http://xml.apache.org/xerces-j/apiDocs/org/xml/sax/ContentHandler.html#characters(char[],%20int,%20int)
I don't think that this is a bug. There can be several calls to the characters method between the startelement and end endelement method. Appending the characters from the different calls seems to be the only solution.
Cheers
Matthias
Hugh Field-Richards wrote:
It certainly looks as though it is the same bug. It is interesting that there
was a suggestion of using concat() to force things. In another case that I
had that certainly worked, but this is straight content from the XML stream.
I have been unable to get a small, reliable enough example to submit a bug
report. I know how I can work around it, but I just wonder when it is going to
bite me again.
Many thanks for the help
Hugh F-R
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
