Commits

Anonymous committed 43de128

Fixing space being inserted when validator file parser encounters multiple text nodes (only in Java 1.4)
XW-443

git-svn-id: http://svn.opensymphony.com/svn/xwork/branches/xwork_1-2@1555e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits a7f77be
  • Branches xwork_1-2

Comments (0)

Files changed (1)

File src/java/com/opensymphony/xwork/validator/ValidatorFileParser.java

             if ((item instanceof CharacterData && !(item instanceof Comment)) || item instanceof EntityReference) {
                 final String nodeValue = item.getNodeValue();
                 if (nodeValue != null) {
-                    if (firstCDataFound) {
-                        value.append(MULTI_TEXTVALUE_SEPARATOR);
-                    } else {
-                        firstCDataFound = true;
-                    }
                     value.append(nodeValue.trim());
                 }
             }