Ian Turton (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A8d264a2b-8be0-40de-8b94-9442d49c4f6f
) *created* an issue
GeoServer (
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZjEyYzcwZWM4YjQ5NGViYTgwMmY1ODBkMDI4Y2IzODIiLCJwIjoiaiJ9
) / Bug (
https://osgeo-org.atlassian.net/browse/GEOS-10502?atlOrigin=eyJpIjoiZjEyYzcwZWM4YjQ5NGViYTgwMmY1ODBkMDI4Y2IzODIiLCJwIjoiaiJ9
) GEOS-10502 (
https://osgeo-org.atlassian.net/browse/GEOS-10502?atlOrigin=eyJpIjoiZjEyYzcwZWM4YjQ5NGViYTgwMmY1ODBkMDI4Y2IzODIiLCJwIjoiaiJ9
) GML3 output is not pretty printed when pretty print is turned on in global
settings. (
https://osgeo-org.atlassian.net/browse/GEOS-10502?atlOrigin=eyJpIjoiZjEyYzcwZWM4YjQ5NGViYTgwMmY1ODBkMDI4Y2IzODIiLCJwIjoiaiJ9
)
Issue Type: Bug Affects Versions: 2.19.5, 2.20.4 Assignee: Ian Turton (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A8d264a2b-8be0-40de-8b94-9442d49c4f6f
) Components: WFS Created: 20/May/22 12:10 PM Priority: Medium Reporter: Ian
Turton (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A8d264a2b-8be0-40de-8b94-9442d49c4f6f
)
We need Geoserver's XML (WFS) responses to be formatted, or at least contain
line breaks. The manual states that by enabling "Verbose messages" in the
global settings, the XML output will be formatted. Unfortunately, turning this
on did not change the WFS reponse formatting (tried with Geoserver 2.10 and
2.20).
With a little further digging, I found a "verbose" option in the wfs.xml file.
Enabling verbose here and restarting Geoserver resulted in formatted XML output.
Is this the expected behaviour? Is this the correct way to configure what we
need? Is it reliable? (Should the manual be changed?)
Then I did some more research and found out that only WFS responses with the
outputFormat=GML2 option are sent formatted (line breaks, indentations) when
verbose is enabled in wfs.xml. GML3 is always sent without formatting. Is there
a way to get the GML3-output also formatted?
(
https://osgeo-org.atlassian.net/browse/GEOS-10502#add-comment?atlOrigin=eyJpIjoiZjEyYzcwZWM4YjQ5NGViYTgwMmY1ODBkMDI4Y2IzODIiLCJwIjoiaiJ9
) Add Comment (
https://osgeo-org.atlassian.net/browse/GEOS-10502#add-comment?atlOrigin=eyJpIjoiZjEyYzcwZWM4YjQ5NGViYTgwMmY1ODBkMDI4Y2IzODIiLCJwIjoiaiJ9
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100198-
sha1:0f60739 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel