/[volute]/trunk/projects/grid/uws/doc/UWS.xsd
ViewVC logotype

Diff of /trunk/projects/grid/uws/doc/UWS.xsd

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1235 by harripa, Wed Sep 9 14:53:54 2009 UTC revision 1236 by harripa, Wed Nov 18 22:48:37 2009 UTC
# Line 1  Line 1 
1  <?xml version="1.0" encoding="UTF-8"?>  <?xml version="1.0" encoding="UTF-8"?>
2     <!-- $Id: UWS.xsd,v 1.1 2009/06/15 15:30:32 pah Exp $ -->     <!-- $Id: UWS.xsd,v 1.1 2009/06/15 15:30:32 pah Exp $ -->
3     <!-- proposal for basic UWS schema - Paul Harrison May 2008 -->     <!-- UWS schema - Paul Harrison May 2008 -->
4     <!--     <!--
5        $Log: UWS.xsd,v $        $Log: UWS.xsd,v $
6        Revision 1.1  2009/06/15 15:30:32  pah        Revision 1.1  2009/06/15 15:30:32  pah
# Line 13  Line 13 
13        time to execution duration        time to execution duration
14     -->     -->
15  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
16     targetNamespace="http://www.ivoa.net/xml/UWS/v1.0rc3" xmlns:uws="http://www.ivoa.net/xml/UWS/v1.0rc3"     targetNamespace="http://www.ivoa.net/xml/UWS/v1.0" xmlns:uws="http://www.ivoa.net/xml/UWS/v1.0"
17     xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified"     xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified"
18     attributeFormDefault="unqualified"     attributeFormDefault="unqualified"
19  >  >
20     <xs:import namespace="http://www.w3.org/1999/xlink"     <xs:import namespace="http://www.w3.org/1999/xlink"
21        schemaLocation="http://www.ivoa.net/xml/Xlink/xlink.xsd" />        schemaLocation="../../../stc/STC/v1.30/XLINK.xsd" />
22     <!--     <!--
23        <xs:import namespace="http://www.w3.org/1999/xlink"        <xs:import namespace="http://www.w3.org/1999/xlink"
24        schemaLocation="http://www.ivoa.net/xml/Xlink/xlink.xsd"/>        schemaLocation="http://www.ivoa.net/xml/Xlink/xlink.xsd"/>
# Line 253  Line 253 
253           <xs:documentation> A reference to a UWS result           <xs:documentation> A reference to a UWS result
254           </xs:documentation>           </xs:documentation>
255        </xs:annotation>        </xs:annotation>
       <xs:sequence>  
          <xs:element name="phase"  maxOccurs="1" minOccurs="0" type="uws:ExecutionPhase"></xs:element>  
          <!--  
             pah - TODO why is this here - there was a use case to do  
             with picking up results of partially finished jobs ?  
          -->  
       </xs:sequence>  
256        <xs:attribute name="id" type="xs:string" use="required"></xs:attribute>        <xs:attribute name="id" type="xs:string" use="required"></xs:attribute>
257        <xs:attributeGroup ref="uws:reference"></xs:attributeGroup>        <xs:attributeGroup ref="uws:reference"></xs:attributeGroup>
258     </xs:complexType>     </xs:complexType>
# Line 278  Line 271 
271     </xs:element>     </xs:element>
272     <xs:complexType name="ErrorSummary">     <xs:complexType name="ErrorSummary">
273        <xs:annotation>        <xs:annotation>
274           <xs:documentation> A short summary of an error - a fuller representation of the error may be retrieved from /(jobs)/(jobid)/error           <xs:documentation>
275                A short summary of an error - a fuller representation of the
276                error may be retrieved from /(jobs)/(jobid)/error
277           </xs:documentation>           </xs:documentation>
278        </xs:annotation>        </xs:annotation>
279        <xs:sequence>        <xs:sequence>
280           <xs:element name="message" type="xs:string"></xs:element>           <xs:element name="message" type="xs:string"></xs:element>
          <!-- is this detail redundant if we say that the "detailed message" is always available from /(jobs)/(jobid)/error-->  
          <xs:element name="detail" maxOccurs="1" minOccurs="0">  
             <xs:complexType>  
                <xs:attributeGroup ref="uws:reference"></xs:attributeGroup>  
             </xs:complexType>  
          </xs:element>  
281        </xs:sequence>        </xs:sequence>
282        <xs:attribute name="type" type="uws:ErrorType">        <xs:attribute name="type" type="uws:ErrorType" use="required">
283           <xs:annotation>           <xs:annotation>
284              <xs:documentation>characterization of the              <xs:documentation>
285                 type of the error</xs:documentation>                 characterization of the type of the error
286                </xs:documentation>
287           </xs:annotation>           </xs:annotation>
288        </xs:attribute>        </xs:attribute>
289          <xs:attribute name="hasDetail" type="xs:boolean" use="required">
290             <xs:annotation>
291                <xs:documentation>if true then there is a more detailed error message available at /(jobs)/(jobid)/error</xs:documentation>
292             </xs:annotation></xs:attribute>
293     </xs:complexType>     </xs:complexType>
294     <xs:simpleType name="ErrorType">     <xs:simpleType name="ErrorType">
295        <xs:restriction base="xs:string">        <xs:restriction base="xs:string">

Legend:
Removed from v.1235  
changed lines
  Added in v.1236

msdemlei@ari.uni-heidelberg.de
ViewVC Help
Powered by ViewVC 1.1.26