source: trunk/quest-core-usability/src/main/resources/defectDescriptions.xsd @ 634

Last change on this file since 634 was 442, checked in by pharms, 12 years ago

Initial import.

  • Property svn:mime-type set to application/xml
File size: 1.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xsd:schema
3  targetNamespace="http://quest"
4  xmlns:tns="http://quest"
5  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6  xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
7  jxb:version="2.0"
8  elementFormDefault="qualified">
9 
10  <xsd:element name="defectDescriptions" type="tns:DefectDescriptions" />
11
12  <xsd:complexType name="DefectDescriptions">
13    <xsd:sequence>
14      <xsd:element name="defectDescription" type="tns:DefectDescription" maxOccurs="unbounded" />
15    </xsd:sequence>
16  </xsd:complexType>
17
18  <xsd:complexType name="DefectDescription">
19    <xsd:choice maxOccurs="unbounded">
20      <xsd:element name="textFragment" type="tns:SimpleFragment" />
21      <xsd:element name="parameterFragment" type="tns:ParameterFragment" />
22    </xsd:choice>
23    <xsd:attribute name="defectId" type="xsd:string" use="required" />
24  </xsd:complexType>
25
26  <xsd:simpleType name="SimpleFragment">
27    <xsd:restriction base="xsd:string"/>
28  </xsd:simpleType>
29
30  <xsd:complexType name="ParameterFragment">
31    <xsd:attribute name="parameterName" use="required" type="xsd:string" />
32  </xsd:complexType>
33
34</xsd:schema>
Note: See TracBrowser for help on using the repository browser.