XPathRule version default should be 1.0, not 2.0.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6493 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Ryan Gustafson
2008-09-18 07:20:20 +00:00
parent 2990661b5f
commit b63f8a55e5

View File

@ -27,7 +27,7 @@ public class XPathRule extends AbstractRule {
public static final StringProperty XPATH_DESCRIPTOR = new StringProperty("xpath", "XPATH value", "", 1.0f);
public static final EnumeratedProperty<String> VERSION_DESCRIPTOR = new EnumeratedProperty<String>("version",
"The XPath specification version.", new String[] { XPATH_1_0, XPATH_1_0_COMPATIBILITY, XPATH_2_0 },
new String[] { "XPath 1.0", "XPath 2.0 in XPath 1.0 compatability mode", "XPath 2.0" }, 2, 2.0f);
new String[] { "XPath 1.0", "XPath 2.0 in XPath 1.0 compatability mode", "XPath 2.0" }, 0, 2.0f);
private XPathRuleQuery xpathRuleQuery;