UNPKG

@mangosystem/ogc-schemas

Version:

Jsonix XML-JSON mappings for OGC Schemas.

34 lines (32 loc) 1.09 kB
<?xml version='1.0' encoding="UTF-8" standalone="no" ?> <!DOCTYPE ServiceExceptionReport SYSTEM "http://www.digitalearth.gov/wmt/xml/exception_1_1_1.dtd"> <ServiceExceptionReport version="1.1.1"> <ServiceException> Plain text message about an error. </ServiceException> <ServiceException code="InvalidUpdateSequence"> Another 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> </ServiceExceptionReport>