Index: Verifier.java =================================================================== RCS file: /home/cvspublic/jdom/src/java/org/jdom/Verifier.java,v retrieving revision 1.34 diff -r1.34 Verifier.java 76a77,86 > private static boolean shouldVerify; > > static { > java.util.ResourceBundle props = java.util.ResourceBundle.getBundle("org.jdom.Verifier"); > String setting = props.getString("ShouldVerify"); > if (setting.equals("false")) > shouldVerify = false; > else > shouldVerify = true; > } 96a107,108 > if (! shouldVerify && name != null) return null; > 121a134,136 > > if (! shouldVerify && name != null) return null; > 170a186,188 > > if (text != null && !shouldVerify) return null; > 198c216 < * null is name is OK. --- > * null if data is OK. 201a220,222 > > if (data != null && !shouldVerify) return reason; > 225a247,249 > > if (! shouldVerify) return null; > 282a307,309 > > if (! shouldVerify) return null; > 317a345 > 348a377 > 370a400 > 460a491,493 > > if (target != null && !shouldVerify) return null; > 496a530,532 > > if (data != null && !shouldVerify) return null; > 544a581,582 > if (! shouldVerify) return reason; > 571a610 > if (! shouldVerify) return reason; 598a638,639 > > 604a646 > if (! shouldVerify) return null; 637c679 < --- >