[Geoserver-devel] [jira] (GEOS-5475) GetCapabilities Generation fails when encountering 3D SRS

Jody Garnett created BugGEOS-5475
GetCapabilities Generation fails when encountering 3D SRS

Issue Type:

BugBug

Affects Versions:

2.2.1

Assignee:

Andrea Aime

Components:

Oracle

Created:

23/Nov/12 1:13 AM

Description:

This one is a bit more serious, after configuring a layer as per GEOS-5474, the GetCapabilities for WMS 1.3.0 trips up.

Displaying in the browser results in the error message:

This page contains the following errors:

error on line 4746 at column 17: XML declaration allowed only at the start of the document

Below is a rendering of the page up to the first error.

…snip…

Inspection of the line 4746reveals:

      <CRS>EPSG:61346405</CRS>
      <CRS>EPSG:61356405</CRS>
      <CRS><?xml version="1.0" encoding="UTF-8"?><ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://localhost:8080/geoserver/schemas/wms/1.3.0/exceptions_1_3_0.xsd">   <ServiceException>
      javax.xml.transform.TransformerException: org.geoserver.platform.ServiceException: Error occurred trying to write out metadata for layer: POINT_TEST
org.geoserver.platform.ServiceException: Error occurred trying to write out metadata for layer: POINT_TEST
Error occurred trying to write out metadata for layer: POINT_TEST
Unexpected error obtaining bounding box for layer POINT_TEST
Argument "GDA94" has 3 dimensions, while 2 was expected.
</ServiceException></ServiceExceptionReport>

Environment:

Oracle 11g Express Edition

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Jody Garnett

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)