- From: Arthur Ryman via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 11 Jun 2006 20:44:05 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/xmlcatalog/wsdl In directory hutz:/tmp/cvs-serv2194/test-suite/xmlcatalog/wsdl Added Files: ValidationReport.xsd Log Message: Create schema for WSDL document validation reports. --- NEW FILE: ValidationReport.xsd --- <?xml version="1.0" encoding="UTF-8"?> <!-- Schema for validation report. This schema can be used by processors to capture the results of validating a list of WSDL documents. This report can be compared to the expected results specified by the Test Metadata for the test suite. ChangeLog: 2006-06-11 Arthur Ryman (ryman@ca.ibm.com) - created --> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/2006/06/wsdl/ValidationReport" xmlns:tns="http://www.w3.org/2006/06/wsdl/ValidationReport" elementFormDefault="qualified"> <element name="report" type="tns:Report"> <annotation> <documentation> The root element of a validation report. </documentation> </annotation> </element> <complexType name="Report"> <annotation> <documentation> A list of zero or more WSDL documents and their validation results. </documentation> </annotation> <sequence> <element name="wsdl" type="tns:WSDL" minOccurs="0" maxOccurs="unbounded" /> </sequence> </complexType> <complexType name="WSDL"> <annotation> <documentation> The validation results for a WSDL document. </documentation> </annotation> <sequence> <element name="uri" type="anyURI"> <annotation> <documentation> The location of the WSDL document. </documentation> </annotation> </element> <choice minOccurs="0" maxOccurs="unbounded"> <annotation> <documentation> A list of zero or more errors. </documentation> </annotation> <element name="warning" type="tns:ErrorInfo"> <annotation> <documentation> An optional requirement was violated. These correspond to keywords such as SHOULD and SHOULD NOT. Good documents may raise these. </documentation> </annotation> </element> <element name="error" type="tns:ErrorInfo"> <annotation> <documentation> A mandatory requirement was violated. These correspond to keywords such as MUST and MUST NOT. </documentation> </annotation> </element> <element name="fatalError" type="tns:ErrorInfo"> <annotation> <documentation> A processor failure such as an I/O error or ill-formed XML. </documentation> </annotation> </element> </choice> </sequence> </complexType> <complexType name="ErrorInfo"> <annotation> <documentation> Detailed information about an error. </documentation> </annotation> <sequence> <element name="errorLocator" type="tns:ErrorLocator"> <annotation> <documentation> The location in the document where the error occured. </documentation> </annotation> </element> <element name="key" type="string"> <annotation> <documentation> The assertion identifier or an internal identifier defined by the processor. </documentation> </annotation> </element> <element name="message" type="string"> <annotation> <documentation> A descriptive error message. </documentation> </annotation> </element> <element name="exception" type="tns:Exception" minOccurs="0"> <annotation> <documentation> An optional exception that was thrown by the processor. </documentation> </annotation> </element> </sequence> </complexType> <complexType name="ErrorLocator"> <annotation> <documentation> Location of error in a document. </documentation> </annotation> <sequence> <element name="documentBaseUri" type="anyURI" minOccurs="0"> <annotation> <documentation> Optional document base URI. </documentation> </annotation> </element> <element name="locationUri" type="anyURI" minOccurs="0"> <annotation> <documentation> Optional document location URI. </documentation> </annotation> </element> <element name="lineNumber" type="int"> <annotation> <documentation> Line number in document. </documentation> </annotation> </element> <element name="columnNumber" type="int"> <annotation> <documentation> Column number in line. </documentation> </annotation> </element> </sequence> </complexType> <complexType name="Exception"> <annotation> <documentation> Exception thrown by processor. </documentation> </annotation> <sequence> <element name="detailMessage" type="string"> <annotation> <documentation>Detail message.</documentation> </annotation> </element> </sequence> </complexType> </schema>
Received on Sunday, 11 June 2006 20:44:09 UTC