See http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/3452/display/redirect?page... Changes: [s.bauman] Add odd4odds as 'tei_customization' This is the first crack at properly ------------------------------------------ [...truncated 23.22 KB...] compileodd: [echo] Do ODD processing using ../Utilities/lib/saxon9he.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_testplus.odd to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testplus.odd.pr... [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 testplus.rng using 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/testplus.odd.pr... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testplus.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 validaterng: [echo] Validate testplus.xml against RELAXNG testplus.rng cleanup: [delete] Deleting: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testplus.odd.pr... BUILD SUCCESSFUL Total time: 22 seconds java -jar ../Utilities/lib/trang.jar testplus.rng testplus.rnc xmllint --noent --dropdtd testplus.xml | rnv testplus.rnc rm xi_testplus.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 -Doutputname=testjustfs -Dtestfile=testjustfs.xml -DoddFile=testjustfs.odd validateodd compileodd rng validaterng isoschematron validateschematron cleanup Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/antruntest.xml validateodd: compileodd: [echo] Do ODD processing using ../Utilities/lib/saxon9he.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/testjustfs.odd to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testjustfs.odd.... [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 testjustfs.rng using 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/testjustfs.odd.... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testjustfs.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 validaterng: [echo] Validate testjustfs.xml against RELAXNG testjustfs.rng isoschematron: [echo] XSLT generate ISO schematron testjustfs.isosch from compiled ODD [xslt] Processing http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testjustfs.odd.... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testjustfs.isos... [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/testjustfs.isos... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testjustfs.xsl [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/testjustfs.xml to /dev/null [xslt] Loading stylesheet http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testjustfs.xsl cleanup: [delete] Deleting: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testjustfs.odd.... BUILD SUCCESSFUL Total time: 11 seconds java -jar ../Utilities/lib/trang.jar -o disable-abstract-elements testjustfs.rng testjustfs.xsd test -f xml.xsd && cp xml.xsd testjustfs_xml.xsd && perl -p -i -e "s+xml.xsd+testjustfs_xml.xsd+;s+ns1.xsd+testjustfs_ns1.xsd+;s+teix.xsd+testjustfs_teix.xsd+" testjustfs.xsd test -f teix.xsd && mv teix.xsd testjustfs_teix.xsd && perl -p -i -e "s+xml.xsd+testjustfs_xml.xsd+;s+ns1.xsd+testjustfs_ns1.xsd+" testjustfs_teix.xsd make[1]: [testjustfs.xsd] Error 1 (ignored) test -f dcr.xsd && mv dcr.xsd testjustfs_dcr.xsd && perl -p -i -e "s+xml.xsd+testjustfs_xml.xsd+;s+ns1.xsd+testjustfs_ns1.xsd+;s+teix.xsd+testjustfs_teix.xsd+" testjustfs_dcr.xsd && perl -p -i -e "s/dcr.xsd/testjustfs_dcr.xsd/" testjustfs.xsd test -f spec.xsd && mv spec.xsd testjustfs_spec.xsd && perl -p -i -e "s+xml.xsd+testjustfs_xml.xsd+;s+ns1.xsd+testjustfs_ns1.xsd+;s+teix.xsd+testjustfs_teix.xsd+" testjustfs_spec.xsd && perl -p -i -e "s/spec.xsd/testjustfs_spec.xsd/" testjustfs.xsd make[1]: [testjustfs.xsd] Error 1 (ignored) test -f ns1.xsd && mv ns1.xsd testjustfs_ns1.xsd && perl -p -i -e "s+xml.xsd+testjustfs_xml.xsd+" testjustfs_ns1.xsd && perl -p -i -e "s/ns1.xsd/testjustfs_ns1.xsd/" testjustfs.xsd make[1]: [testjustfs.xsd] Error 1 (ignored) Validate XSD using Jing ... java -jar ../Utilities/lib/jing.jar testjustfs.xsd testjustfs.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 -Doutputname=testp4compat -Dtestfile=testp4compat.xml -DoddFile=testp4compat.odd validateodd compileodd rng validaterng isoschematron validateschematron cleanup Buildfile: http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/antruntest.xml validateodd: compileodd: [echo] Do ODD processing using ../Utilities/lib/saxon9he.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/testp4compat.od... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testp4compat.od... [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 testp4compat.rng using 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/testp4compat.od... to http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testp4compat.rn... [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 testp4compat.xml against RELAXNG testp4compat.rng 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: 16 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: compileodd: [echo] Do ODD processing using ../Utilities/lib/saxon9he.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 using 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/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: 16 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 TEISITE=`curl -s --head http://www.tei-c.org/Vault/P5/1.5.0/xml/tei/odd/p5subset.xml` 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 991+370=1361 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/saxon9he.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 using 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.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: 21 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 0a1,42
[xslt] to /dev/null [xslt] [xslt] [xslt] Error: both the versionDate and xml:lang attributes on "remarks" are required when it is a child of "elementSpec". [xslt] (not( @xml:lang and @versionDate )) [xslt] [xslt] Error: both the versionDate and xml:lang attributes on "desc" are required when it is a child of "elementSpec". [xslt] (not( @xml:lang and @versionDate )) [xslt] [xslt] Error: both the versionDate and xml:lang attributes on "gloss" are required when it is a child of "elementSpec". [xslt] (not( @xml:lang and @versionDate )) [xslt] [xslt] Error: both the versionDate and xml:lang attributes on "desc" are required when it is a child of "attDef". [xslt] (not( @xml:lang and @versionDate )) [xslt] [xslt] Error: both the versionDate and xml:lang attributes on "gloss" are required when it is a child of "attDef". [xslt] (not( @xml:lang and @versionDate )) [xslt] [xslt] Error: both the versionDate and xml:lang attributes on "remarks" are required when it is a child of "elementSpec". [xslt] (not( @xml:lang and @versionDate )) [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] It does not make sense to make "ONE" the default value of @default-is-in-list-req, because that attribute is required. (tei:defaultVal) [xslt] It does not make sense to make "ONE" the default value of @default-NOT-in-list-req, because that attribute is required. (tei:defaultVal) [xslt] In the elementSpec defining [xslt] blort2 the default value of the [xslt] @default-NOT-in-list-opt attribute is not among the closed list of possible [xslt] values (string(tei:defaultVal) = tei:valList/tei:valItem/@ident) [xslt] In the elementSpec defining [xslt] blort2 the default value of the [xslt] @default-NOT-in-list-rec attribute is not among the closed list of possible [xslt] values (string(tei:defaultVal) = tei:valList/tei:valItem/@ident) [xslt] In the elementSpec defining [xslt] blort2 the default value of the [xslt] @default-NOT-in-list-req attribute is not among the closed list of possible [xslt] values (string(tei:defaultVal) = tei:valList/tei:valItem/@ident)
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 Not sending mail to unregistered user s.bauman@neu.edu