Why is JBossXB ignoring non-ignorable white space?
Besides the obvious: because the code does so.
public void characters(char ch[], int start, int length)
| {
| // todo look at this later
| // do not notify content handler if these are just whitespaces
| int i = start;
| while(i < start + length)
| {
| if(!Character.isWhitespace(ch[i++]))
| {
| contentHandler.characters(ch, start, length);
| break;
| }
| }
| }
|
| public void ignorableWhitespace(char ch[], int start, int length)
| {
| }
In the end when I put '<env-entry-value> </env-entry-value>' in a deployment descriptor I get a null back.
This is IMHO wrong.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051782#4051782
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051782