[
http://jira.jboss.com/jira/browse/JBWS-1617?page=comments#action_12365395 ]
Thomas Diesler commented on JBWS-1617:
--------------------------------------
Whitespace is trimmed in jbossxb-1.0.0.GA
org.jboss.xb.binding.Content:214
public void characters(char[] ch, int start, int length)
{
Characters characters = new Characters(ch, start, length);
// ignore whitespace-only characters
if(characters.toString().trim().length() > 0)
{
content.add(characters);
if(trace)
{
log.trace("characters> " + characters);
}
}
}
JAXRPC doc/literal trims empty string
-------------------------------------
Key: JBWS-1617
URL:
http://jira.jboss.com/jira/browse/JBWS-1617
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-jaxrpc
Reporter: Thomas Diesler
Assigned To: Thomas Diesler
Fix For: jbossws-2.0.0
ant -Dtest=jaxrpc/marshall test
Testcase: testString took 0.16 sec
FAILED
expected:< > but was:<>
junit.framework.ComparisonFailure: expected:< > but was:<>
at
org.jboss.test.ws.jaxrpc.marshall.MarshallTest.testString(MarshallTest.java:613)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira