Kbase P98301: Linefeed character in XML attribute not is encoded
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  07/09/2010 |
|
Status: Unverified
SYMPTOM(s):
Building XML document using 4GL
Attribute for XML node is set to value containing a linefeed character ( CHR(10) )
XML document is saved to file
Linefeed character is not encoded to 

FACT(s) (Environment):
Progress 9.1D
Progress 9.1E
OpenEdge 10.x
All Supported Operating Systems
OpenEdge Category: Language (4GL/ABL)
CAUSE:
This is expected behavior.
According to the XML specs of the W3C there is no requirement to encode whitespace characters in attribute values, and as such there is no clear definition how these should be handled.
In the case of Progress, all whitespace characters in attribute values are simply replaced with spaces.
FIX:
None. The product is working as expected.