DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23395>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23395 Adding property element to xmlvalidate Summary: Adding property element to xmlvalidate Product: Ant Version: 1.7Alpha (nightly) Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I needed a way to set properties on the XMLReader used for validation, by calling the method XMLReader.setProperty(String, Object). My need for this was to specify an external schema to validate an XML file with. Setting attributes can't get the job done since it only accepts booleans. It's a fairly simple patch. It includes a few new methods and an inner classes in XmlValidateTask which mimic the logic for setAttribute. I also added some test cases, and 2 test xml files, one which passes the schema and one which doesn't. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]