| 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 | |
|---|
| 17 | <!-- copied from JAXB sample schema --> |
|---|
| 18 | <xsd:annotation> |
|---|
| 19 | <xsd:appinfo> |
|---|
| 20 | |
|---|
| 21 | <jxb:globalBindings |
|---|
| 22 | fixedAttributeAsConstantProperty="true" |
|---|
| 23 | collectionType="java.util.ArrayList" |
|---|
| 24 | typesafeEnumBase="xsd:NCName" |
|---|
| 25 | choiceContentProperty="true" |
|---|
| 26 | typesafeEnumMemberName="generateError" |
|---|
| 27 | enableFailFastCheck="false" |
|---|
| 28 | generateIsSetMethod="true" |
|---|
| 29 | underscoreBinding="asCharInWord"> |
|---|
| 30 | <xjc:serializable uid="106"/> |
|---|
| 31 | </jxb:globalBindings> |
|---|
| 32 | <jxb:schemaBindings> |
|---|
| 33 | <jxb:package name="org.jcoderz.phoenix.pmd.jaxb"/> |
|---|
| 34 | <!-- |
|---|
| 35 | <jxb:nameXmlTransform> |
|---|
| 36 | <jxb:elementName suffix="Element"/> |
|---|
| 37 | </jxb:nameXmlTransform> |
|---|
| 38 | --> |
|---|
| 39 | </jxb:schemaBindings> |
|---|
| 40 | </xsd:appinfo> |
|---|
| 41 | </xsd:annotation> |
|---|
| 42 | |
|---|
| 43 | <xsd:element name='violation'> |
|---|
| 44 | <xsd:complexType> |
|---|
| 45 | <xsd:simpleContent> |
|---|
| 46 | <xsd:extension base="xsd:string"> |
|---|
| 47 | <xsd:attribute name='beginline' type='xsd:int' use='required'/> |
|---|
| 48 | <xsd:attribute name='endline' type='xsd:int' use='required'/> |
|---|
| 49 | <xsd:attribute name='begincolumn' type='xsd:int' use='required'/> |
|---|
| 50 | <xsd:attribute name='endcolumn' type='xsd:int' use='required'/> |
|---|
| 51 | <xsd:attribute name='rule' type='xsd:string' use='required'/> |
|---|
| 52 | <xsd:attribute name='ruleset' type='xsd:string' use='required'/> |
|---|
| 53 | <xsd:attribute name='package' type='xsd:string' use='required'/> |
|---|
| 54 | <xsd:attribute name='externalInfoUrl' type='xsd:string' use='optional'/> |
|---|
| 55 | <xsd:attribute name='variable' type='xsd:string' use='optional'/> |
|---|
| 56 | <xsd:attribute name='class' type='xsd:string' use='optional'> |
|---|
| 57 | <xsd:annotation> |
|---|
| 58 | <xsd:appinfo> |
|---|
| 59 | <jxb:property name="clazz"/> |
|---|
| 60 | </xsd:appinfo> |
|---|
| 61 | </xsd:annotation> |
|---|
| 62 | </xsd:attribute> |
|---|
| 63 | <xsd:attribute name='method' type='xsd:string' use='optional'/> |
|---|
| 64 | <xsd:attribute name='priority' type='xsd:int' use='required'/> |
|---|
| 65 | </xsd:extension> |
|---|
| 66 | </xsd:simpleContent> |
|---|
| 67 | </xsd:complexType> |
|---|
| 68 | </xsd:element> |
|---|
| 69 | |
|---|
| 70 | <xsd:element name='file'> |
|---|
| 71 | <xsd:complexType> |
|---|
| 72 | <xsd:sequence minOccurs='1' maxOccurs='unbounded'> |
|---|
| 73 | <xsd:element ref='violation'/> |
|---|
| 74 | </xsd:sequence> |
|---|
| 75 | <xsd:attribute name='name' type='xsd:string'/> |
|---|
| 76 | </xsd:complexType> |
|---|
| 77 | </xsd:element> |
|---|
| 78 | |
|---|
| 79 | <xsd:element name='error'> |
|---|
| 80 | <xsd:complexType> |
|---|
| 81 | <xsd:simpleContent> |
|---|
| 82 | <xsd:extension base="xsd:string"> |
|---|
| 83 | <xsd:attribute name='filename' type='xsd:string' use='required'/> |
|---|
| 84 | <xsd:attribute name='msg' type='xsd:string' use='required'/> |
|---|
| 85 | </xsd:extension> |
|---|
| 86 | </xsd:simpleContent> |
|---|
| 87 | </xsd:complexType> |
|---|
| 88 | </xsd:element> |
|---|
| 89 | |
|---|
| 90 | <xsd:element name='pmd'> |
|---|
| 91 | <xsd:complexType> |
|---|
| 92 | <xsd:sequence> |
|---|
| 93 | <xsd:element ref='file' minOccurs='0' maxOccurs='unbounded'/> |
|---|
| 94 | <xsd:element ref='error' minOccurs='0' maxOccurs='unbounded'/> |
|---|
| 95 | </xsd:sequence> |
|---|
| 96 | <xsd:attribute name='version' type='xsd:string' use='required'/> |
|---|
| 97 | <xsd:attribute name='timestamp' type='xsd:string' use='required'/> |
|---|
| 98 | <xsd:attribute name='elapsedTime' type='xsd:string' use='optional'/> |
|---|
| 99 | </xsd:complexType> |
|---|
| 100 | </xsd:element> |
|---|
| 101 | |
|---|
| 102 | </xsd:schema> |
|---|