<?xml version="1.0"?>
<ruleset name="Test Ruleset" xmlns="http://pmd.sourceforge.net/ruleset/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd">

    <description>
        Ruleset used by test net.sourceforge.pmd.lang.rule.RuleSetWriter and RuleSetFactoryTest
    </description>

    <rule name="MockRule1" language="dummy" since="1.0" message="Test Rule" class="net.sourceforge.pmd.lang.rule.MockRule"
        externalInfoUrl="${pmd.website.baseurl}/rules/test/TestRuleset1.xml#MockRule">
        <description>
Just for test
     </description>
        <priority>3</priority>
        <example>
 <![CDATA[
 ]]>
     </example>
    </rule>

    <rule name="MockRule2" language="dummy" since="1.0" message="Test Rule 2" class="net.sourceforge.pmd.lang.rule.MockRule"
        externalInfoUrl="${pmd.website.baseurl}/rules/test/TestRuleset1.xml#MockRule2">
        <description>
Just for test
     </description>
        <priority>3</priority>
        <example>
 <![CDATA[
 ]]>
     </example>
    </rule>

    <rule name="MockRule3" deprecated="true" ref="net/sourceforge/pmd/lang/rule/TestRuleset2.xml/TestRule"/>

    <rule name="MockRule4" language="dummy" since="1.0" message="Test Rule"
          class="net.sourceforge.pmd.lang.rule.xpath.XPathRule"
          externalInfoUrl="${pmd.website.baseurl}/rules/test/TestRuleset1.xml#MockRule">
        <description>
            Just for test
        </description>
        <priority>3</priority>
        <properties>
            <property name="test2" type="String" description="test 2" value="foo"/>
            <property name="test3" type="String" description="test 3" value="bar"/>
            <property name="xpath" value="//dummyNode" />
        </properties>
        <example>
            <![CDATA[
 ]]>
        </example>
    </rule>


    <rule name="TestRuleRef" ref="net/sourceforge/pmd/lang/rule/TestRuleset2.xml/TestRule"/>

</ruleset>
