source: TI02-CSML/trunk/services/specs/WPS draft 20051117/ows/1.0.0/owsExceptionReport.xsd @ 2194

Subversion URL: draft 20051117/ows/1.0.0/owsExceptionReport.xsd@2194
Revision 2194, 4.3 KB checked in by lawrence, 13 years ago (diff)

Adding various specs and 3rd party code of interest for the CSML
services development.

1<?xml version="1.0" encoding="UTF-8"?>
2<schema xmlns="" xmlns:ows="" targetNamespace="" elementFormDefault="qualified" version="1.0.0" xml:lang="en">
3        <annotation>
4                <appinfo>owsExceptionReport.xsd 2005-01-25</appinfo>
5                <documentation>
6                        <description>This XML Schema encodes the Exception Report response to all OWS operations. Primary editor: Arliss Whiteside. </description>
7                        <copyright>Copyright (c) Open Geospatial Consortium (2005) </copyright>
8                </documentation>
9        </annotation>
10        <!-- ==============================================================
11                elements and types
12        ============================================================== -->
13        <element name="ExceptionReport">
14                <annotation>
15                        <documentation>Report message returned to the client that requested any OWS operation when the server detects an error while processing that operation request. </documentation>
16                </annotation>
17                <complexType>
18                        <sequence>
19                                <element name="Exception" type="ows:ExceptionType" maxOccurs="unbounded">
20                                        <annotation>
21                                                <documentation>Unordered list of one or more Exception elements that each describes an error. These Exception elements shall be interpreted by clients as being independent of one another (not hierarchical). </documentation>
22                                        </annotation>
23                                </element>
24                        </sequence>
25                        <attribute name="version" type="string" use="required">
26                                <annotation>
27                                        <documentation>Specification version for OWS operation. The string value shall contain one x.y.z "version" value (e.g., "2.1.3"). A version number shall contain three non-negative integers separated by decimal points, in the form "x.y.z". The integers y and z shall not exceed 99. Each version shall be for the Implementation Specification (document) and the associated XML Schemas to which requested operations will conform. An Implementation Specification version normally specifies XML Schemas against which an XML encoded operation response must conform and should be validated. See Version negotiation subclause for more information. </documentation>
28                                </annotation>
29                        </attribute>
30                        <attribute name="language" type="language" use="optional">
31                                <annotation>
32                                        <documentation>Identifier of the language used by all included exception text values. These language identifiers shall be as specified in IETF RFC 1766. When this attribute is omitted, the language used is not identified. </documentation>
33                                </annotation>
34                        </attribute>
35                </complexType>
36        </element>
37        <!-- ======================================================= -->
38        <complexType name="ExceptionType">
39                <annotation>
40                        <documentation>An Exception element describes one detected error that a server chooses to convey to the client. </documentation>
41                </annotation>
42                <sequence>
43                        <element name="ExceptionText" type="string" minOccurs="0" maxOccurs="unbounded">
44                                <annotation>
45                                        <documentation>Ordered sequence of text strings that describe this specific exception or error. The contents of these strings are left open to definition by each server implementation. A server is strongly encouraged to include at least one ExceptionText value, to provide more information about the detected error than provided by the exceptionCode. When included, multiple ExceptionText values shall provide hierarchical information about one detected error, with the most significant information listed first. </documentation>
46                                </annotation>
47                        </element>
48                </sequence>
49                <attribute name="exceptionCode" type="string" use="required">
50                        <annotation>
51                                <documentation>A code representing the type of this exception, which shall be selected from a set of exceptionCode values specified for the specific service operation and server. </documentation>
52                        </annotation>
53                </attribute>
54                <attribute name="locator" type="string" use="optional">
55                        <annotation>
56                                <documentation>When included, this locator shall indicate to the client where an exception was encountered in servicing the client's operation request. This locator should be included whenever meaningful information can be provided by the server. The contents of this locator will depend on the specific exceptionCode and OWS service, and shall be specified in the OWS Implementation Specification. </documentation>
57                        </annotation>
58                </attribute>
59        </complexType>
Note: See TracBrowser for help on using the repository browser.