See <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/3497/display/redirect?pag…>
Changes:
[philomousos] Resolution for #1512
------------------------------------------
[...truncated 654 B...]
Seen branch in repository origin/att.global.source
Seen branch in repository origin/bansp-patch-1
Seen branch in repository origin/dataParam
Seen branch in repository origin/dev
Seen branch in repository origin/gh-pages
Seen branch in repository origin/hcayless-appcrit
Seen branch in repository origin/hcayless-newJenkins
Seen branch in repository origin/hcayless_anyElement
Seen branch in repository origin/hcayless_behaviourSpec
Seen branch in repository origin/help
Seen branch in repository origin/lb42-procmod
Seen branch in repository origin/master
Seen branch in repository origin/mdh_path_1453
Seen branch in repository origin/msFrag
Seen branch in repository origin/peterstadler-antify
Seen branch in repository origin/release-3.0.0
Seen branch in repository origin/release-3.1.0
Seen branch in repository origin/release-3.2.0
Seen branch in repository origin/sf/tei
Seen branch in repository origin/sf/trunk
Seen branch in repository origin/sf/vendor
Seen branch in repository origin/sydb-datAttSem
Seen branch in repository origin/sydb-modelAttrChecks
Seen branch in repository origin/sydb-noSchematron1.x
Seen branch in repository origin/sydb-xenodata
Seen branch in repository origin/tei-simple
Seen 31 remote branches
> git show-ref --tags -d # timeout=10
Checking out Revision 513c6db7fee679db1507c2957369ed354eda4b0a (origin/dev)
> git config core.sparsecheckout # timeout=10
> git checkout -f 513c6db7fee679db1507c2957369ed354eda4b0a
Commit message: "Resolution for #1512"
> git rev-list --no-walk 6668d67a169f9b181993e00db5faecec7deb21e7 # timeout=10
[workspace] $ /bin/bash -xe /tmp/jenkins3339683606505086478.sh
+ cd P5
++ pwd
+ make VCS=git INJENKINS=true XSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/../../../Stylesheet…> clean validate test
(cd Exemplars; make clean)
make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Exemplars'>
mv tei_lite_fr.nvdl tei_lite_fr.nvdl.bak
rm -f *.processed *.xsd *.dtd *.doc.* *.rnc tei*.xsl tei*.rng *.compiled* *~ *.xi *.isosch *.epub *.pdf *.html *.nvdl *-teix*
mv tei_lite_fr.nvdl.bak tei_lite_fr.nvdl
rm -f exnames.xml
rm -f enrich.rng isofs.rng
rm -f names.xml *properties
rm -f [A-Z]*xml
make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Exemplars'>
(cd Test; make clean)
make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test'>
rm -f test*.doc.xml test*.rnc test*.dtd test*.compiled.* test*.xsd test*.rnc test*.rng test*.xsl test*.isosch
rm -rf LOG *~ *.xsd Schema RomaResults DTD
rm -rf *.doc.*
rm -f detest.log detest.log.all
rm -f *-examples.rng *-examples.rnc *test*.nvdl *-ex.odd
rm -f detest.rnc detest.rng detest.dtd detest.isosch
make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test'>
rm -rf release Guidelines Guidelines-web Schema DTD dtd Split
rm -rf Guidelines.??? Guidelines-*
rm -f *.isosch.xsl
rm -f *.stamp
rm -f *.xsd
rm -f Exemplars/stdout
rm -f Test/*.isosch
rm -f Test/detest.dtd Test/detest.rnc Test/detest.rng Test/detest.xsl
rm -f Test/stdout
rm -f Utilities/guidelines.xsl
rm -f anything buildweb.xml
rm -f p5.sch p5.isosch p5.xml p5subset.xml p5subset.json p5subset.js
rm -f p5attlist.txt
rm -f p5odds-examples.rng p5odds-examples.rnc p5odds.rng p5odds.rnc p5odds.isosch
rm -f pdfbuild.log
rm -f stripspace.xsl.model
rm -f tei-*.zip
rm -f tei-p5-*_*build
rm -f tei-p5-*_*changes
rm -f tei-p5-*_*deb
rm -f teiwebsiteguidelines.zip
rm -rf FASC-*
rm -rf catalogue.* modList
rm -rf valid v.xml ValidatorLog.xml Utilities/pointerattributes.xsl graphics.sh missfont.log v.body v.header Schematron1.xml Schematron2.xml
Checking you have running XML tools and Perl before trying to run transform...
Ant:/usr/bin/ant
Perl:/usr/bin/perl
Java:/usr/bin/java
xmllint:/usr/bin/xmllint
touch check.stamp
get latest date:
VCS is git
if [ "git" = "svn" ] ; \
then \
if [ true = "true" ] ; \
then svn info --xml svn://svn.code.sf.net/p/tei/code/trunk/P5 ; \
else svn info --xml ; \
fi > repodate.xml ; \
fi
if [ git = "git" ] ; \
then \
git log --max-count=1 --pretty=format:"<info type=\"git\"><entry><commit revision=\"%h\"><date>%ai</date></commit></entry></info>" > repodate.xml ; \
fi
BUILD: Generate modular DTDs, Schemas, Schematron and miscellaneous outputs
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/../../../Stylesheet…> -DDRIVER=Source/guidelines-en.xml base subset outputs
[echo] make modular DTDs, RELAXNG schemas, json, odd schemas, schematron files
[echo] Using <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/../../../Stylesheet…> for XSL stylesheets
[echo] Do ODD processing for p5odds.odd
[echo] Do ODD processing for p5odds-examples.odd
BUILD SUCCESSFUL
Total time: 56 seconds
BUILD: Generate modular RELAX NG (compact) schemas using trang
(cd Schema; for i in *rng; do java -jar ../Utilities/lib/trang.jar $i `basename $i .rng`.rnc;done)
touch schemas.stamp
BUILD: Check validity with rnv (https://github.com/dtolpin/RNV) if we have it
command -v rnv && rnv -v p5odds.rnc p5.xml
/usr/local/bin/rnv
rnv version 1.7.10
p5.xml
BUILD: Check validity with special-purpose XSL code, looking for bad links etc
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/../../../Stylesheet…> validators
[echo] Run Schematron script (normal part of Guidelines)
[echo] Run Schematron script (Examples in Guidelines marked as valid)
[echo] Run ad hoc XSLT validators
* Error: elementSpec for w has no proper example
BUILD SUCCESSFUL
Total time: 26 seconds
<Messages>
<WARNING>Schematron warning: WARNING: deprecated use of element — The catchwords element will not be allowed outside of msDesc as of 2018-10-01. [Test: ancestor::tei:msDesc] Location: /TEI[1]/text[1]/body[1]/div[10]/div[3]/div[7]/p[1]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/catchwords[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
<WARNING>Schematron warning: WARNING: deprecated use of element — The catchwords element will not be allowed outside of msDesc as of 2018-10-01. [Test: ancestor::tei:msDesc] Location: /TEI[1]/text[1]/body[1]/div[10]/div[3]/div[7]/p[1]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][2]/catchwords[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
<WARNING>Schematron warning: WARNING: deprecated use of element — The catchwords element will not be allowed outside of msDesc as of 2018-10-01. [Test: ancestor::tei:msDesc] Location: /TEI[1]/text[1]/body[1]/div[10]/div[3]/div[8]/specGrp[1]/elementSpec[1]/exemplum[1]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/catchwords[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
<WARNING>Schematron warning: WARNING: deprecated use of element — The catchwords element will not be allowed outside of msDesc as of 2018-10-01. [Test: ancestor::tei:msDesc] Location: /TEI[1]/text[1]/body[1]/div[10]/div[7]/div[3]/div[3]/specGrp[1]/elementSpec[5]/exemplum[3]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/collation[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/p[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/catchwords[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
<WARNING>Schematron warning: WARNING: deprecated use of element — The catchwords element will not be allowed outside of msDesc as of 2018-10-01. [Test: ancestor::tei:msDesc] Location: /TEI[1]/text[1]/body[1]/div[10]/div[7]/div[3]/div[3]/specGrp[1]/elementSpec[5]/exemplum[6]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/collation[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/p[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/catchwords[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
<WARNING>Schematron warning: WARNING: deprecated use of element — The secFol element will not be allowed outside of msDesc as of 2018-10-01. [Test: ancestor::tei:msDesc] Location: /TEI[1]/text[1]/body[1]/div[10]/div[3]/div[7]/p[4]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/secFol[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
<WARNING>Schematron warning: WARNING: deprecated use of element — The secFol element will not be allowed outside of msDesc as of 2018-10-01. [Test: ancestor::tei:msDesc] Location: /TEI[1]/text[1]/body[1]/div[10]/div[3]/div[8]/specGrp[1]/elementSpec[14]/exemplum[1]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/secFol[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
<WARNING>Schematron warning: WARNING: deprecated use of element — The secFol element will not be allowed outside of msDesc as of 2018-10-01. [Test: ancestor::tei:msDesc] Location: /TEI[1]/text[1]/body[1]/div[10]/div[3]/div[8]/specGrp[1]/elementSpec[14]/exemplum[2]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/secFol[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
<WARNING>Schematron warning: WARNING: deprecated use of element — The secFol element will not be allowed outside of msDesc as of 2018-10-01. [Test: ancestor::tei:msDesc] Location: /TEI[1]/text[1]/body[1]/div[10]/div[3]/div[8]/specGrp[1]/elementSpec[14]/exemplum[3]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/secFol[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
<WARNING>Schematron warning: WARNING: deprecated use of element — The signatures element will not be allowed outside of msDesc as of 2018-10-01. [Test: ancestor::tei:msDesc] Location: /TEI[1]/text[1]/body[1]/div[10]/div[3]/div[7]/p[2]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/signatures[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
<WARNING>Schematron warning: WARNING: deprecated use of element — The signatures element will not be allowed outside of msDesc as of 2018-10-01. [Test: ancestor::tei:msDesc] Location: /TEI[1]/text[1]/body[1]/div[10]/div[3]/div[7]/p[3]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/signatures[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
<WARNING>Schematron warning: WARNING: deprecated use of element — The signatures element will not be allowed outside of msDesc as of 2018-10-01. [Test: ancestor::tei:msDesc] Location: /TEI[1]/text[1]/body[1]/div[10]/div[3]/div[8]/specGrp[1]/elementSpec[15]/exemplum[1]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/signatures[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
<WARNING>Schematron warning: WARNING: deprecated use of element — The signatures element will not be allowed outside of msDesc as of 2018-10-01. [Test: ancestor::tei:msDesc] Location: /TEI[1]/text[1]/body[1]/div[10]/div[3]/div[8]/specGrp[1]/elementSpec[15]/exemplum[2]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/signatures[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
<WARNING>Schematron warning: WARNING: deprecated use of element — The signatures element will not be allowed outside of msDesc as of 2018-10-01. [Test: ancestor::tei:msDesc] Location: /TEI[1]/text[1]/body[1]/div[10]/div[3]/div[8]/specGrp[1]/elementSpec[15]/exemplum[3]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/signatures[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
</Messages>
(grep -q "<ERROR>" ValidatorLog.xml;if [ $? -ne 1 ] ; then echo "Oh dear me. ERROR found";diff ValidatorLog.xml expected-results/ValidatorLog.xml;false; fi)
sh graphics.sh
BUILD: Check validity with nvdl, first examples with feasible validity, and then the valid ones
./run-onvdl p5.nvdl p5.xml
/usr/bin/onvdl
./run-onvdl p5valid.nvdl v.xml
/usr/bin/onvdl
BUILD Run test cases for P5
(cd Test; make XSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/../../../Stylesheet…> VCS=git)
make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test'>
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/../../../Stylesheet…> -f antruntest.xml -Doutputname=testbare -Dtestfile=testbare.xml -DoddFile=testbare.odd validateodd compileodd dtd rng validaterng cleanup
Buildfile: <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/antruntest.xml>
validateodd:
[echo] Validate testbare.odd as ODD
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbare.odd> to /dev/null
[xslt] Loading stylesheet <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/p5odds.message.isos…>
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/testbare.odd> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbare.odd.p…>
[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
dtd:
[echo] XSLT generate DTD testbare.dtd using <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/../p5subset.xml> (first pass)
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbare.odd> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbare.odd.p…>
[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
[echo] XSLT generate DTD testbare.dtd using <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/../p5subset.xml> (second pass)
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbare.odd.p…> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbare.dtd>
[xslt] Loading stylesheet /var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/profiles/default/dtd/to.xsl
Warning: XML resolver not found; external catalogs will be ignored
rng:
[echo] XSLT generate RELAXNG testbare.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/testbare.odd.p…> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbare.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 testbare.xml against RELAXNG testbare.rng
[echo] DEBUG: ... checkid= true (false)
cleanup:
[delete] Deleting: <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbare.odd.p…>
BUILD SUCCESSFUL
Total time: 11 seconds
Check file using DOCTYPE in instance
xmllint --noout --valid testbare.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/../../../Stylesheet…> -f antruntest.xml -Doutputname=testbasic -Dtestfile=testbasic.xml -DoddFile=testbasic.odd validateodd compileodd rng validaterng isoschematron validateschematron cleanup
Buildfile: <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/antruntest.xml>
validateodd:
[echo] Validate testbasic.odd as ODD
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbasic.odd> to /dev/null
[xslt] Loading stylesheet <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/p5odds.message.isos…>
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/testbasic.odd> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbasic.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 testbasic.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/testbasic.odd.…> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbasic.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 testbasic.xml against RELAXNG testbasic.rng
[echo] DEBUG: ... checkid= true (false)
isoschematron:
[echo] XSLT generate ISO schematron testbasic.isosch from compiled ODD
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbasic.odd.…> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbasic.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/testbasic.isos…> to <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbasic.xsl>
[xslt] Loading stylesheet <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Utilities/iso_schem…>
validateschematron:
[echo] Validate using Schematron
[xslt] Processing <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbasic.xml> to /dev/null
[xslt] Loading stylesheet <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbasic.xsl>
cleanup:
[delete] Deleting: <http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbasic.odd.…>
BUILD SUCCESSFUL
Total time: 14 seconds
java -jar ../Utilities/lib/trang.jar -o disable-abstract-elements testbasic.rng testbasic.xsd
test -f xml.xsd && cp xml.xsd testbasic_xml.xsd && perl -p -i -e "s+xml.xsd+testbasic_xml.xsd+;s+ns1.xsd+testbasic_ns1.xsd+;s+teix.xsd+testbasic_teix.xsd+" testbasic.xsd
test -f teix.xsd && mv teix.xsd testbasic_teix.xsd && perl -p -i -e "s+xml.xsd+testbasic_xml.xsd+;s+ns1.xsd+testbasic_ns1.xsd+" testbasic_teix.xsd
make[1]: [testbasic.xsd] Error 1 (ignored)
test -f dcr.xsd && mv dcr.xsd testbasic_dcr.xsd && perl -p -i -e "s+xml.xsd+testbasic_xml.xsd+;s+ns1.xsd+testbasic_ns1.xsd+;s+teix.xsd+testbasic_teix.xsd+" testbasic_dcr.xsd && perl -p -i -e "s/dcr.xsd/testbasic_dcr.xsd/" testbasic.xsd
test -f spec.xsd && mv spec.xsd testbasic_spec.xsd && perl -p -i -e "s+xml.xsd+testbasic_xml.xsd+;s+ns1.xsd+testbasic_ns1.xsd+;s+teix.xsd+testbasic_teix.xsd+" testbasic_spec.xsd && perl -p -i -e "s/spec.xsd/testbasic_spec.xsd/" testbasic.xsd
make[1]: [testbasic.xsd] Error 1 (ignored)
test -f ns1.xsd && mv ns1.xsd testbasic_ns1.xsd && perl -p -i -e "s+xml.xsd+testbasic_xml.xsd+" testbasic_ns1.xsd && perl -p -i -e "s/ns1.xsd/testbasic_ns1.xsd/" testbasic.xsd
Validate XSD using Jing ...
java -jar ../Utilities/lib/jing.jar testbasic.xsd testbasic.xml
<http://teijenkins.hcmc.uvic.ca/job/TEIP5-Test-dev/ws/P5/Test/testbasic.xsd>:10116:34: error: http://www.w3.org/TR/xml-schema-1#cos-nonambig?"http://www.tei-c.org/ns/1.0":index&"http://www.tei-c.org/ns/1.0":index
make[1]: *** [testbasic.xsd] 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 philomousos(a)gmail.com
It turns out that neither of the files
P5/Source/Specs/dataNode.xml
P5/Source/Specs/interleave.xml
are actually included in P5 at all. Shouldn't they be in the
Defunct/ directory?
All,
Thanks for your patience and wishes. I'm felling better: let's try to
schedule this meeting again for next week.
Here's the doodle: https://doodle.com/poll/r6yt5fyi3uwty5k4
All best,
Raff
Hello Council,
I'm trying to get OxGarage to use XSLT3 so that it can run the new
odd2json.xsl that I need for Roma, but I'm running into an error.
Saxon 9.8 and over can handle XSLT3. I see that OxGarage already has
saxon9he.jar, though I couldn't find out which version it is. I tried
switching it with a 9.8 version and run into the same issues.
OxGarage source code uses the class XsltTransformer to handle
transformations in the class TEIConverter
<https://github.com/TEIC/oxgarage/blob/master/tei-converter/src/main/java/pl…>.
The transformer is then loaded with the method load()
<https://github.com/TEIC/oxgarage/blob/master/tei-converter/src/main/java/pl…>.
I see on the Saxon documentation
<https://www.saxonica.com/html/documentation/javadoc/net/sf/saxon/s9api/Xslt…>
that
the way of invoking XSLT3 transformations is by using a different class
called Xslt30Transformer, which should also be able to run xslt 1 and 2.
So I tried switching XsltTransformer to Xslt30Transformer and using the
method load30() instead of load() to load it.
When I try to compile with mvn compile, the compilation fails (see error
below). I'll keep digging, but I'm wondering if anyone notice else would
like to try to reproduce the error and help me figure out what's up.
All best and happy new year!
Raff
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project tei-converter: Compilation failure:
Compilation failure:
[ERROR]
/home/rviglian/Projects/tei-code/oxgarage/tei-converter/src/main/java/pl/psnc/dl/ege/tei/TEIConverter.java:[31,25]
error: cannot find symbol
[ERROR]
/home/rviglian/Projects/tei-code/oxgarage/tei-converter/src/main/java/pl/psnc/dl/ege/tei/TEIConverter.java:[677,42]
error: cannot find symbol
[ERROR]
/home/rviglian/Projects/tei-code/oxgarage/tei-converter/src/main/java/pl/psnc/dl/ege/tei/TEIConverter.java:[544,3]
error: cannot find symbol
[ERROR] class TEIConverter
[ERROR]
/home/rviglian/Projects/tei-code/oxgarage/tei-converter/src/main/java/pl/psnc/dl/ege/tei/TEIConverter.java:[544,39]
error: cannot find symbol
[ERROR] variable exec of type XsltExecutable
[ERROR]
/home/rviglian/Projects/tei-code/oxgarage/tei-converter/src/main/java/pl/psnc/dl/ege/tei/TEIConverter.java:[610,3]
error: cannot find symbol
[ERROR] class TEIConverter
[ERROR]
/home/rviglian/Projects/tei-code/oxgarage/tei-converter/src/main/java/pl/psnc/dl/ege/tei/TEIConverter.java:[610,39]
error: cannot find symbol
[ERROR]
/home/rviglian/Projects/tei-code/oxgarage/tei-converter/src/main/java/pl/psnc/dl/ege/tei/TEIConverter.java:[929,3]
error: cannot find symbol
[ERROR] class TEIConverter
[ERROR]
/home/rviglian/Projects/tei-code/oxgarage/tei-converter/src/main/java/pl/psnc/dl/ege/tei/TEIConverter.java:[929,39]
error: cannot find symbol
[ERROR] -> [Help 1]
See <http://teijenkins.hcmc.uvic.ca/job/TEIP5-dev/2947/display/redirect?page=cha…>
Changes:
[philomousos] Upgrading to Saxon 9.8.0.5.
[philomousos] Added old Saxon version back.
[philomousos] Only the epub target requires the old Saxon.
------------------------------------------
[...truncated 12.07 KB...]
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 6 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
[echo] XSLT generate HTML files (language ${lang})
Warning: XML resolver not found; external catalogs will be ignored
BUILD SUCCESSFUL
Total time: 5 seconds
BUILD: Make web guidelines in all supported languages
make html-web ALLLANGUAGES="en es de ja ko fr it zh-TW"
make[2]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-dev/ws/P5'>
BUILD: Making HTML Guidelines for language en
rm -rf Guidelines-web
perl -p -e \
"s+http://www.tei-c.org/release/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-dev/ws/P5/../../../Stylesheets-dev…;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-dev/ws/P5/../../../Stylesheets-dev…;"> \
Utilities/guidelines.xsl.model > Utilities/guidelines.xsl
if [ -n ] ; then curl -s http://www.tei-c.org/index.xml | sed 's/content="text\/html"/content="text\/html; charset=utf-8"/' | xmllint --html --noent --dropdtd --xmlout - > Utilities/teic-index.xml;fi
for i in en es de ja ko fr it zh-TW ;do \
mkdir -p Guidelines-web/$i/html; \
cp odd.css guidelines.css guidelines-print.css Guidelines-web/$i/html; \
(cd Source/Guidelines/en; tar --exclude .svn -c -f - Images) | (cd Guidelines-web/$i/html; tar xf - );\
(cd webnav; tar --exclude .svn -c -f - .) | (cd Guidelines-web/$i/html; tar xf - ); \
done
echo '<project basedir="." default="html" name="buildweb"><import file="antbuildweb.xml"/><target name="html">' \
> buildweb.xml
for i in en es de ja ko fr it zh-TW ;do \
echo "<buildweb lang=\"$i\"/>" >> buildweb.xml; \
done
echo '</target></project>' >> buildweb.xml
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/jing.jar:Utilities/lib/saxon9he.jar -f buildweb.xml -DgoogleAnalytics=
[echo] Make Guidelines web pages for language en
[echo] Make Guidelines web pages for language es
[echo] Make Guidelines web pages for language de
[echo] Make Guidelines web pages for language ja
[echo] Make Guidelines web pages for language ko
[echo] Make Guidelines web pages for language fr
[echo] Make Guidelines web pages for language it
[echo] Make Guidelines web pages for language zh-TW
BUILD SUCCESSFUL
Total time: 6 minutes 48 seconds
# commented out for DEBUGing: rm -f buildweb.xml Utilities/teic-index.xml
touch html-web.stamp
make[2]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-dev/ws/P5'>
(cd Guidelines-web; tar --exclude .svn -c -f - . ) | (cd release/tei-p5-doc/share/doc/tei-p5-doc; tar xf - )
BUILD: make PDF version of Guidelines
make pdf
make[2]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-dev/ws/P5'>
check if XeLaTeX exist
/usr/bin/xelatex
perl -p -e \
"s+http://www.tei-c.org/release/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-dev/ws/P5/../../../Stylesheets-dev…;> \
s+/usr/share/xml/tei/stylesheet+<http://teijenkins.hcmc.uvic.ca/job/TEIP5-dev/ws/P5/../../../Stylesheets-dev…;"> \
Utilities/guidelines-latex.xsl > Utilities/guidelines.xsl
BUILD: build Lite version of Guidelines, then LaTeX version of Guidelines from Lite, then run to PDF using XeLaTeX
Make sure you have Junicode, Arphic and Mincho fonts installed
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-dev/ws/P5/../../../Stylesheets-dev…> -DXELATEX=xelatex pdfonce
[echo] make LaTeX and PDF
BUILD SUCCESSFUL
Total time: 1 minute 35 seconds
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/saxon9he.jar -f antbuilder.xml -DXSL=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-dev/ws/P5/../../../Stylesheets-dev…> -DXELATEX=xelatex pdfrest 2> pdfbuild.log 1> pdfbuild.log
grep -v "Failed to convert input string to UTF16" pdfbuild.log
[echo] Run PDF a few more times
BUILD SUCCESSFUL
Total time: 1 minute 32 seconds
for i in Guidelines*aux; do perl -p -i -e 's/.*zf(a)fam.*//' $i; done
make[2]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-dev/ws/P5'>
BUILD: make ePub and Kindle version of Guidelines
make epub
make[2]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-dev/ws/P5'>
BUILD: Make epub version of Guidelines
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -f <http://teijenkins.hcmc.uvic.ca/job/TEIP5-dev/ws/P5/../../../Stylesheets-dev…> -lib Utilities/lib/Saxon-HE-9.4.0.6.jar -Dprofiledir=<http://teijenkins.hcmc.uvic.ca/job/TEIP5-dev/ws/P5/../../../Stylesheets-dev…> -Dprofile=tei -DinputFile=`pwd`/p5.xml -DoutputFile=`pwd`/Guidelines.epub -Dcoverimage=`pwd`/Utilities/cover.jpg
BUILD FAILED
/var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/epub3/build-to.xml:38: The following error occurred while executing this line:
/var/lib/jenkins/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet/common/teianttasks.xml:240: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: java.util.ServiceConfigurationError: javax.xml.xpath.XPathFactory: jar:<http://teijenkins.hcmc.uvic.ca/job/TEIP5-dev/ws/P5/Utilities/lib/Saxon-HE-9…>:2: Illegal configuration-file syntax
at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:102)
at org.apache.tools.ant.taskdefs.XSLTProcess.init(XSLTProcess.java:1232)
at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:270)
at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:429)
at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:163)
at org.apache.tools.ant.Task.perform(Task.java:347)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.Main.runBuild(Main.java:851)
at org.apache.tools.ant.Main.startAnt(Main.java:235)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 0 seconds
make[2]: *** [Guidelines.epub] Error 1
make[2]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-dev/ws/P5'>
make[1]: *** [dist-doc.stamp] Error 2
make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/TEIP5-dev/ws/P5'>
make: *** [install] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -D -us -uc -nc -b -i.svn -I.svn failed
make: *** [deb] Error 29
Build step 'Execute shell' marked build as failure
Archiving artifacts
Not sending mail to unregistered user philomousos(a)gmail.com
Dear all,
I'm a bit confused about the Jenkins build process. The last build is from 5 days ago but a lot of commits were made yesterday.
Best,
Martina
Mag. Martina Scholger
Zentrum für Informationsmodellierung
Austrian Centre for Digital Humanities
Universität Graz
A-8010 Graz | Elisabethstraße 59/III
Tel: +43 316 380 2291
eMail: martina.scholger(a)uni-graz.at<mailto:martina.semlak@uni-graz.at>
Web: http://informationsmodellierung.uni-graz.at<http://informationsmodellierung.uni-graz.at/> | http://gams.uni-graz.at<http://gams.uni-graz.at/>
I committed a change to GitHub TEIC/TEI/ dev branch last night, 13
hours ago according to GitHub.
I do not understand the difference between the TEIP5-dev,
TEIP5-Documentation-dev, and TEIP5-Test-dev jobs on Jenkins. But
looking at http://jenkins.tei-c.org/view/TEI%20dev/, it is clear that
none of these jobs has run for at least 18 hours. Shouldn't at least
one of them?
Why won't Mr. Jenkins build the new dev branch of the TEI Guidelines?
I think he hates me. Snif.