source: trunk/autoquest-core-usability/src/main/resources/defectDescriptions.xsd @ 1542

Last change on this file since 1542 was 1493, checked in by pharms, 11 years ago
  • state of the HCSE 2014 Paper. An appropriate tag will follow.
  • Property svn:mime-type set to application/xml
File size: 1.2 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xsd:schema
3  targetNamespace="http://autoquest.informatik.uni-goettingen.de"
4  xmlns:tns="http://autoquest.informatik.uni-goettingen.de"
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:attribute name="briefText" type="xsd:string" use="required" />
25  </xsd:complexType>
26
27  <xsd:simpleType name="SimpleFragment">
28    <xsd:restriction base="xsd:string"/>
29  </xsd:simpleType>
30
31  <xsd:complexType name="ParameterFragment">
32    <xsd:attribute name="parameterName" use="required" type="xsd:string" />
33  </xsd:complexType>
34
35</xsd:schema>
Note: See TracBrowser for help on using the repository browser.