http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/3041/Changes:
[s.bauman] Update to test move of 'isoschematron' to 'schematron' (started back in
[s.bauman] Changes to <constraintSpec> worked on in Vienna and trip home
[s.bauman] Change refs to datatypes to Pure ODD
[s.bauman] Minor fixes to detest.odd to better document the tests for removing
[s.bauman] Add warning for Schematron 1.* inside 'isoschematron' <constraintSpec>.
------------------------------------------
[...truncated 61.44 KB...]
isoschematron:
[echo] XSLT generate ISO schematron testp4compat.isosch from compiled ODD
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testp4compat.od... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testp4compat.is...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/odds/extract-isosch.xsl
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testp4compat.is... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testp4compat.xs...
[xslt] Loading stylesheet http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Utilities/iso_schema...
validateschematron:
[echo] Validate using Schematron
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testp4compat.xm... to /dev/null
[xslt] Loading stylesheet http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testp4compat.xs...
cleanup:
[delete] Deleting: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testp4compat.od...
BUILD SUCCESSFUL
Total time: 15 seconds
java -jar ../Utilities/lib/trang.jar -o disable-abstract-elements testp4compat.rng testp4compat.xsd
test -f xml.xsd && cp xml.xsd testp4compat_xml.xsd && perl -p -i -e "s+xml.xsd+testp4compat_xml.xsd+;s+ns1.xsd+testp4compat_ns1.xsd+;s+teix.xsd+testp4compat_teix.xsd+" testp4compat.xsd
test -f teix.xsd && mv teix.xsd testp4compat_teix.xsd && perl -p -i -e "s+xml.xsd+testp4compat_xml.xsd+;s+ns1.xsd+testp4compat_ns1.xsd+" testp4compat_teix.xsd
make[1]: [testp4compat.xsd] Error 1 (ignored)
test -f dcr.xsd && mv dcr.xsd testp4compat_dcr.xsd && perl -p -i -e "s+xml.xsd+testp4compat_xml.xsd+;s+ns1.xsd+testp4compat_ns1.xsd+;s+teix.xsd+testp4compat_teix.xsd+" testp4compat_dcr.xsd && perl -p -i -e "s/dcr.xsd/testp4compat_dcr.xsd/" testp4compat.xsd
make[1]: [testp4compat.xsd] Error 1 (ignored)
test -f spec.xsd && mv spec.xsd testp4compat_spec.xsd && perl -p -i -e "s+xml.xsd+testp4compat_xml.xsd+;s+ns1.xsd+testp4compat_ns1.xsd+;s+teix.xsd+testp4compat_teix.xsd+" testp4compat_spec.xsd && perl -p -i -e "s/spec.xsd/testp4compat_spec.xsd/" testp4compat.xsd
make[1]: [testp4compat.xsd] Error 1 (ignored)
test -f ns1.xsd && mv ns1.xsd testp4compat_ns1.xsd && perl -p -i -e "s+xml.xsd+testp4compat_xml.xsd+" testp4compat_ns1.xsd && perl -p -i -e "s/ns1.xsd/testp4compat_ns1.xsd/" testp4compat.xsd
make[1]: [testp4compat.xsd] Error 1 (ignored)
Validate XSD using Jing ...
java -jar ../Utilities/lib/jing.jar testp4compat.xsd testp4compat.xml
BUILD: Test schema from (special) testplace-kml.odd
xmllint --xinclude testplace-kml.odd > xi_testplace-kml.odd
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -lib ../Utilities/lib/saxon9he.jar:../Utilities/lib/jing.jar -Dtrang=../Utilities/lib/trang.jar -DdefaultSource=`pwd`/../p5subset.xml -DXSL=http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/../../../Stylesheets... -f antruntest.xml -Dtestfile=testplace-kml.xml -DoddFile=xi_testplace-kml.odd -Doutputname=testplace-kml validateodd compileodd rng validaterng cleanup
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/antruntest.xml
validateodd:
[echo] Validate xi_testplace-kml.odd as ODD
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/xi_testplace-km... to /dev/null
[xslt] Loading stylesheet http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/p5odds.message.isosc...
compileodd:
[echo] Do ODD processing using ../Utilities/lib/Saxon-HE-9.4.0.6.jar and source http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/../p5subset.xml
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/xi_testplace-km... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testplace-kml.o...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/odds/odd2odd.xsl
Warning: XML resolver not found; external catalogs will be ignored
rng:
[echo] XSLT generate RELAXNG testplace-kml.rng
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testplace-kml.o... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testplace-kml.r...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles/default/relaxng/to.xsl
Warning: XML resolver not found; external catalogs will be ignored
validaterng:
[echo] Validate testplace-kml.xml against RELAXNG testplace-kml.rng
cleanup:
[delete] Deleting: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testplace-kml.o...
BUILD SUCCESSFUL
Total time: 14 seconds
java -jar ../Utilities/lib/trang.jar testplace-kml.rng testplace-kml.rnc
xmllint --noent --dropdtd testplace-kml.xml | rnv testplace-kml.rnc
rm xi_testplace-kml.odd
echo check that TEI web site is up and responding
check that TEI web site is up and responding
curl -s --head http://www.tei-c.org/Vault/P5/1.5.0/xml/tei/odd/p5subset.xml
HTTP/1.1 200 OK
Date: Sun, 13 Nov 2016 21:59:30 GMT
Server: Apache
Last-Modified: Mon, 09 Nov 2009 09:06:14 GMT
ETag: "15a2e26-2f5089-477ec81696d80"
Accept-Ranges: bytes
Content-Length: 3100809
X-Powered-By: PleskLin
Content-Type: text/xml
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -lib ../Utilities/lib/saxon9he.jar:../Utilities/lib/jing.jar -Dtrang=../Utilities/lib/trang.jar -DdefaultSource=`pwd`/../p5subset.xml -DXSL=http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/../../../Stylesheets... -f antruntest.xml -DoddFile=testmeta2010.odd -Dtestfile=testmeta2010.xml validateodd
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/antruntest.xml
validateodd:
[echo] Validate testmeta2010.odd as ODD
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010.od... to /dev/null
[xslt] Loading stylesheet http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/p5odds.message.isosc...
BUILD SUCCESSFUL
Total time: 3 seconds
for j in `grep "http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/../../../Stylesheets... -f antruntest.xml -DoddFile=testmeta2010.odd -Dtestfile=testmeta2010.xml -Doutputname=$j -DautoGlobal=true -Dschema=$j compileodd rng validaterng cleanup; \
done
found schemaSpec testmeta2010_old1 in testmeta2010
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/antruntest.xml
compileodd:
[echo] Do ODD processing using ../Utilities/lib/Saxon-HE-9.4.0.6.jar and source http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/../p5subset.xml
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010.od... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/odds/odd2odd.xsl
Warning: XML resolver not found; external catalogs will be ignored
rng:
[echo] XSLT generate RELAXNG testmeta2010_old1.rng
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles/default/relaxng/to.xsl
Warning: XML resolver not found; external catalogs will be ignored
validaterng:
[echo] Validate testmeta2010.xml against RELAXNG testmeta2010_old1.rng
cleanup:
[delete] Deleting: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol...
BUILD SUCCESSFUL
Total time: 12 seconds
found schemaSpec testmeta2010_old2 in testmeta2010
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/antruntest.xml
compileodd:
[echo] Do ODD processing using ../Utilities/lib/Saxon-HE-9.4.0.6.jar and source http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/../p5subset.xml
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010.od... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/odds/odd2odd.xsl
Warning: XML resolver not found; external catalogs will be ignored
rng:
[echo] XSLT generate RELAXNG testmeta2010_old2.rng
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles/default/relaxng/to.xsl
Warning: XML resolver not found; external catalogs will be ignored
validaterng:
[echo] Validate testmeta2010.xml against RELAXNG testmeta2010_old2.rng
cleanup:
[delete] Deleting: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol...
BUILD SUCCESSFUL
Total time: 12 seconds
found schemaSpec testmeta2010_old3 in testmeta2010
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/antruntest.xml
compileodd:
[echo] Do ODD processing using ../Utilities/lib/Saxon-HE-9.4.0.6.jar and source http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/../p5subset.xml
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010.od... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/odds/odd2odd.xsl
Warning: XML resolver not found; external catalogs will be ignored
rng:
[echo] XSLT generate RELAXNG testmeta2010_old3.rng
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles/default/relaxng/to.xsl
Warning: XML resolver not found; external catalogs will be ignored
validaterng:
[echo] Validate testmeta2010.xml against RELAXNG testmeta2010_old3.rng
cleanup:
[delete] Deleting: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ol...
BUILD SUCCESSFUL
Total time: 13 seconds
for j in `grep "http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/../../../Stylesheets... -f antruntest.xml -DoddFile=testmeta2010.odd -Dtestfile=testmeta2010.xml -Doutputname=$j -Dschema=$j compileodd rng validaterng cleanup; \
done
found schemaSpec testmeta2010_new3 in testmeta2010
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/antruntest.xml
compileodd:
[echo] Do ODD processing using ../Utilities/lib/Saxon-HE-9.4.0.6.jar and source http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/../p5subset.xml
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010.od... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ne...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/odds/odd2odd.xsl
Warning: XML resolver not found; external catalogs will be ignored
rng:
[echo] XSLT generate RELAXNG testmeta2010_new3.rng
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ne... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ne...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles/default/relaxng/to.xsl
Warning: XML resolver not found; external catalogs will be ignored
validaterng:
[echo] Validate testmeta2010.xml against RELAXNG testmeta2010_new3.rng
cleanup:
[delete] Deleting: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testmeta2010_ne...
BUILD SUCCESSFUL
Total time: 11 seconds
BUILD: Testing files which demonstrate user extensions
xmllint --noout --valid extns.xml
xmllint --noout --valid extns2.xml
BUILD: Testing files which exercise inclusion of fragments
java -jar ../Utilities/lib/jing.jar -t -c frag.rnc testfrag.xml
Elapsed time 1236+156=1392 milliseconds
rnv frag.rnc testfrag.xml
testfrag.xml
BUILD: Test file with deliberate mistakes
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -lib ../Utilities/lib/saxon9he.jar:../Utilities/lib/jing.jar -Dtrang=../Utilities/lib/trang.jar -DdefaultSource=`pwd`/../p5subset.xml -DXSL=http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/../../../Stylesheets... -f antruntest.xml -Doutputname=detest -DoddFile=detest.odd compileodd rng isoschematron cleanup
Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/antruntest.xml
compileodd:
[echo] Do ODD processing using ../Utilities/lib/Saxon-HE-9.4.0.6.jar and source http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/../p5subset.xml
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/detest.odd to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/detest.odd.proc...
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/odds/odd2odd.xsl
Warning: XML resolver not found; external catalogs will be ignored
rng:
[echo] XSLT generate RELAXNG detest.rng
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/detest.odd.proc... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/detest.rng
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles/default/relaxng/to.xsl
Warning: XML resolver not found; external catalogs will be ignored
isoschematron:
[echo] XSLT generate ISO schematron detest.isosch from compiled ODD
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/detest.odd.proc... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/detest.isosch
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/odds/extract-isosch.xsl
[xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/detest.isosch to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/detest.xsl
[xslt] Loading stylesheet http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Utilities/iso_schema...
cleanup:
[delete] Deleting: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/detest.odd.proc...
BUILD SUCCESSFUL
Total time: 16 seconds
java -jar ../Utilities/lib/trang.jar detest.rng detest.rnc
Validate ODD file using Schematron
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -lib ../Utilities/lib/saxon9he.jar:../Utilities/lib/jing.jar -Dtrang=../Utilities/lib/trang.jar -DdefaultSource=`pwd`/../p5subset.xml -DXSL=http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/../../../Stylesheets... -f antruntest.xml -Doutputname=detest -DoddFile=detest.odd validateodd > detest1.log 2>&1
Validate ODD file using RELAX NG schema
rnv detest.rnc detest.xml > detest2.log 2>&1
make[1]: [detest] Error 1 (ignored)
Validate XML file using Schematron
java -Xmx752m -jar ../Utilities/lib/saxon9he.jar -ext:on detest.xml detest.xsl > detest3.log 2>&1
grep "\[xslt\]" detest1.log | sed 's/Processing.*detest.odd//' | sed 's/Loading.*message.isosch.xsl//' > detest.log
sed 's/.*detest.xml:/detest.xml:/' detest2.log >> detest.log
sed 's/.*detest.xml:/detest.xml:/' detest3.log >> detest.log
diff detest.log expected-results/detest.log
21,28c21
< [xslt] Rules
< [xslt] in the Schematron 1.* language must be inside a constraintSpec
< [xslt] with a value other than 'schematron' or 'isoschematron' on the
< [xslt] scheme attribute (tei:constraint/s:* and @scheme = ('isoschematron','schematron'))
< [xslt] Rules
< [xslt] in the Schematron 1.* language must be inside a constraintSpec
< [xslt] with a value other than 'schematron' or 'isoschematron' on the
< [xslt] scheme attribute (tei:constraint/s:* and @scheme = ('isoschematron','schematron'))
---
[xslt] Rules in the Schematron 1.* language must be inside a constraintSpec with a value other than 'schematron' on the scheme attribute (tei:constraint/s:* and @scheme eq 'schematron')
make[1]: *** [detest] Error 1
make[1]: Leaving directory `http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test'
make: *** [test] Error 2
Build step 'Execute shell' marked build as failure