@mangosystem/ogc-schemas
Version:
Jsonix XML-JSON mappings for OGC Schemas.
36 lines (34 loc) • 1.15 kB
text/xml
<wms:ServiceExceptionReport version="1.3.0"
xmlns="http://www.opengis.net/ogc"
xmlns:wms="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">
<ServiceException>
Plain text message about an error.
</ServiceException>
<ServiceException code="InvalidUpdateSequence">
Another error message, this one with a service exception code supplied.
</ServiceException>
<ServiceException>
<![CDATA[
Error in module <foo.c>, line 42
A message that includes angle brackets in text
must be enclosed in a Character Data Section
as in this example. All XML-like markup is
ignored except for this sequence of three
closing characters:
]]>
</ServiceException>
<ServiceException>
<![CDATA[
<Module>foo.c</Module>
<Error>An error occurred</Error>
<Explanation>Similarly, actual XML
can be enclosed in a CDATA section.
A generic parser will ignore that XML,
but application-specific software may choose
to process it.</Explanation>
]]>
</ServiceException>
</wms:ServiceExceptionReport>