I am going to assume in all cases that this will be the case
and code suitably. Wrong assumptions on behaviour can
be bad for the health :-) Appending the data together is the
only solution and  I should have done that in the first
place.

Thanks for all the help

Hugh F-R

On 5 Feb 2004, at 13:59, Matthias St�ckel wrote:

Hi Hugh,

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]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to