How are you sending the XML? I had issues with curl removing the linebreaks
from files sent as ASCII, if you send it as binary data then the line
breaks survive. As far as I recall the parser should handle linebreaks
correctly if they are present,
Ian
On 5 September 2017 at 11:15, Víctor González <[email protected]>
wrote:
> Hi,
>
> I cannot update WFS features with properties containing line breaks. It is
> already reported in JIRA [1] and in the list previously [2].
>
> I made some research and added my conclusions to the issue in JIRA.
> Basically it seems like the XML value element is treated as a mixed
> ComplexType and their white spaces are collapsed. Using CDATA produces the
> same result.
>
> I'm a bit lost here about the reason for this. Is this a bug with the
> parser and/or xsd processing? Does the xsd force the collapsing of these
> values by definition? Why is CDATA ignored?
>
> Thanks in advance.
>
> [1] https://osgeo-org.atlassian.net/browse/GEOS-8227
> [2] http://osgeo-org.1560.x6.nabble.com/Line-breaks-transaction-geoserver-
> td5056634.html
>
> --
> Víctor González
> http://geomati.co
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
>
--
Ian Turton
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel