pmd/website/ruleset_2_0_0.dtd
Andreas Dangel 4ffeda09cf pmd: cleanup with the namespace handling in the ruleset files
noNameSpaceLocation is not needed as we use our namespace as
the default one. If we use anything else, we anyway need to
declare what we use.

Copied the schema and dtd to website.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7681 51baf565-9d33-0410-a72c-fc3788e3496d
2012-06-02 12:03:49 +00:00

32 lines
1.3 KiB
DTD

<!ELEMENT ruleset ( description, include-pattern*, exclude-pattern*, rule+ ) >
<!ATTLIST ruleset name CDATA #REQUIRED >
<!ELEMENT description ( #PCDATA ) >
<!ELEMENT exclude-pattern ( #PCDATA ) >
<!ELEMENT include-pattern ( #PCDATA ) >
<!ELEMENT rule ( description? , priority? , properties? , exclude* , example* ) >
<!ATTLIST rule language CDATA #IMPLIED >
<!ATTLIST rule minimumLanguageVersion CDATA #IMPLIED >
<!ATTLIST rule maximumLanguageVersion CDATA #IMPLIED >
<!ATTLIST rule name ID #IMPLIED >
<!ATTLIST rule since CDATA #IMPLIED >
<!ATTLIST rule ref CDATA #IMPLIED >
<!ATTLIST rule message CDATA #IMPLIED >
<!ATTLIST rule externalInfoUrl CDATA #IMPLIED >
<!ATTLIST rule class NMTOKEN #IMPLIED >
<!ATTLIST rule dfa CDATA #IMPLIED >
<!ATTLIST rule typeResolution CDATA #IMPLIED >
<!ATTLIST rule deprecated CDATA #IMPLIED >
<!ELEMENT example ( #PCDATA ) >
<!ELEMENT priority ( #PCDATA ) >
<!ELEMENT properties ( property+ ) >
<!ELEMENT property ( value? ) >
<!ATTLIST property name NMTOKEN #REQUIRED >
<!ATTLIST property value CDATA #IMPLIED >
<!ATTLIST property description CDATA #IMPLIED >
<!ATTLIST property type CDATA #IMPLIED >
<!ATTLIST property delimiter CDATA #IMPLIED >
<!ATTLIST property min CDATA #IMPLIED >
<!ATTLIST property max CDATA #IMPLIED >
<!ELEMENT value ( #PCDATA ) >
<!ELEMENT exclude EMPTY >
<!ATTLIST exclude name NMTOKEN #REQUIRED >