Skip to content

Commit 0f8c845

Browse files
Do not trim value (#259)
This fixes serializing all white-spaces values correctly. Co-authored-by: Gonzalo <gonzalogallotti@gmail.com>
1 parent 6911888 commit 0f8c845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/com/genexus/xml/XMLWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ private boolean CloseElementHeaderAndValue()
491491

492492
private boolean IsBlank(String s)
493493
{
494-
return (s == null || s.trim().length() == 0);
494+
return (s == null || s.length() == 0);
495495
}
496496

497497
private StringBuffer openRequestEncoding = null;

0 commit comments

Comments
 (0)