ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44830] New: Add validation using Relax NG to ant
Date Thu, 17 Apr 2008 07:11:32 GMT
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: notifications@ant.apache.org
        ReportedBy: dave.pawson@gmail.com


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.

Mime
View raw message