You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2020/07/30 19:23:00 UTC

[jira] [Updated] (DAFFODIL-2346) XML Output needs option to use around simple element values containing whitespace.

     [ https://issues.apache.org/jira/browse/DAFFODIL-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Beckerle updated DAFFODIL-2346:
------------------------------------
    Description: 
It is incredibly painful to take the XML output, pretty print it to make it readable, and find out that this has mangled the significant whitespace inside element values. 

In general, since whitespace within simple values is considered fungible in XML, we have to protect whitespace that is truly part of the DFDL infoset. 

I think CDATA bracketing is preferable to replacing whitespace characters with XML escaping like &amp;#x20; 


  was:
It is incredibly painful to take the XML output, pretty print it to make it readable, and find out that this has mangled the significant whitespace inside element values. 

In general, since whitespace within simple values is considered fungible in XML, we have to protect whitespace that is truly part of the DFDL infoset. 

I think CDATA bracketing is preferable to replacing whitespace characters with XML escaping like &#x20; 



> XML Output needs option to use <![CDATA[     ]]> around simple element values containing whitespace.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DAFFODIL-2346
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2346
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End
>    Affects Versions: 2.6.0
>            Reporter: Mike Beckerle
>            Priority: Major
>             Fix For: 3.0.0
>
>
> It is incredibly painful to take the XML output, pretty print it to make it readable, and find out that this has mangled the significant whitespace inside element values. 
> In general, since whitespace within simple values is considered fungible in XML, we have to protect whitespace that is truly part of the DFDL infoset. 
> I think CDATA bracketing is preferable to replacing whitespace characters with XML escaping like &amp;#x20; 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)