On Wed, May 29, 2013 at 10:02 AM, Àngela Feliu <[email protected]> wrote:
> I have this request:
> <wfs:Transaction service="WFS" version="1.0.0"
> xmlns:xxx="http://xxxx.org"
> xmlns:ogc="http://www.opengis.net/ogc"
> xmlns:wfs="http://www.opengis.net/wfs">
> <wfs:Update typeName="xxx:TABLE">
> <wfs:Property>
> <wfs:Name>FIELD</wfs:Name>
> <wfs:Value>aaa

> bbb</wfs:Value>
> </wfs:Property>
> <ogc:Filter>
> <ogc:FeatureId fid="TABLE.1"/>
> </ogc:Filter>
> </wfs:Update>
> </wfs:Transaction>
>
> Although the line break is ignored in geoserver.
> Any idea???
>
No precise idea, but a doubt, there are some xml elements in which
the schema says subsequent spaces have to be squashed into a single
whitespace, that normally ends up eating newlines.
Not sure if this is the case, but if it is, a solution would be to put your
string in a CDATA section
Cheers
Andrea
--
==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel