posted 19 years ago
Most probably a parser issue, I am lead to believe.
I tried a simple example with the standard Echo.java program from the SAx tutorials and it did print the square brakets as text, without missing or truncating it.
Try to echo you input using this code and see if it works.
When I ran a sample, I used the J2SE 1.4 parsers.
This source code is from the SAX tutorials (courtesy java.sun.com).
This code also illustrates what Stan has suggested in his post.
Regards.
- m
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81