Hi all,
I am getting malformed xml returned from a WMS getCapabilities request in geoserver 1.6.0. It looks like it is missing two closing tags right before the closing tag, and has used an empty tag there instead.
I’ve put a copy of the getCapabilities document at http://data.aad.gov.au/temp/miles/getCapabilities.xml
Also a copy of the log file at http://data.aad.gov.au/temp/miles/geoserver.log - all I did was fire up the instance and issue a getcapabilities request.
There are a couple of exceptions thrown when the getCapabilities request is issued -
org.geotools.referencing.wkt.UnformattableObjectException: This “AxisDirection” object is too complex for WKT syntax.
at org.geotools.referencing.wkt.Formattable.toWKT(Formattable.java:185)
Followed by a NullPointerException -
at org.vfny.geoserver.wms.responses.helpers.WMSCapsTransformer$CapabilitiesTranslator.handleFeatureType(WMSCapsTransformer.java:814)
I am using SRS 3031 - I think this is the problem because I cannot replicate the problem on a fresh geoserver instance.
Though I don’t think the WKT is the problem, SRS 3031 is defined as:
PROJCS["WGS 84 / Antarctic Polar Stereographic",
GEOGCS["WGS 84",
DATUM["World Geodetic System 1984",
SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST],
AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4326"]],
PROJECTION["Polar Stereographic (variant B)", AUTHORITY["EPSG","9829"]],
PARAMETER["central_meridian", 0.0],
PARAMETER["standard_parallel_1", -71.0],
PARAMETER["false_easting", 0.0],
PARAMETER["false_northing", 0.0],
UNIT["m", 1.0],
AXIS["Easting", "North along 90 deg East"],
AXIS["Northing", "North along 0 deg"],
AUTHORITY["EPSG","3031"]]
Does anyone know how I can fix the problem?
Many Thanks,
Miles Jordan
Applications Developer
The Australian Antarctic Division
Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not the
intended recipient, you are notified that use or dissemination of this communication is
strictly prohibited by Commonwealth law. If you have received this transmission in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and
DELETE the message.
Visit our web site at http://www.antarctica.gov.au/