root/trunk/src/xml/schema/checkstyle.xsd

Revision 1011, 2.5 kB (checked in by amandel, 4 years ago)

Aligned svn keyword settings.

  • Property svn:mime-type set to text/xml
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- $Id$ -->
3
4<!-- XML schema for checkstyle 3.1 XMLLogger output -->
5<xsd:schema
6   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7   xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
8   xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
9   xmlns:report="http://www.jcoderz.org/phoenix/report"
10   jxb:extensionBindingPrefixes="xjc"
11   jxb:version="1.0">
12
13   <xsd:import namespace="http://www.jcoderz.org/phoenix/report"
14               schemaLocation="report-types.xsd" />
15
16   <!-- copied from JAXB sample schema -->
17   <xsd:annotation>
18      <xsd:appinfo>
19
20         <jxb:globalBindings
21            fixedAttributeAsConstantProperty="true"
22            collectionType="java.util.ArrayList"
23            typesafeEnumBase="xsd:NCName"
24            choiceContentProperty="true"
25            typesafeEnumMemberName="generateError"
26            enableFailFastCheck="false"
27            generateIsSetMethod="true"
28            underscoreBinding="asCharInWord">
29            <xjc:serializable uid="106"/>
30         </jxb:globalBindings>
31         <jxb:schemaBindings>
32            <jxb:package name="org.jcoderz.phoenix.checkstyle.jaxb"/>
33        <!--
34            <jxb:nameXmlTransform>
35               <jxb:elementName suffix="Element"/>
36            </jxb:nameXmlTransform>
37         -->
38         </jxb:schemaBindings>
39      </xsd:appinfo>
40   </xsd:annotation>
41
42 <xsd:element name='checkstyle'>
43  <xsd:complexType>
44   <xsd:choice minOccurs='0' maxOccurs='unbounded'>
45    <xsd:element ref='file'/>
46    <xsd:element ref='error'/>
47    <xsd:element ref='exception'/>
48   </xsd:choice>
49   <xsd:attribute name='version' type='xsd:string' use='optional'/>
50  </xsd:complexType>
51 </xsd:element>
52
53 <xsd:element name='file'>
54  <xsd:complexType>
55   <xsd:choice minOccurs='0' maxOccurs='unbounded'>
56    <xsd:element ref='error'/>
57    <xsd:element ref='exception'/>
58   </xsd:choice>
59   <xsd:attribute name='name' type='xsd:string' use='required'/>
60  </xsd:complexType>
61 </xsd:element>
62
63 <xsd:element name='error'>
64  <xsd:complexType>
65   <xsd:attribute name='line' type='xsd:int' use='required'/>
66   <xsd:attribute name='column' type='xsd:int' use='optional'/>
67   <xsd:attribute name='severity' type='report:Severity' use='optional'/>
68   <xsd:attribute name='message' type='xsd:string' use='required'/>
69   <xsd:attribute name='source' type='xsd:string' use='optional'/>
70  </xsd:complexType>
71 </xsd:element>
72
73 <xsd:element name='exception'>
74  <xsd:complexType mixed='true'>
75  </xsd:complexType>
76 </xsd:element>
77</xsd:schema>
Note: See TracBrowser for help on using the browser.