Issue with the ampersand character
I'm facing a problem when trying to read text with the XMLStreamReader.getText method, which contains an ampersand (&) character.
The thing is that it only reads until the ampersand, so the following node is still text and not the closing element that I'm expecting.
The strange thing is that if I use the implementation supplied by Java6 it does the work fine, reading the whole text. If I use the JAXP 1.4 library with Java5 or the Glassfish implementation, it behaves as I described before.
Is there any way to make the JAXP 1.4 library behave as the Java6 implementation (which are suposed to be the same) does?
Thank you in advance.