[ https://jira.codehaus.org/browse/MNG-3926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated MNG-3926: -------------------------------- Fix Version/s: (was: 3.x / Backlog) > Spaces if properties are not preserved if using CDATA > ----------------------------------------------------- > > Key: MNG-3926 > URL: https://jira.codehaus.org/browse/MNG-3926 > Project: Maven > Issue Type: Bug > Affects Versions: 2.0.9 > Reporter: Stefan Franke > Priority: Trivial > > Using a property like this one: > <properties> > <cdata><![CDATA[ ]]></cdata> > </properties> > results into an empty property (see effective-pom): > <properties> > <cdata/> > </properties> > which is wrong. > See also the XML spec: > "Note that a CDATA section containing only white space or a reference to an > entity whose replacement text is character references expanding to white > space do not match the nonterminal S" > which also stats that white spaces inside CDATA must not be trimmed away. -- This message was sent by Atlassian JIRA (v6.1.6#6162)