https://issues.apache.org/bugzilla/show_bug.cgi?id=44830
Summary: Add validation using Relax NG to ant
Product: Ant
Version: 1.7.0RC1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Optional Tasks
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Relax NG is an ISO schema language. http://relaxng.org/
Validation is currently possible using Jing from James Clark.
Could this be added to the xmlvalidate task please?
TIA, DaveP
<path id="jing.classpath">
<pathelement path="/myjava/jing.jar"/>
<pathelement path="/myjava/xercesImpl.jar"/>
<pathelement path="/myjava/xml-apis.jar"/>
</path>
<java classname="com.thaiopensource.relaxng.util.Driver"
fork="yes"
dir="${in.dir}"
failonerror="false">
<classpath refid="jing.classpath"/>
<jvmarg
line="-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration"/>
<arg value="poem.rng"/>
<arg value="tmp.xml"/>
</java>
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.