| 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 | <!-- XML schema for checkstyle 3.1 XMLLogger output --> |
|---|
| 3 | <xsd:schema |
|---|
| 4 | xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
|---|
| 5 | xmlns:jxb="http://java.sun.com/xml/ns/jaxb" |
|---|
| 6 | xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" |
|---|
| 7 | xmlns:report="http://www.jcoderz.org/phoenix/report" |
|---|
| 8 | jxb:extensionBindingPrefixes="xjc" |
|---|
| 9 | jxb:version="1.0"> |
|---|
| 10 | |
|---|
| 11 | <xsd:import namespace="http://www.jcoderz.org/phoenix/report" |
|---|
| 12 | schemaLocation="report-types.xsd" /> |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | <!-- copied from JAXB sample schema --> |
|---|
| 16 | <xsd:annotation> |
|---|
| 17 | <xsd:appinfo> |
|---|
| 18 | |
|---|
| 19 | <jxb:globalBindings |
|---|
| 20 | fixedAttributeAsConstantProperty="true" |
|---|
| 21 | collectionType="java.util.ArrayList" |
|---|
| 22 | typesafeEnumBase="xsd:NCName" |
|---|
| 23 | choiceContentProperty="true" |
|---|
| 24 | typesafeEnumMemberName="generateError" |
|---|
| 25 | enableFailFastCheck="false" |
|---|
| 26 | generateIsSetMethod="true" |
|---|
| 27 | underscoreBinding="asCharInWord"> |
|---|
| 28 | <xjc:serializable uid="106"/> |
|---|
| 29 | </jxb:globalBindings> |
|---|
| 30 | <jxb:schemaBindings> |
|---|
| 31 | <jxb:package name="org.jcoderz.phoenix.cpd.jaxb"/> |
|---|
| 32 | </jxb:schemaBindings> |
|---|
| 33 | </xsd:appinfo> |
|---|
| 34 | </xsd:annotation> |
|---|
| 35 | |
|---|
| 36 | <xsd:element name="pmd-cpd"> |
|---|
| 37 | <xsd:complexType> |
|---|
| 38 | <xsd:sequence> |
|---|
| 39 | <xsd:element minOccurs="0" maxOccurs="unbounded" ref="duplication"/> |
|---|
| 40 | </xsd:sequence> |
|---|
| 41 | </xsd:complexType> |
|---|
| 42 | </xsd:element> |
|---|
| 43 | <xsd:element name="duplication"> |
|---|
| 44 | <xsd:complexType> |
|---|
| 45 | <xsd:sequence> |
|---|
| 46 | <xsd:element maxOccurs="unbounded" ref="file"/> |
|---|
| 47 | <xsd:element ref="codefragment"/> |
|---|
| 48 | </xsd:sequence> |
|---|
| 49 | <xsd:attribute name="lines" use="required" type="xsd:int"/> |
|---|
| 50 | <xsd:attribute name="tokens" use="required" type="xsd:int"/> |
|---|
| 51 | </xsd:complexType> |
|---|
| 52 | </xsd:element> |
|---|
| 53 | <xsd:element name="file"> |
|---|
| 54 | <xsd:complexType> |
|---|
| 55 | <xsd:attribute name="line" use="required" type="xsd:int"/> |
|---|
| 56 | <xsd:attribute name="path" use="required" type="xsd:string"/> |
|---|
| 57 | </xsd:complexType> |
|---|
| 58 | </xsd:element> |
|---|
| 59 | <xsd:element name="codefragment" type="xsd:string"/> |
|---|
| 60 | </xsd:schema> |
|---|