[tei-council] change breaks DTD generation
Sebastian Rahtz
sebastian.rahtz at it.ox.ac.uk
Mon Mar 25 09:01:52 EDT 2013
I see a clean run from bare, sorry, see below. does your log differ in any way?
ANT_OPTS="-Xss2m -Xmx752m" ant -lib /usr/share/java/jing.jar:/usr/share/saxon/saxon9he.jar -Dtrang=/usr/share/trang/trang.jar -Dprofile=tei -DdefaultSource=`(cd ..; pwd)`/p5subset.xml -DXSL=/usr/share/xml/tei/stylesheet -Dbasedir=`pwd` -f ../Test/antruntest.xml -Doutputname=tei_bare -Dtestfile=tei_bare.tei -DoddFile=tei_bare.odd validateodd compileodd rng dtd isoschematron validateschematron cleanup
Buildfile: /Volumes/Repo/TEI/Sourceforge/tei-code/P5/Test/antruntest.xml
validateodd:
[echo] Validate tei_bare.odd as ODD
compileodd:
[echo] Do ODD processing using /usr/share/saxon/saxon9he.jar and source /Users/rahtz/TEI/Sourceforge/trunk/P5/p5subset.xml
[xslt] Processing /Users/rahtz/TEI/Sourceforge/trunk/P5/Exemplars/tei_bare.odd to /Users/rahtz/TEI/Sourceforge/trunk/P5/Exemplars/tei_bare.odd.compiled
[xslt] Loading stylesheet /usr/share/xml/tei/stylesheet/odds2/odd2odd.xsl
Warning: XML resolver not found; external catalogs will be ignored
rng:
[echo] XSLT generate RELAXNG tei_bare.rng
[xslt] Processing /Users/rahtz/TEI/Sourceforge/trunk/P5/Exemplars/tei_bare.odd.compiled to /Users/rahtz/TEI/Sourceforge/trunk/P5/Exemplars/tei_bare.rng
[xslt] Loading stylesheet /usr/share/xml/tei/stylesheet/profiles/tei/relaxng/to.xsl
Warning: XML resolver not found; external catalogs will be ignored
dtd:
[echo] XSLT generate DTD tei_bare.dtd
[xslt] Processing /Users/rahtz/TEI/Sourceforge/trunk/P5/Exemplars/tei_bare.odd.compiled to /Users/rahtz/TEI/Sourceforge/trunk/P5/Exemplars/tei_bare.dtd
[xslt] Loading stylesheet /usr/share/xml/tei/stylesheet/profiles/tei/dtd/to.xsl
Warning: XML resolver not found; external catalogs will be ignored
isoschematron:
[echo] XSLT generate ISO schematron tei_bare.isosch from compiled ODD
[xslt] Processing /Users/rahtz/TEI/Sourceforge/trunk/P5/Exemplars/tei_bare.odd.compiled to /Users/rahtz/TEI/Sourceforge/trunk/P5/Exemplars/tei_bare.isosch
[xslt] Loading stylesheet /usr/share/xml/tei/stylesheet/odds2/extract-isosch.xsl
[xslt] Processing /Users/rahtz/TEI/Sourceforge/trunk/P5/Exemplars/tei_bare.isosch to /Users/rahtz/TEI/Sourceforge/trunk/P5/Exemplars/tei_bare.xsl
[xslt] Loading stylesheet /Users/rahtz/TEI/Sourceforge/trunk/P5/Utilities/iso_schematron_message_xslt2.xsl
validateschematron:
[echo] Validate using Schematron
[xslt] Processing /Users/rahtz/TEI/Sourceforge/trunk/P5/Exemplars/tei_bare.tei to /Users/rahtz/TEI/Sourceforge/trunk/P5/Exemplars/stdout
[xslt] Loading stylesheet /Users/rahtz/TEI/Sourceforge/trunk/P5/Exemplars/tei_bare.xsl
cleanup:
[delete] Deleting: /Users/rahtz/TEI/Sourceforge/trunk/P5/Exemplars/tei_bare.odd.compiled
BUILD SUCCESSFUL
Total time: 5 seconds
trang -o disable-abstract-elements tei_bare.rng tei_bare.xsd
trang tei_bare.rng tei_bare.rnc
Validate XSD using Jing ...
perl -p -i -e 's+http://www.w3.org/2004/10/xml.xsd+xml.xsd+' tei_bare.xsd
test -f teix.xsd && perl -p -i -e 's+<.*\"xml.xsd\".*++' teix.xsd
make[1]: [tei_bare.dtd] Error 1 (ignored)
test -f spec.xsd && perl -p -i -e 's+<.*\"xml.xsd\".*++' spec.xsd
make[1]: [tei_bare.dtd] Error 1 (ignored)
test -f teix.xsd && mv teix.xsd tei_bare.teix.xsd
make[1]: [tei_bare.dtd] Error 1 (ignored)
test -f tei_bare.teix.xsd && perl -p -i -e "s/teix.xsd/tei_bare.teix.xsd/" tei_bare.xsd
make[1]: [tei_bare.dtd] Error 1 (ignored)
jing tei_bare.xsd tei_bare.tei
Validate using xmllint for DTD
xmllint --noout --dtdvalid tei_bare.dtd tei_bare.tei
--
Sebastian Rahtz
Director (Research) of Academic IT
University of Oxford IT Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
More information about the tei-council
mailing list