XML encoder always put a xml prolog in the generate output, this is unsuitable for partial document generation
--------------------------------------------------------------------------------------------------------------
Key: GEOT-1604
URL: http://jira.codehaus.org/browse/GEOT-1604
Project: GeoTools
Issue Type: Bug
Components: core xml
Affects Versions: 2.5-M0, 2.4-RC0
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 2.4-RC1, 2.5-M1
Every time the encoder is called the output contains a
<?xml ...> declaration.
This is not suitable when the encoder is used to encode parts of a bigger document (see kml-ows5, where gml3 geometries are used in a bigger kml document). I'm going to add a flag like namespaceaware to disable document start and stop code.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|