1. Java Rosa
  2. javarosa

Commits

Yaw Anokwa  committed ce9934b

trim whitespace in instance values

  • Participants
  • Parent commits bcf5c69
  • Branches default

Comments (0)

Files changed (1)

File core/src/org/javarosa/xform/parse/XFormParser.java

View file
 				}
 			}	
 		} else {
-			String text = getXMLText(node, false);
+			String text = getXMLText(node, true);
 			if (text != null && text.trim().length() > 0) { //ignore text that is only whitespace
 				//TODO: custom data types? modelPrototypes?