source: trunk/autoquest-core-usability/src/main/resources/smellDescriptions.xsd @ 1975

Last change on this file since 1975 was 1918, checked in by pharms, 10 years ago
  • extension with further smell detections
  • may not fully work. But Hudson is more happy because compile errors should be gone
  • 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="smellDescriptions" type="tns:SmellDescriptions" />
11
12  <xsd:complexType name="SmellDescriptions">
13    <xsd:sequence>
14      <xsd:element name="smellDescription" type="tns:SmellDescription" maxOccurs="unbounded" />
15    </xsd:sequence>
16  </xsd:complexType>
17
18  <xsd:complexType name="SmellDescription">
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="smellId" 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.