You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2008/04/17 09:11:32 UTC
DO NOT REPLY [Bug 44830] New: Add validation using Relax NG to ant
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.
DO NOT REPLY [Bug 44830] Add validation using Relax NG to ant
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44830
--- Comment #1 from Steve Loughran <st...@apache.org> 2008-04-17 04:15:58 PST ---
Jing has an ant task
http://www.thaiopensource.com/relaxng/jing-ant.html
while we subclassed xmlvalidate to give us xsdvalidate, that is really just
turning switches on in xerces, and making it easier to map XSD uris to schemas.
relaxng is not supported in xerces, so you need jing anyway.
Unless relaxng is going to go into xerces, you ought to stick with the jing
task.
Can I close this as worksforme?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 44830] Add validation using Relax NG to ant
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44830
Dave Pawson <da...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Dave Pawson <da...@gmail.com> 2008-04-17 04:26:18 PST ---
It was pointed out that this task is xerces based and as Jing is not
it is unlikely to be added. Perhaps the task name could be made
more appropriate?
More than happy to close the feature request though
since Jing is available as a java task.
regards DaveP
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.