SV: dom-to-dtd.xsl, wd-dom.patch and build.xml

Great, thanks
 
Could you put them in the domconftest CVS for issue tracking or do you
prefer to have them in xmlconf?
 
/Dimitris

-----Ursprungligt meddelande-----
Från: Curt Arnold [mailto:carnold@houston.rr.com]
Skickat: den 29 juni 2001 15:51
Till: www-dom-ts@w3.org
Kopia: www-dom-ts-submission@w3.org
Ämne: dom-to-dtd.xsl, wd-dom.patch and build.xml


I've added three files to the xmlconf CVS that I'm contributing to the DOM
TS effort:
 
dom-to-dtd.xsl - generates an DTD from a DOM spec
wd-dom.patch - adds the missing xmlns:xlink attribute to wd-dom.xml when
applied with CVS's patch utility.
build.xml - Ant build file
 
These can be downloaded from
 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xmlconf/www-dom-ts/build.xml
<http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xmlconf/www-dom-ts/build.xml
> 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xmlconf/www-dom-ts/dom-to-dtd
.xsl
<http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xmlconf/www-dom-ts/dom-to-dt
d.xsl> 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xmlconf/www-dom-ts/wd-dom.pat
ch
<http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xmlconf/www-dom-ts/wd-dom.pa
tch> 
 
Ant's <style> task had problems with external entities, however using an Ant
nightly build and the last Xalan release and the accompaning Xerces parser,
seemed to work.
 
To set up Ant:
 
Download a recent nightly binary and optional task jar of Ant 1.4 from
http://jakarta.apache.org/builds/jakarta-ant/nightly/2001-06-27/
<http://jakarta.apache.org/builds/jakarta-ant/nightly/2001-06-27/>   
 
Expand Ant and rename top level directory from jakarta-ant-1.4alpha to
ant1.4
 
Place *optional.jar in /ant1.4/lib directory and remove jaxp.jar and
crimson.jar
 
Download Xalan-J 2.1 from http://xml.apache.org/dist/xalan-j/
<http://xml.apache.org/dist/xalan-j/> 
 
Extract xalan.jar and xerces.jar and place in /ant1.4/lib
 
Add jdk1.x/bin, /ant1.4/bin and cvs or wincvs to path
 
Set ANT_HOME=x:/ant1.4
SET JAVA_HOME=x:/jdk1.x
 
Running Ant
 
c:/>ant dom1-init
 
Will download dom1.zip, extract xml sources and add missing xmlns:xlink
attribute.  Will be run automatically by any of the following tasks.
 
c:/>ant dom1-schema
c:/>ant dom1-dtd
 
Will generate dom1.xsd or dom1.dtd in ./build directory
 
c:/>ant dom1-interfaces
 
Will generate dom1-interfaces.xml in ./build directory
 
c:/>ant dom1-subjects
 
Will generate dom1-subjects.rdf in ./build directory
 

Received on Monday, 2 July 2001 05:42:11 UTC