Jenkins build became unstable: Stylesheets-dev #2244
See http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/2247/display/redirect?pag... Changes: [lou.burnard] fix compatibility problems in jsi profile for docx conversn ------------------------------------------ [...truncated 34.56 KB...] then diff test38.xml expected-results/test38.xml; fi BUILD: testing latex java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test.tex test.xml ../latex/latex.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff test.tex expected-results/test.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:testnotes1.tex testnotes1.xml ../latex/latex.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff testnotes1.tex expected-results/testnotes1.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test5.tex test5.xml ../latex/latex.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff test5.tex expected-results/test5.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test6.tex test6.xml ../slides/teilatex-slides.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff test6.tex expected-results/test6.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test20.tex test20.xml ../latex/latex.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff test20.tex expected-results/test20.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test23.tex test23.xml ../latex/latex.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff test23.tex expected-results/test23.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test24.tex test24.xml ../latex/latex.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff test24.tex expected-results/test24.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test25.tex test25.xml ../latex/latex.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff test25.tex expected-results/test25.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test27.tex test27.xml ../latex/latex.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff test27.tex expected-results/test27.tex; fi BUILD: testing fo java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test.fo test.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test.fo if [ 0 -ne 1 ]; \ then diff test.fo expected-results/test.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test5.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > test5.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test5.fo if [ 0 -ne 1 ]; \ then diff test5.fo expected-results/test5.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar testnotes1.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > testnotes1.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd testnotes1.fo if [ 0 -ne 1 ]; \ then diff testnotes1.fo expected-results/testnotes1.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test24.fo test24.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test24.fo if [ 0 -ne 1 ]; \ then diff test24.fo expected-results/test24.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test25.fo test25.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test25.fo if [ 0 -ne 1 ]; \ then diff test25.fo expected-results/test25.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test27.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > test27.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test27.fo if [ 0 -ne 1 ]; \ then diff test27.fo expected-results/test27.fo; fi BUILD: testing to-docx ../bin/teitodocx test.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test.xml.docx (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 12 seconds unzip -p test.xml.docx word/document.xml | xmllint --format - > test.xml.docx.document unzip -p test.xml.docx docProps/core.xml | xmllint --format - | sed 's/>20.*Z>20Z' > test.xml.docx.core if [ 0 -ne 1 ]; \ then diff test.xml.docx.document expected-results/test.xml.docx.document; fi if [ 0 -ne 1 ]; \ then diff test.xml.docx.core expected-results/test.xml.docx.core; fi rm test.xml.docx.document ../bin/teitodocx test6.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test6.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test6.xml.docx (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 10 seconds unzip -p test6.xml.docx word/document.xml | xmllint --format - > test6.xml.docx.document if [ 0 -ne 1 ]; \ then diff test6.xml.docx.document expected-results/test6.xml.docx.document; fi rm test6.xml.docx.document ../bin/teitodocx testnotes1.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert testnotes1.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/testnotes1.xml.do... (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 9 seconds unzip -p testnotes1.xml.docx word/document.xml | xmllint --format - > testnotes1.xml.docx.document if [ 0 -ne 1 ]; \ then diff testnotes1.xml.docx.document expected-results/testnotes1.xml.docx.document; fi rm testnotes1.xml.docx.document java -Djava.awt.headless=true -jar ../lib/saxon9he.jar testoucscourses.xml ../profiles/default/p4/from.xsl > testoucscoursesp5.xml ../bin/teitodocx --profile=oucscourses testoucscoursesp5.xml testoucscourses.xml.docx WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert testoucscoursesp5.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/testoucscourses.x... (tei to docx) using profile oucscourses Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 9 seconds rm testoucscourses.xml.docx testoucscoursesp5.xml BUILD: testing from-docx ../bin/docxtotei test-indexes.docx temp.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test-indexes.docx to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml (docx to tei) using profile default [echo] using http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx/... Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 7 seconds xmllint --format temp.xml | perl cleanup.pl > test-indexes.xml && rm temp.xml java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar test.rng test-indexes.xml if [ 0 -ne 1 ]; \ then diff test-indexes.xml expected-results/test-indexes.xml; fi 44,93c44,45 < <p> < <anchor xml:id="foo"/> < <hi style="font-size:12pt">Here we are talking about the Web</hi> < <index indexName="XE"> < <term>Web</term> < </index> < <hi style="font-size:12pt">, about Web services</hi> < <index indexName="XE"> < <term>Web</term> < <index> < <term>Web service</term> < </index> < </index> < <hi style="font-size:12pt">, and Web apps</hi> < <index indexName="XE"> < <term>Web</term> < <index> < <term>Web app</term> < </index> < </index> < <hi style="font-size:12pt">, but also about bugs</hi> < <index indexName="XE"> < <term>bugs</term> < <index> < <term>horrible bugs<ref type="xr">See bugs</ref></term> < </index> < </index> < <hi style="font-size:12pt">and errors</hi> < <index indexName="XE"> < <term>error</term> < </index> < <hi style="font-size:12pt">. Note that the index terms can be in Word also formatted</hi> < <index indexName="XE"> < <term>formatting</term> < </index> < <hi style="font-size:12pt">, which is lost in the TEI. We can have ranges though, like this</hi> < <index indexName="XE" spanTo="#foo"> < <term>Range</term> < <index> < <term>Subrange</term> < </index> < </index> < <hi style="font-size:12pt">.</hi> < </p> < <p> < <hi rend="underline" style="font-size:12pt" xml:space="preserve">This is a simpler paragraph with a word in </hi> < <hi rend="italic underline" style="font-size:12pt">italic</hi> < <hi rend="underline" style="font-size:12pt" xml:space="preserve"> in the middle, though the whole paragraph is underlined</hi> < <hi style="font-size:12pt">.</hi> < </p> ---
<p><anchor xml:id="foo"/>Here we are talking about the Web<index indexName="XE"><term>Web</term></index>, about Web services<index indexName="XE"><term>Web</term><index><term>Web service</term></index></index>, and Web apps<index indexName="XE"><term>Web</term><index><term>Web app</term></index></index>, but also about bugs<index indexName="XE"><term>bugs</term><index><term>horrible bugs<ref type="xr">See bugs</ref></term></index></index> and errors<index indexName="XE"><term>error</term></index>. Note that the index terms can be in Word also formatted<index indexName="XE"><term>formatting</term></index>, which is lost in the TEI. We can have ranges though, like this<index indexName="XE" spanTo="#foo"><term>Range</term><index><term>Subrange</term></index></index>.</p> <p><hi rend="underline" xml:space="preserve">This is a simpler paragraph with a word in </hi><hi rend="italic underline">italic</hi><hi rend="underline" xml:space="preserve"> in the middle, though the whole paragraph is underlined</hi>.</p>
98,124c50,57 < <p rend="index 1"> < <hi style="font-size:12pt" xml:space="preserve">bug. </hi> < <hi rend="italic" style="font-size:12pt">See</hi> < <hi style="font-size:12pt" xml:space="preserve"> error</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">error, 1</hi> < </p> < <p rend="index 1"> < <hi rend="bold" style="font-size:12pt">formatting</hi> < <hi style="font-size:12pt">, 1</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">Range</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Subrange, 1</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">Web, 1</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Web app, 1</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Web service, 1</hi> < </p> ---
<p rend="index 1">bug. <hi rend="italic">See</hi> error</p> <p rend="index 1">error, 1</p> <p rend="index 1"><hi rend="bold">formatting</hi>, 1</p> <p rend="index 1">Range</p> <p rend="index 2">Subrange, 1</p> <p rend="index 1">Web, 1</p> <p rend="index 2">Web app, 1</p> <p rend="index 2">Web service, 1</p>
make[1]: *** [test-from-docx] Error 1 make[1]: Leaving directory `http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test' make: *** [test] Error 2 Build step 'Execute shell' marked build as failure Archiving artifacts
See http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/2248/display/redirect?pag... Changes: [stadlerpeter] small fix ------------------------------------------ [...truncated 34.55 KB...] then diff test38.xml expected-results/test38.xml; fi BUILD: testing latex java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test.tex test.xml ../latex/latex.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff test.tex expected-results/test.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:testnotes1.tex testnotes1.xml ../latex/latex.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff testnotes1.tex expected-results/testnotes1.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test5.tex test5.xml ../latex/latex.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff test5.tex expected-results/test5.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test6.tex test6.xml ../slides/teilatex-slides.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff test6.tex expected-results/test6.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test20.tex test20.xml ../latex/latex.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff test20.tex expected-results/test20.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test23.tex test23.xml ../latex/latex.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff test23.tex expected-results/test23.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test24.tex test24.xml ../latex/latex.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff test24.tex expected-results/test24.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test25.tex test25.xml ../latex/latex.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff test25.tex expected-results/test25.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test27.tex test27.xml ../latex/latex.xsl useFixedDate=true Warning at xsl:function on line 184 column 77 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function Warning at xsl:function on line 171 column 70 of latex.xsl: SXWN9014: The xsl:function/@override attribute is deprecated; use override-extension-function if [ 0 -ne 1 ]; \ then diff test27.tex expected-results/test27.tex; fi BUILD: testing fo java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test.fo test.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test.fo if [ 0 -ne 1 ]; \ then diff test.fo expected-results/test.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test5.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > test5.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test5.fo if [ 0 -ne 1 ]; \ then diff test5.fo expected-results/test5.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar testnotes1.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > testnotes1.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd testnotes1.fo if [ 0 -ne 1 ]; \ then diff testnotes1.fo expected-results/testnotes1.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test24.fo test24.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test24.fo if [ 0 -ne 1 ]; \ then diff test24.fo expected-results/test24.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test25.fo test25.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test25.fo if [ 0 -ne 1 ]; \ then diff test25.fo expected-results/test25.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test27.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > test27.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test27.fo if [ 0 -ne 1 ]; \ then diff test27.fo expected-results/test27.fo; fi BUILD: testing to-docx ../bin/teitodocx test.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test.xml.docx (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 8 seconds unzip -p test.xml.docx word/document.xml | xmllint --format - > test.xml.docx.document unzip -p test.xml.docx docProps/core.xml | xmllint --format - | sed 's/>20.*Z>20Z' > test.xml.docx.core if [ 0 -ne 1 ]; \ then diff test.xml.docx.document expected-results/test.xml.docx.document; fi if [ 0 -ne 1 ]; \ then diff test.xml.docx.core expected-results/test.xml.docx.core; fi rm test.xml.docx.document ../bin/teitodocx test6.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test6.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test6.xml.docx (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 6 seconds unzip -p test6.xml.docx word/document.xml | xmllint --format - > test6.xml.docx.document if [ 0 -ne 1 ]; \ then diff test6.xml.docx.document expected-results/test6.xml.docx.document; fi rm test6.xml.docx.document ../bin/teitodocx testnotes1.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert testnotes1.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/testnotes1.xml.do... (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 6 seconds unzip -p testnotes1.xml.docx word/document.xml | xmllint --format - > testnotes1.xml.docx.document if [ 0 -ne 1 ]; \ then diff testnotes1.xml.docx.document expected-results/testnotes1.xml.docx.document; fi rm testnotes1.xml.docx.document java -Djava.awt.headless=true -jar ../lib/saxon9he.jar testoucscourses.xml ../profiles/default/p4/from.xsl > testoucscoursesp5.xml ../bin/teitodocx --profile=oucscourses testoucscoursesp5.xml testoucscourses.xml.docx WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert testoucscoursesp5.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/testoucscourses.x... (tei to docx) using profile oucscourses Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 6 seconds rm testoucscourses.xml.docx testoucscoursesp5.xml BUILD: testing from-docx ../bin/docxtotei test-indexes.docx temp.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test-indexes.docx to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml (docx to tei) using profile default [echo] using http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx/... Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 5 seconds xmllint --format temp.xml | perl cleanup.pl > test-indexes.xml && rm temp.xml java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar test.rng test-indexes.xml if [ 0 -ne 1 ]; \ then diff test-indexes.xml expected-results/test-indexes.xml; fi 44,93c44,45 < <p> < <anchor xml:id="foo"/> < <hi style="font-size:12pt">Here we are talking about the Web</hi> < <index indexName="XE"> < <term>Web</term> < </index> < <hi style="font-size:12pt">, about Web services</hi> < <index indexName="XE"> < <term>Web</term> < <index> < <term>Web service</term> < </index> < </index> < <hi style="font-size:12pt">, and Web apps</hi> < <index indexName="XE"> < <term>Web</term> < <index> < <term>Web app</term> < </index> < </index> < <hi style="font-size:12pt">, but also about bugs</hi> < <index indexName="XE"> < <term>bugs</term> < <index> < <term>horrible bugs<ref type="xr">See bugs</ref></term> < </index> < </index> < <hi style="font-size:12pt">and errors</hi> < <index indexName="XE"> < <term>error</term> < </index> < <hi style="font-size:12pt">. Note that the index terms can be in Word also formatted</hi> < <index indexName="XE"> < <term>formatting</term> < </index> < <hi style="font-size:12pt">, which is lost in the TEI. We can have ranges though, like this</hi> < <index indexName="XE" spanTo="#foo"> < <term>Range</term> < <index> < <term>Subrange</term> < </index> < </index> < <hi style="font-size:12pt">.</hi> < </p> < <p> < <hi rend="underline" style="font-size:12pt" xml:space="preserve">This is a simpler paragraph with a word in </hi> < <hi rend="italic underline" style="font-size:12pt">italic</hi> < <hi rend="underline" style="font-size:12pt" xml:space="preserve"> in the middle, though the whole paragraph is underlined</hi> < <hi style="font-size:12pt">.</hi> < </p> ---
<p><anchor xml:id="foo"/>Here we are talking about the Web<index indexName="XE"><term>Web</term></index>, about Web services<index indexName="XE"><term>Web</term><index><term>Web service</term></index></index>, and Web apps<index indexName="XE"><term>Web</term><index><term>Web app</term></index></index>, but also about bugs<index indexName="XE"><term>bugs</term><index><term>horrible bugs<ref type="xr">See bugs</ref></term></index></index> and errors<index indexName="XE"><term>error</term></index>. Note that the index terms can be in Word also formatted<index indexName="XE"><term>formatting</term></index>, which is lost in the TEI. We can have ranges though, like this<index indexName="XE" spanTo="#foo"><term>Range</term><index><term>Subrange</term></index></index>.</p> <p><hi rend="underline" xml:space="preserve">This is a simpler paragraph with a word in </hi><hi rend="italic underline">italic</hi><hi rend="underline" xml:space="preserve"> in the middle, though the whole paragraph is underlined</hi>.</p>
98,124c50,57 < <p rend="index 1"> < <hi style="font-size:12pt" xml:space="preserve">bug. </hi> < <hi rend="italic" style="font-size:12pt">See</hi> < <hi style="font-size:12pt" xml:space="preserve"> error</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">error, 1</hi> < </p> < <p rend="index 1"> < <hi rend="bold" style="font-size:12pt">formatting</hi> < <hi style="font-size:12pt">, 1</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">Range</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Subrange, 1</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">Web, 1</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Web app, 1</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Web service, 1</hi> < </p> ---
<p rend="index 1">bug. <hi rend="italic">See</hi> error</p> <p rend="index 1">error, 1</p> <p rend="index 1"><hi rend="bold">formatting</hi>, 1</p> <p rend="index 1">Range</p> <p rend="index 2">Subrange, 1</p> <p rend="index 1">Web, 1</p> <p rend="index 2">Web app, 1</p> <p rend="index 2">Web service, 1</p>
make[1]: *** [test-from-docx] Error 1 make[1]: Leaving directory `http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test' make: *** [test] Error 2 Build step 'Execute shell' marked build as failure Archiving artifacts
See http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/2249/display/redirect?pag... Changes: [s.bauman] Update from deprecated name of attribute to current name ------------------------------------------ [...truncated 33.30 KB...] Convert test35.odd to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test35.rnc (tei to rnc) using profile default [echo] Do ODD expand processing (schema ) Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 16 seconds perl -p -i -e 's/generated from ODD source .*//' test35.rnc perl -i -pe 'BEGIN{undef $/;} s/# ?Schema[^#]+#[^#]+#[^#]+#[^#]+#\n//smg' test35.rnc if [ 0 -ne 1 ]; \ then diff test35.rnc expected-results/test35.rnc; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test38.htm ../html/html2tei.xsl useFixedDate=true | xmllint --format - > test38.xml UNTRANSLATED TAG noscript UNTRANSLATED TAG header UNTRANSLATED TAG hgroup UNTRANSLATED TAG nav UNTRANSLATED TAG header UNTRANSLATED TAG header UNTRANSLATED TAG form UNTRANSLATED TAG fieldset UNTRANSLATED TAG legend UNTRANSLATED TAG label UNTRANSLATED TAG input UNTRANSLATED TAG button UNTRANSLATED TAG select UNTRANSLATED TAG optgroup UNTRANSLATED TAG option UNTRANSLATED TAG option UNTRANSLATED TAG option UNTRANSLATED TAG textarea UNTRANSLATED TAG dfn UNTRANSLATED TAG mark UNTRANSLATED TAG meter UNTRANSLATED TAG time UNTRANSLATED TAG details UNTRANSLATED TAG nav if [ 0 -ne 1 ]; \ then diff test38.xml expected-results/test38.xml; fi BUILD: testing latex java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test.tex test.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test.tex expected-results/test.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:testnotes1.tex testnotes1.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff testnotes1.tex expected-results/testnotes1.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test5.tex test5.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test5.tex expected-results/test5.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test6.tex test6.xml ../slides/teilatex-slides.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test6.tex expected-results/test6.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test20.tex test20.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test20.tex expected-results/test20.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test23.tex test23.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test23.tex expected-results/test23.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test24.tex test24.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test24.tex expected-results/test24.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test25.tex test25.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test25.tex expected-results/test25.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test27.tex test27.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test27.tex expected-results/test27.tex; fi BUILD: testing fo java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test.fo test.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test.fo if [ 0 -ne 1 ]; \ then diff test.fo expected-results/test.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test5.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > test5.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test5.fo if [ 0 -ne 1 ]; \ then diff test5.fo expected-results/test5.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar testnotes1.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > testnotes1.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd testnotes1.fo if [ 0 -ne 1 ]; \ then diff testnotes1.fo expected-results/testnotes1.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test24.fo test24.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test24.fo if [ 0 -ne 1 ]; \ then diff test24.fo expected-results/test24.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test25.fo test25.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test25.fo if [ 0 -ne 1 ]; \ then diff test25.fo expected-results/test25.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test27.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > test27.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test27.fo if [ 0 -ne 1 ]; \ then diff test27.fo expected-results/test27.fo; fi BUILD: testing to-docx ../bin/teitodocx test.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test.xml.docx (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 8 seconds unzip -p test.xml.docx word/document.xml | xmllint --format - > test.xml.docx.document unzip -p test.xml.docx docProps/core.xml | xmllint --format - | sed 's/>20.*Z>20Z' > test.xml.docx.core if [ 0 -ne 1 ]; \ then diff test.xml.docx.document expected-results/test.xml.docx.document; fi if [ 0 -ne 1 ]; \ then diff test.xml.docx.core expected-results/test.xml.docx.core; fi rm test.xml.docx.document ../bin/teitodocx test6.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test6.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test6.xml.docx (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 6 seconds unzip -p test6.xml.docx word/document.xml | xmllint --format - > test6.xml.docx.document if [ 0 -ne 1 ]; \ then diff test6.xml.docx.document expected-results/test6.xml.docx.document; fi rm test6.xml.docx.document ../bin/teitodocx testnotes1.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert testnotes1.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/testnotes1.xml.do... (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 6 seconds unzip -p testnotes1.xml.docx word/document.xml | xmllint --format - > testnotes1.xml.docx.document if [ 0 -ne 1 ]; \ then diff testnotes1.xml.docx.document expected-results/testnotes1.xml.docx.document; fi rm testnotes1.xml.docx.document java -Djava.awt.headless=true -jar ../lib/saxon9he.jar testoucscourses.xml ../profiles/default/p4/from.xsl > testoucscoursesp5.xml ../bin/teitodocx --profile=oucscourses testoucscoursesp5.xml testoucscourses.xml.docx WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert testoucscoursesp5.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/testoucscourses.x... (tei to docx) using profile oucscourses Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 6 seconds rm testoucscourses.xml.docx testoucscoursesp5.xml BUILD: testing from-docx ../bin/docxtotei test-indexes.docx temp.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test-indexes.docx to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml (docx to tei) using profile default [echo] using http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx/... Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 4 seconds xmllint --format temp.xml | perl cleanup.pl > test-indexes.xml && rm temp.xml java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar test.rng test-indexes.xml if [ 0 -ne 1 ]; \ then diff test-indexes.xml expected-results/test-indexes.xml; fi 44,93c44,45 < <p> < <anchor xml:id="foo"/> < <hi style="font-size:12pt">Here we are talking about the Web</hi> < <index indexName="XE"> < <term>Web</term> < </index> < <hi style="font-size:12pt">, about Web services</hi> < <index indexName="XE"> < <term>Web</term> < <index> < <term>Web service</term> < </index> < </index> < <hi style="font-size:12pt">, and Web apps</hi> < <index indexName="XE"> < <term>Web</term> < <index> < <term>Web app</term> < </index> < </index> < <hi style="font-size:12pt">, but also about bugs</hi> < <index indexName="XE"> < <term>bugs</term> < <index> < <term>horrible bugs<ref type="xr">See bugs</ref></term> < </index> < </index> < <hi style="font-size:12pt">and errors</hi> < <index indexName="XE"> < <term>error</term> < </index> < <hi style="font-size:12pt">. Note that the index terms can be in Word also formatted</hi> < <index indexName="XE"> < <term>formatting</term> < </index> < <hi style="font-size:12pt">, which is lost in the TEI. We can have ranges though, like this</hi> < <index indexName="XE" spanTo="#foo"> < <term>Range</term> < <index> < <term>Subrange</term> < </index> < </index> < <hi style="font-size:12pt">.</hi> < </p> < <p> < <hi rend="underline" style="font-size:12pt" xml:space="preserve">This is a simpler paragraph with a word in </hi> < <hi rend="italic underline" style="font-size:12pt">italic</hi> < <hi rend="underline" style="font-size:12pt" xml:space="preserve"> in the middle, though the whole paragraph is underlined</hi> < <hi style="font-size:12pt">.</hi> < </p> ---
<p><anchor xml:id="foo"/>Here we are talking about the Web<index indexName="XE"><term>Web</term></index>, about Web services<index indexName="XE"><term>Web</term><index><term>Web service</term></index></index>, and Web apps<index indexName="XE"><term>Web</term><index><term>Web app</term></index></index>, but also about bugs<index indexName="XE"><term>bugs</term><index><term>horrible bugs<ref type="xr">See bugs</ref></term></index></index> and errors<index indexName="XE"><term>error</term></index>. Note that the index terms can be in Word also formatted<index indexName="XE"><term>formatting</term></index>, which is lost in the TEI. We can have ranges though, like this<index indexName="XE" spanTo="#foo"><term>Range</term><index><term>Subrange</term></index></index>.</p> <p><hi rend="underline" xml:space="preserve">This is a simpler paragraph with a word in </hi><hi rend="italic underline">italic</hi><hi rend="underline" xml:space="preserve"> in the middle, though the whole paragraph is underlined</hi>.</p>
98,124c50,57 < <p rend="index 1"> < <hi style="font-size:12pt" xml:space="preserve">bug. </hi> < <hi rend="italic" style="font-size:12pt">See</hi> < <hi style="font-size:12pt" xml:space="preserve"> error</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">error, 1</hi> < </p> < <p rend="index 1"> < <hi rend="bold" style="font-size:12pt">formatting</hi> < <hi style="font-size:12pt">, 1</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">Range</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Subrange, 1</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">Web, 1</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Web app, 1</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Web service, 1</hi> < </p> ---
<p rend="index 1">bug. <hi rend="italic">See</hi> error</p> <p rend="index 1">error, 1</p> <p rend="index 1"><hi rend="bold">formatting</hi>, 1</p> <p rend="index 1">Range</p> <p rend="index 2">Subrange, 1</p> <p rend="index 1">Web, 1</p> <p rend="index 2">Web app, 1</p> <p rend="index 2">Web service, 1</p>
make[1]: *** [test-from-docx] Error 1 make[1]: Leaving directory `http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test' make: *** [test] Error 2 Build step 'Execute shell' marked build as failure Archiving artifacts
[s.bauman] Update from deprecated name of attribute to current name
So I fixed the easy one. There is still an expected results problem. I believe that when testing the Stylesheets, the build process * converts Test/test-indexes.docx to Test/test-indexes.xml * compares that file to Test/expected-results/test-indexes.xml and that comparison is failing. I suspect (but don't know) that the difference may be just the new Saxon, as a lot of the difference is just whitespace. But I also don't grok why a lot of the content of <p> elements is now surrounded by a <hi style="font-size:12pt">. Has anyone changed docx -> TEI lately? Relevant bits of console:
../bin/docxtotei test-indexes.docx temp.xml Convert test-indexes.docx to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml (docx to tei) using profile default [echo] using http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx/... BUILD SUCCESSFUL Total time: 4 seconds
xmllint --format temp.xml | perl cleanup.pl > test-indexes.xml && rm temp.xml diff test-indexes.xml expected-results/test-indexes.xml; fi 44,93c44,45 < <p> < <anchor xml:id="foo"/> < <hi style="font-size:12pt">Here we are talking about the Web</hi> < <index indexName="XE"> < <term>Web</term> < </index> < <hi style="font-size:12pt">, about Web services</hi> < <index indexName="XE"> < <term>Web</term> < <index> < <term>Web service</term> < </index> < </index> < <hi style="font-size:12pt">, and Web apps</hi> < <index indexName="XE"> < <term>Web</term> < <index> < <term>Web app</term> < </index> < </index> < <hi style="font-size:12pt">, but also about bugs</hi> < <index indexName="XE"> < <term>bugs</term> < <index> < <term>horrible bugs<ref type="xr">See bugs</ref></term> < </index> < </index> < <hi style="font-size:12pt">and errors</hi> < <index indexName="XE"> < <term>error</term> < </index> < <hi style="font-size:12pt">. Note that the index terms can be in Word also formatted</hi> < <index indexName="XE"> < <term>formatting</term> < </index> < <hi style="font-size:12pt">, which is lost in the TEI. We can have ranges though, like this</hi> < <index indexName="XE" spanTo="#foo"> < <term>Range</term> < <index> < <term>Subrange</term> < </index> < </index> < <hi style="font-size:12pt">.</hi> < </p> < <p> < <hi rend="underline" style="font-size:12pt" xml:space="preserve">This is a simpler paragraph with a word in </hi> < <hi rend="italic underline" style="font-size:12pt">italic</hi> < <hi rend="underline" style="font-size:12pt" xml:space="preserve"> in the middle, though the whole paragraph is underlined</hi> < <hi style="font-size:12pt">.</hi> < </p> ---
<p><anchor xml:id="foo"/>Here we are talking about the Web<index indexName="XE"><term>Web</term></index>, about Web services<index indexName="XE"><term>Web</term><index><term>Web service</term></index></index>, and Web apps<index indexName="XE"><term>Web</term><index><term>Web app</term></index></index>, but also about bugs<index indexName="XE"><term>bugs</term><index><term>horrible bugs<ref type="xr">See bugs</ref></term></index></index> and errors<index indexName="XE"><term>error</term></index>. Note that the index terms can be in Word also formatted<index indexName="XE"><term>formatting</term></index>, which is lost in the TEI. We can have ranges though, like this<index indexName="XE" spanTo="#foo"><term>Range</term><index><term>Subrange</term></index></index>.</p> <p><hi rend="underline" xml:space="preserve">This is a simpler paragraph with a word in </hi><hi rend="italic underline">italic</hi><hi rend="underline" xml:space="preserve"> in the middle, though the whole paragraph is underlined</hi>.</p>
98,124c50,57 < <p rend="index 1"> < <hi style="font-size:12pt" xml:space="preserve">bug. </hi> < <hi rend="italic" style="font-size:12pt">See</hi> < <hi style="font-size:12pt" xml:space="preserve"> error</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">error, 1</hi> < </p> < <p rend="index 1"> < <hi rend="bold" style="font-size:12pt">formatting</hi> < <hi style="font-size:12pt">, 1</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">Range</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Subrange, 1</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">Web, 1</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Web app, 1</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Web service, 1</hi> < </p> ---
<p rend="index 1">bug. <hi rend="italic">See</hi> error</p> <p rend="index 1">error, 1</p> <p rend="index 1"><hi rend="bold">formatting</hi>, 1</p> <p rend="index 1">Range</p> <p rend="index 2">Subrange, 1</p> <p rend="index 1">Web, 1</p> <p rend="index 2">Web app, 1</p> <p rend="index 2">Web service, 1</p>
There is a recently-active ticket on docx: https://github.com/TEIC/Stylesheets/issues/262 where Lou made changes. Could that be connected? On 2017-11-11 01:50 PM, Syd Bauman wrote:
[s.bauman] Update from deprecated name of attribute to current name
So I fixed the easy one. There is still an expected results problem.
I believe that when testing the Stylesheets, the build process
* converts Test/test-indexes.docx to Test/test-indexes.xml * compares that file to Test/expected-results/test-indexes.xml
and that comparison is failing. I suspect (but don't know) that the difference may be just the new Saxon, as a lot of the difference is just whitespace. But I also don't grok why a lot of the content of <p> elements is now surrounded by a <hi style="font-size:12pt">.
Has anyone changed docx -> TEI lately?
Relevant bits of console:
../bin/docxtotei test-indexes.docx temp.xml Convert test-indexes.docx to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml (docx to tei) using profile default [echo] using http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx/... BUILD SUCCESSFUL Total time: 4 seconds
xmllint --format temp.xml | perl cleanup.pl > test-indexes.xml && rm temp.xml diff test-indexes.xml expected-results/test-indexes.xml; fi 44,93c44,45 < <p> < <anchor xml:id="foo"/> < <hi style="font-size:12pt">Here we are talking about the Web</hi> < <index indexName="XE"> < <term>Web</term> < </index> < <hi style="font-size:12pt">, about Web services</hi> < <index indexName="XE"> < <term>Web</term> < <index> < <term>Web service</term> < </index> < </index> < <hi style="font-size:12pt">, and Web apps</hi> < <index indexName="XE"> < <term>Web</term> < <index> < <term>Web app</term> < </index> < </index> < <hi style="font-size:12pt">, but also about bugs</hi> < <index indexName="XE"> < <term>bugs</term> < <index> < <term>horrible bugs<ref type="xr">See bugs</ref></term> < </index> < </index> < <hi style="font-size:12pt">and errors</hi> < <index indexName="XE"> < <term>error</term> < </index> < <hi style="font-size:12pt">. Note that the index terms can be in Word also formatted</hi> < <index indexName="XE"> < <term>formatting</term> < </index> < <hi style="font-size:12pt">, which is lost in the TEI. We can have ranges though, like this</hi> < <index indexName="XE" spanTo="#foo"> < <term>Range</term> < <index> < <term>Subrange</term> < </index> < </index> < <hi style="font-size:12pt">.</hi> < </p> < <p> < <hi rend="underline" style="font-size:12pt" xml:space="preserve">This is a simpler paragraph with a word in </hi> < <hi rend="italic underline" style="font-size:12pt">italic</hi> < <hi rend="underline" style="font-size:12pt" xml:space="preserve"> in the middle, though the whole paragraph is underlined</hi> < <hi style="font-size:12pt">.</hi> < </p> ---
<p><anchor xml:id="foo"/>Here we are talking about the Web<index indexName="XE"><term>Web</term></index>, about Web services<index indexName="XE"><term>Web</term><index><term>Web service</term></index></index>, and Web apps<index indexName="XE"><term>Web</term><index><term>Web app</term></index></index>, but also about bugs<index indexName="XE"><term>bugs</term><index><term>horrible bugs<ref type="xr">See bugs</ref></term></index></index> and errors<index indexName="XE"><term>error</term></index>. Note that the index terms can be in Word also formatted<index indexName="XE"><term>formatting</term></index>, which is lost in the TEI. We can have ranges though, like this<index indexName="XE" spanTo="#foo"><term>Range</term><index><term>Subrange</term></index></index>.</p> <p><hi rend="underline" xml:space="preserve">This is a simpler paragraph with a word in </hi><hi rend="italic underline">italic</hi><hi rend="underline" xml:space="preserve"> in the middle, though the whole paragraph is underlined</hi>.</p>
98,124c50,57 < <p rend="index 1"> < <hi style="font-size:12pt" xml:space="preserve">bug. </hi> < <hi rend="italic" style="font-size:12pt">See</hi> < <hi style="font-size:12pt" xml:space="preserve"> error</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">error, 1</hi> < </p> < <p rend="index 1"> < <hi rend="bold" style="font-size:12pt">formatting</hi> < <hi style="font-size:12pt">, 1</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">Range</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Subrange, 1</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">Web, 1</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Web app, 1</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Web service, 1</hi> < </p> ---
<p rend="index 1">bug. <hi rend="italic">See</hi> error</p> <p rend="index 1">error, 1</p> <p rend="index 1"><hi rend="bold">formatting</hi>, 1</p> <p rend="index 1">Range</p> <p rend="index 2">Subrange, 1</p> <p rend="index 1">Web, 1</p> <p rend="index 2">Web app, 1</p> <p rend="index 2">Web service, 1</p>
Nothing to do with me guv. My changes were only to the jsi profile which calls docx to tei conversion, and to the Makefile to invoke same. On 11/11/17 21:56, Martin Holmes wrote:
There is a recently-active ticket on docx:
https://github.com/TEIC/Stylesheets/issues/262
where Lou made changes. Could that be connected?
On 2017-11-11 01:50 PM, Syd Bauman wrote:
[s.bauman] Update from deprecated name of attribute to current name
So I fixed the easy one. There is still an expected results problem.
I believe that when testing the Stylesheets, the build process
 * converts Test/test-indexes.docx to Test/test-indexes.xml  * compares that file to Test/expected-results/test-indexes.xml
and that comparison is failing. I suspect (but don't know) that the difference may be just the new Saxon, as a lot of the difference is just whitespace. But I also don't grok why a lot of the content of <p> elements is now surrounded by a <hi style="font-size:12pt">.
Has anyone changed docx -> TEI lately?
Relevant bits of console:
../bin/docxtotei test-indexes.docx temp.xml Convert test-indexes.docx to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml (docx to tei) using profile default      [echo]     using http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx/... BUILD SUCCESSFUL Total time: 4 seconds
xmllint --format temp.xml | perl cleanup.pl > test-indexes.xml && rm temp.xml diff test-indexes.xml expected-results/test-indexes.xml; fi 44,93c44,45 <      <p> <        <anchor xml:id="foo"/> <        <hi style="font-size:12pt">Here we are talking about the Web</hi> <        <index indexName="XE"> <          <term>Web</term> <        </index> <        <hi style="font-size:12pt">, about Web services</hi> <        <index indexName="XE"> <          <term>Web</term> <          <index> <            <term>Web service</term> <          </index> <        </index> <        <hi style="font-size:12pt">, and Web apps</hi> <        <index indexName="XE"> <          <term>Web</term> <          <index> <            <term>Web app</term> <          </index> <        </index> <        <hi style="font-size:12pt">, but also about bugs</hi> <        <index indexName="XE"> <          <term>bugs</term> <          <index> <            <term>horrible bugs<ref type="xr">See bugs</ref></term> <          </index> <        </index> <        <hi style="font-size:12pt">and errors</hi> <        <index indexName="XE"> <          <term>error</term> <        </index> <        <hi style="font-size:12pt">. Note that the index terms can be in Word also formatted</hi> <        <index indexName="XE"> <          <term>formatting</term> <        </index> <        <hi style="font-size:12pt">, which is lost in the TEI. We can have ranges though, like this</hi> <        <index indexName="XE" spanTo="#foo"> <          <term>Range</term> <          <index> <            <term>Subrange</term> <          </index> <        </index> <        <hi style="font-size:12pt">.</hi> <      </p> <      <p> <        <hi rend="underline" style="font-size:12pt" xml:space="preserve">This is a simpler paragraph with a word in </hi> <        <hi rend="italic underline" style="font-size:12pt">italic</hi> <        <hi rend="underline" style="font-size:12pt" xml:space="preserve"> in the middle, though the whole paragraph is underlined</hi> <        <hi style="font-size:12pt">.</hi> <      </p> ---
      <p><anchor xml:id="foo"/>Here we are talking about the Web<index indexName="XE"><term>Web</term></index>, about Web services<index indexName="XE"><term>Web</term><index><term>Web service</term></index></index>, and Web apps<index indexName="XE"><term>Web</term><index><term>Web app</term></index></index>, but also about bugs<index indexName="XE"><term>bugs</term><index><term>horrible bugs<ref type="xr">See bugs</ref></term></index></index> and errors<index indexName="XE"><term>error</term></index>. Note that the index terms can be in Word also formatted<index indexName="XE"><term>formatting</term></index>, which is lost in the TEI. We can have ranges though, like this<index indexName="XE" spanTo="#foo"><term>Range</term><index><term>Subrange</term></index></index>.</p>       <p><hi rend="underline" xml:space="preserve">This is a simpler paragraph with a word in </hi><hi rend="italic underline">italic</hi><hi rend="underline" xml:space="preserve"> in the middle, though the whole paragraph is underlined</hi>.</p> 98,124c50,57 <        <p rend="index 1"> <          <hi style="font-size:12pt" xml:space="preserve">bug. </hi> <          <hi rend="italic" style="font-size:12pt">See</hi> <          <hi style="font-size:12pt" xml:space="preserve"> error</hi> <        </p> <        <p rend="index 1"> <          <hi style="font-size:12pt">error, 1</hi> <        </p> <        <p rend="index 1"> <          <hi rend="bold" style="font-size:12pt">formatting</hi> <          <hi style="font-size:12pt">, 1</hi> <        </p> <        <p rend="index 1"> <          <hi style="font-size:12pt">Range</hi> <        </p> <        <p rend="index 2"> <          <hi style="font-size:12pt">Subrange, 1</hi> <        </p> <        <p rend="index 1"> <          <hi style="font-size:12pt">Web, 1</hi> <        </p> <        <p rend="index 2"> <          <hi style="font-size:12pt">Web app, 1</hi> <        </p> <        <p rend="index 2"> <          <hi style="font-size:12pt">Web service, 1</hi> <        </p>
        <p rend="index 1">bug. <hi rend="italic">See</hi> error</p>         <p rend="index 1">error, 1</p>         <p rend="index 1"><hi rend="bold">formatting</hi>, 1</p>         <p rend="index 1">Range</p>         <p rend="index 2">Subrange, 1</p>         <p rend="index 1">Web, 1</p>         <p rend="index 2">Web app, 1</p>         <p rend="index 2">Web service, 1</p>
See http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/2250/display/redirect ------------------------------------------ [...truncated 33.97 KB...] Convert test35.odd to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test35.rnc (tei to rnc) using profile default [echo] Do ODD expand processing (schema ) Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 14 seconds perl -p -i -e 's/generated from ODD source .*//' test35.rnc perl -i -pe 'BEGIN{undef $/;} s/# ?Schema[^#]+#[^#]+#[^#]+#[^#]+#\n//smg' test35.rnc if [ 0 -ne 1 ]; \ then diff test35.rnc expected-results/test35.rnc; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test38.htm ../html/html2tei.xsl useFixedDate=true | xmllint --format - > test38.xml UNTRANSLATED TAG noscript UNTRANSLATED TAG header UNTRANSLATED TAG hgroup UNTRANSLATED TAG nav UNTRANSLATED TAG header UNTRANSLATED TAG header UNTRANSLATED TAG form UNTRANSLATED TAG fieldset UNTRANSLATED TAG legend UNTRANSLATED TAG label UNTRANSLATED TAG input UNTRANSLATED TAG button UNTRANSLATED TAG select UNTRANSLATED TAG optgroup UNTRANSLATED TAG option UNTRANSLATED TAG option UNTRANSLATED TAG option UNTRANSLATED TAG textarea UNTRANSLATED TAG dfn UNTRANSLATED TAG mark UNTRANSLATED TAG meter UNTRANSLATED TAG time UNTRANSLATED TAG details UNTRANSLATED TAG nav if [ 0 -ne 1 ]; \ then diff test38.xml expected-results/test38.xml; fi BUILD: testing latex java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test.tex test.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test.tex expected-results/test.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:testnotes1.tex testnotes1.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff testnotes1.tex expected-results/testnotes1.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test5.tex test5.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test5.tex expected-results/test5.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test6.tex test6.xml ../slides/teilatex-slides.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test6.tex expected-results/test6.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test20.tex test20.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test20.tex expected-results/test20.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test23.tex test23.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test23.tex expected-results/test23.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test24.tex test24.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test24.tex expected-results/test24.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test25.tex test25.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test25.tex expected-results/test25.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test27.tex test27.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test27.tex expected-results/test27.tex; fi BUILD: testing fo java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test.fo test.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test.fo if [ 0 -ne 1 ]; \ then diff test.fo expected-results/test.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test5.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > test5.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test5.fo if [ 0 -ne 1 ]; \ then diff test5.fo expected-results/test5.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar testnotes1.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > testnotes1.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd testnotes1.fo if [ 0 -ne 1 ]; \ then diff testnotes1.fo expected-results/testnotes1.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test24.fo test24.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test24.fo if [ 0 -ne 1 ]; \ then diff test24.fo expected-results/test24.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test25.fo test25.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test25.fo if [ 0 -ne 1 ]; \ then diff test25.fo expected-results/test25.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test27.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > test27.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test27.fo if [ 0 -ne 1 ]; \ then diff test27.fo expected-results/test27.fo; fi BUILD: testing to-docx ../bin/teitodocx test.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test.xml.docx (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 8 seconds unzip -p test.xml.docx word/document.xml | xmllint --format - > test.xml.docx.document unzip -p test.xml.docx docProps/core.xml | xmllint --format - | sed 's/>20.*Z>20Z' > test.xml.docx.core if [ 0 -ne 1 ]; \ then diff test.xml.docx.document expected-results/test.xml.docx.document; fi if [ 0 -ne 1 ]; \ then diff test.xml.docx.core expected-results/test.xml.docx.core; fi rm test.xml.docx.document ../bin/teitodocx test6.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test6.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test6.xml.docx (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 6 seconds unzip -p test6.xml.docx word/document.xml | xmllint --format - > test6.xml.docx.document if [ 0 -ne 1 ]; \ then diff test6.xml.docx.document expected-results/test6.xml.docx.document; fi rm test6.xml.docx.document ../bin/teitodocx testnotes1.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert testnotes1.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/testnotes1.xml.do... (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 6 seconds unzip -p testnotes1.xml.docx word/document.xml | xmllint --format - > testnotes1.xml.docx.document if [ 0 -ne 1 ]; \ then diff testnotes1.xml.docx.document expected-results/testnotes1.xml.docx.document; fi rm testnotes1.xml.docx.document java -Djava.awt.headless=true -jar ../lib/saxon9he.jar testoucscourses.xml ../profiles/default/p4/from.xsl > testoucscoursesp5.xml ../bin/teitodocx --profile=oucscourses testoucscoursesp5.xml testoucscourses.xml.docx WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert testoucscoursesp5.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/testoucscourses.x... (tei to docx) using profile oucscourses Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 6 seconds rm testoucscourses.xml.docx testoucscoursesp5.xml BUILD: testing from-docx ../bin/docxtotei test-indexes.docx temp.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test-indexes.docx to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml (docx to tei) using profile default [echo] using http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx/... Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 4 seconds xmllint --format temp.xml | perl cleanup.pl > test-indexes.xml && rm temp.xml java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar test.rng test-indexes.xml if [ 0 -ne 1 ]; \ then diff test-indexes.xml expected-results/test-indexes.xml; fi 44,93c44,45 < <p> < <anchor xml:id="foo"/> < <hi style="font-size:12pt">Here we are talking about the Web</hi> < <index indexName="XE"> < <term>Web</term> < </index> < <hi style="font-size:12pt">, about Web services</hi> < <index indexName="XE"> < <term>Web</term> < <index> < <term>Web service</term> < </index> < </index> < <hi style="font-size:12pt">, and Web apps</hi> < <index indexName="XE"> < <term>Web</term> < <index> < <term>Web app</term> < </index> < </index> < <hi style="font-size:12pt">, but also about bugs</hi> < <index indexName="XE"> < <term>bugs</term> < <index> < <term>horrible bugs<ref type="xr">See bugs</ref></term> < </index> < </index> < <hi style="font-size:12pt">and errors</hi> < <index indexName="XE"> < <term>error</term> < </index> < <hi style="font-size:12pt">. Note that the index terms can be in Word also formatted</hi> < <index indexName="XE"> < <term>formatting</term> < </index> < <hi style="font-size:12pt">, which is lost in the TEI. We can have ranges though, like this</hi> < <index indexName="XE" spanTo="#foo"> < <term>Range</term> < <index> < <term>Subrange</term> < </index> < </index> < <hi style="font-size:12pt">.</hi> < </p> < <p> < <hi rend="underline" style="font-size:12pt" xml:space="preserve">This is a simpler paragraph with a word in </hi> < <hi rend="italic underline" style="font-size:12pt">italic</hi> < <hi rend="underline" style="font-size:12pt" xml:space="preserve"> in the middle, though the whole paragraph is underlined</hi> < <hi style="font-size:12pt">.</hi> < </p> ---
<p><anchor xml:id="foo"/>Here we are talking about the Web<index indexName="XE"><term>Web</term></index>, about Web services<index indexName="XE"><term>Web</term><index><term>Web service</term></index></index>, and Web apps<index indexName="XE"><term>Web</term><index><term>Web app</term></index></index>, but also about bugs<index indexName="XE"><term>bugs</term><index><term>horrible bugs<ref type="xr">See bugs</ref></term></index></index> and errors<index indexName="XE"><term>error</term></index>. Note that the index terms can be in Word also formatted<index indexName="XE"><term>formatting</term></index>, which is lost in the TEI. We can have ranges though, like this<index indexName="XE" spanTo="#foo"><term>Range</term><index><term>Subrange</term></index></index>.</p> <p><hi rend="underline" xml:space="preserve">This is a simpler paragraph with a word in </hi><hi rend="italic underline">italic</hi><hi rend="underline" xml:space="preserve"> in the middle, though the whole paragraph is underlined</hi>.</p>
98,124c50,57 < <p rend="index 1"> < <hi style="font-size:12pt" xml:space="preserve">bug. </hi> < <hi rend="italic" style="font-size:12pt">See</hi> < <hi style="font-size:12pt" xml:space="preserve"> error</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">error, 1</hi> < </p> < <p rend="index 1"> < <hi rend="bold" style="font-size:12pt">formatting</hi> < <hi style="font-size:12pt">, 1</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">Range</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Subrange, 1</hi> < </p> < <p rend="index 1"> < <hi style="font-size:12pt">Web, 1</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Web app, 1</hi> < </p> < <p rend="index 2"> < <hi style="font-size:12pt">Web service, 1</hi> < </p> ---
<p rend="index 1">bug. <hi rend="italic">See</hi> error</p> <p rend="index 1">error, 1</p> <p rend="index 1"><hi rend="bold">formatting</hi>, 1</p> <p rend="index 1">Range</p> <p rend="index 2">Subrange, 1</p> <p rend="index 1">Web, 1</p> <p rend="index 2">Web app, 1</p> <p rend="index 2">Web service, 1</p>
make[1]: *** [test-from-docx] Error 1 make[1]: Leaving directory `http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test' make: *** [test] Error 2 Build step 'Execute shell' marked build as failure Archiving artifacts
See http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/2251/display/redirect?pag... Changes: [s.bauman] Re-create expected results w/ @martindholmes at Council meeting, scanned ------------------------------------------ [...truncated 30.66 KB...] BUILD SUCCESSFUL Total time: 15 seconds perl -p -i -e 's/generated from ODD source .*//' test33.rnc perl -i -pe 'BEGIN{undef $/;} s/# ?Schema[^#]+#[^#]+#[^#]+#[^#]+#\n//smg' test33.rnc if [ 0 -ne 1 ]; \ then diff test33.rnc expected-results/test33.rnc; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test33.odd ../odds/odd2json.xsl > test33.json perl -p -i -e 's/"date":"\d+-\d+\-\d+T\d+:\d+:\d+Z",//' test33.json if [ 0 -ne 1 ]; \ then diff test33.json expected-results/test33.json; fi ../bin/teitornc test34.odd test34.rnc WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test34.odd to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test34.rnc (tei to rnc) using profile default [echo] Do ODD expand processing (schema ) Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 16 seconds perl -p -i -e 's/generated from ODD source .*//' test34.rnc perl -i -pe 'BEGIN{undef $/;} s/# ?Schema[^#]+#[^#]+#[^#]+#[^#]+#\n//smg' test34.rnc if [ 0 -ne 1 ]; \ then diff test34.rnc expected-results/test34.rnc; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test34.odd ../odds/odd2json.xsl > test34.json perl -p -i -e 's/"date":"\d+-\d+\-\d+T\d+:\d+:\d+Z",//' test34.json if [ 0 -ne 1 ]; \ then diff test34.json expected-results/test34.json; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test34.odd ../odds/odd2odd.xsl > test34.combined.odd java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test34.combined.odd ../odds/odd2json.xsl > test34.combined.json perl -p -i -e 's/"date":"\d+-\d+\-\d+T\d+:\d+:\d+Z",//' test34.combined.json if [ 0 -ne 1 ]; \ then diff test34.combined.json expected-results/test34.combined.json; fi ../bin/teitohtml --odd --summaryDoc test34.odd test34.odd.html WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test34.odd to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test34.odd.html (tei to html) using profile default [echo] Do ODD expand processing and conversion to TEI Lite (schema ) Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored [echo] XSLT generate HTML files (language en) Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 19 seconds xmllint --encode utf-8 --format test34.odd.html | perl cleanup.pl> test.temp ; mv test.temp test34.odd.html if [ 0 -ne 1 ]; \ then diff test34.odd.html expected-results/test34.odd.html; fi ../bin/teitornc test35.odd test35.rnc WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test35.odd to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test35.rnc (tei to rnc) using profile default [echo] Do ODD expand processing (schema ) Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 16 seconds perl -p -i -e 's/generated from ODD source .*//' test35.rnc perl -i -pe 'BEGIN{undef $/;} s/# ?Schema[^#]+#[^#]+#[^#]+#[^#]+#\n//smg' test35.rnc if [ 0 -ne 1 ]; \ then diff test35.rnc expected-results/test35.rnc; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test38.htm ../html/html2tei.xsl useFixedDate=true | xmllint --format - > test38.xml UNTRANSLATED TAG noscript UNTRANSLATED TAG header UNTRANSLATED TAG hgroup UNTRANSLATED TAG nav UNTRANSLATED TAG header UNTRANSLATED TAG header UNTRANSLATED TAG form UNTRANSLATED TAG fieldset UNTRANSLATED TAG legend UNTRANSLATED TAG label UNTRANSLATED TAG input UNTRANSLATED TAG button UNTRANSLATED TAG select UNTRANSLATED TAG optgroup UNTRANSLATED TAG option UNTRANSLATED TAG option UNTRANSLATED TAG option UNTRANSLATED TAG textarea UNTRANSLATED TAG dfn UNTRANSLATED TAG mark UNTRANSLATED TAG meter UNTRANSLATED TAG time UNTRANSLATED TAG details UNTRANSLATED TAG nav if [ 0 -ne 1 ]; \ then diff test38.xml expected-results/test38.xml; fi BUILD: testing latex java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test.tex test.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test.tex expected-results/test.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:testnotes1.tex testnotes1.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff testnotes1.tex expected-results/testnotes1.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test5.tex test5.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test5.tex expected-results/test5.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test6.tex test6.xml ../slides/teilatex-slides.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test6.tex expected-results/test6.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test20.tex test20.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test20.tex expected-results/test20.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test23.tex test23.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test23.tex expected-results/test23.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test24.tex test24.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test24.tex expected-results/test24.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test25.tex test25.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test25.tex expected-results/test25.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test27.tex test27.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test27.tex expected-results/test27.tex; fi BUILD: testing fo java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test.fo test.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test.fo if [ 0 -ne 1 ]; \ then diff test.fo expected-results/test.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test5.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > test5.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test5.fo if [ 0 -ne 1 ]; \ then diff test5.fo expected-results/test5.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar testnotes1.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > testnotes1.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd testnotes1.fo if [ 0 -ne 1 ]; \ then diff testnotes1.fo expected-results/testnotes1.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test24.fo test24.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test24.fo if [ 0 -ne 1 ]; \ then diff test24.fo expected-results/test24.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test25.fo test25.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test25.fo if [ 0 -ne 1 ]; \ then diff test25.fo expected-results/test25.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test27.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > test27.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test27.fo if [ 0 -ne 1 ]; \ then diff test27.fo expected-results/test27.fo; fi BUILD: testing to-docx ../bin/teitodocx test.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test.xml.docx (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 8 seconds unzip -p test.xml.docx word/document.xml | xmllint --format - > test.xml.docx.document unzip -p test.xml.docx docProps/core.xml | xmllint --format - | sed 's/>20.*Z>20Z' > test.xml.docx.core if [ 0 -ne 1 ]; \ then diff test.xml.docx.document expected-results/test.xml.docx.document; fi if [ 0 -ne 1 ]; \ then diff test.xml.docx.core expected-results/test.xml.docx.core; fi rm test.xml.docx.document ../bin/teitodocx test6.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test6.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test6.xml.docx (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 6 seconds unzip -p test6.xml.docx word/document.xml | xmllint --format - > test6.xml.docx.document if [ 0 -ne 1 ]; \ then diff test6.xml.docx.document expected-results/test6.xml.docx.document; fi rm test6.xml.docx.document ../bin/teitodocx testnotes1.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert testnotes1.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/testnotes1.xml.do... (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 6 seconds unzip -p testnotes1.xml.docx word/document.xml | xmllint --format - > testnotes1.xml.docx.document if [ 0 -ne 1 ]; \ then diff testnotes1.xml.docx.document expected-results/testnotes1.xml.docx.document; fi rm testnotes1.xml.docx.document java -Djava.awt.headless=true -jar ../lib/saxon9he.jar testoucscourses.xml ../profiles/default/p4/from.xsl > testoucscoursesp5.xml ../bin/teitodocx --profile=oucscourses testoucscoursesp5.xml testoucscourses.xml.docx WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert testoucscoursesp5.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/testoucscourses.x... (tei to docx) using profile oucscourses Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 6 seconds rm testoucscourses.xml.docx testoucscoursesp5.xml BUILD: testing from-docx ../bin/docxtotei test-indexes.docx temp.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test-indexes.docx to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml (docx to tei) using profile default [echo] using http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx/... Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 5 seconds xmllint --format temp.xml | perl cleanup.pl > test-indexes.xml && rm temp.xml java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar test.rng test-indexes.xml if [ 0 -ne 1 ]; \ then diff test-indexes.xml expected-results/test-indexes.xml; fi ../bin/docxtotei test11.docx temp.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test11.docx to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml (docx to tei) using profile default [echo] using http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx/... Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 7 seconds xmllint --format temp.xml | perl cleanup.pl> test11.xml && rm temp.xml java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar test.rng test11.xml if [ 0 -ne 1 ]; \ then diff test11.xml expected-results/test11.xml; fi ../bin/docxtotei --profile=sciencejournal test11.docx temp.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test11.docx to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml (docx to tei) using profile sciencejournal [echo] using http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/sciencejourna... Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 7 seconds xmllint --format temp.xml | perl cleanup.pl> test11a.xml && rm temp.xml if [ 0 -ne 1 ]; \ then diff test11a.xml expected-results/test11a.xml; fi ../bin/docxtotei test19.docx temp.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test19.docx to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml (docx to tei) using profile default [echo] using http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx/... Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 5 seconds xmllint --format temp.xml | perl cleanup.pl > test19.xml && rm temp.xml java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar test.rng test19.xml http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test19.xml:101:78: error: attribute "tei:align" not allowed here; expected attribute "cert", "change", "cols", "copyOf", "corresp", "exclude", "facs", "n", "next", "prev", "rend", "rendition", "resp", "role", "rows", "sameAs", "select", "source", "style", "synch", "xml:base", "xml:id", "xml:lang" or "xml:space" http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test19.xml:102:78: error: attribute "tei:align" not allowed here; expected attribute "cert", "change", "cols", "copyOf", "corresp", "exclude", "facs", "n", "next", "prev", "rend", "rendition", "resp", "role", "rows", "sameAs", "select", "source", "style", "synch", "xml:base", "xml:id", "xml:lang" or "xml:space" http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test19.xml:103:78: error: attribute "tei:align" not allowed here; expected attribute "cert", "change", "cols", "copyOf", "corresp", "exclude", "facs", "n", "next", "prev", "rend", "rendition", "resp", "role", "rows", "sameAs", "select", "source", "style", "synch", "xml:base", "xml:id", "xml:lang" or "xml:space" http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test19.xml:104:78: error: attribute "tei:align" not allowed here; expected attribute "cert", "change", "cols", "copyOf", "corresp", "exclude", "facs", "n", "next", "prev", "rend", "rendition", "resp", "role", "rows", "sameAs", "select", "source", "style", "synch", "xml:base", "xml:id", "xml:lang" or "xml:space" http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test19.xml:105:78: error: attribute "tei:align" not allowed here; expected attribute "cert", "change", "cols", "copyOf", "corresp", "exclude", "facs", "n", "next", "prev", "rend", "rendition", "resp", "role", "rows", "sameAs", "select", "source", "style", "synch", "xml:base", "xml:id", "xml:lang" or "xml:space" http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test19.xml:108:78: error: attribute "tei:align" not allowed here; expected attribute "cert", "change", "cols", "copyOf", "corresp", "exclude", "facs", "n", "next", "prev", "rend", "rendition", "resp", "role", "rows", "sameAs", "select", "source", "style", "synch", "xml:base", "xml:id", "xml:lang" or "xml:space" http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test19.xml:109:78: error: attribute "tei:align" not allowed here; expected attribute "cert", "change", "cols", "copyOf", "corresp", "exclude", "facs", "n", "next", "prev", "rend", "rendition", "resp", "role", "rows", "sameAs", "select", "source", "style", "synch", "xml:base", "xml:id", "xml:lang" or "xml:space" http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test19.xml:110:78: error: attribute "tei:align" not allowed here; expected attribute "cert", "change", "cols", "copyOf", "corresp", "exclude", "facs", "n", "next", "prev", "rend", "rendition", "resp", "role", "rows", "sameAs", "select", "source", "style", "synch", "xml:base", "xml:id", "xml:lang" or "xml:space" http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test19.xml:111:78: error: attribute "tei:align" not allowed here; expected attribute "cert", "change", "cols", "copyOf", "corresp", "exclude", "facs", "n", "next", "prev", "rend", "rendition", "resp", "role", "rows", "sameAs", "select", "source", "style", "synch", "xml:base", "xml:id", "xml:lang" or "xml:space" http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test19.xml:112:78: error: attribute "tei:align" not allowed here; expected attribute "cert", "change", "cols", "copyOf", "corresp", "exclude", "facs", "n", "next", "prev", "rend", "rendition", "resp", "role", "rows", "sameAs", "select", "source", "style", "synch", "xml:base", "xml:id", "xml:lang" or "xml:space" make[1]: *** [test-from-docx] Error 1 make[1]: Leaving directory `http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test' make: *** [test] Error 2 Build step 'Execute shell' marked build as failure Archiving artifacts
See http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/2252/display/redirect?pag... Changes: [martindholmes] Non-existent @tei:align attribute in output; changing to @rend. ------------------------------------------ [...truncated 31.51 KB...] BUILD SUCCESSFUL Total time: 15 seconds perl -p -i -e 's/generated from ODD source .*//' test34.rnc perl -i -pe 'BEGIN{undef $/;} s/# ?Schema[^#]+#[^#]+#[^#]+#[^#]+#\n//smg' test34.rnc if [ 0 -ne 1 ]; \ then diff test34.rnc expected-results/test34.rnc; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test34.odd ../odds/odd2json.xsl > test34.json perl -p -i -e 's/"date":"\d+-\d+\-\d+T\d+:\d+:\d+Z",//' test34.json if [ 0 -ne 1 ]; \ then diff test34.json expected-results/test34.json; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test34.odd ../odds/odd2odd.xsl > test34.combined.odd java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test34.combined.odd ../odds/odd2json.xsl > test34.combined.json perl -p -i -e 's/"date":"\d+-\d+\-\d+T\d+:\d+:\d+Z",//' test34.combined.json if [ 0 -ne 1 ]; \ then diff test34.combined.json expected-results/test34.combined.json; fi ../bin/teitohtml --odd --summaryDoc test34.odd test34.odd.html WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test34.odd to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test34.odd.html (tei to html) using profile default [echo] Do ODD expand processing and conversion to TEI Lite (schema ) Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored [echo] XSLT generate HTML files (language en) Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 17 seconds xmllint --encode utf-8 --format test34.odd.html | perl cleanup.pl> test.temp ; mv test.temp test34.odd.html if [ 0 -ne 1 ]; \ then diff test34.odd.html expected-results/test34.odd.html; fi ../bin/teitornc test35.odd test35.rnc WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test35.odd to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test35.rnc (tei to rnc) using profile default [echo] Do ODD expand processing (schema ) Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 14 seconds perl -p -i -e 's/generated from ODD source .*//' test35.rnc perl -i -pe 'BEGIN{undef $/;} s/# ?Schema[^#]+#[^#]+#[^#]+#[^#]+#\n//smg' test35.rnc if [ 0 -ne 1 ]; \ then diff test35.rnc expected-results/test35.rnc; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test38.htm ../html/html2tei.xsl useFixedDate=true | xmllint --format - > test38.xml UNTRANSLATED TAG noscript UNTRANSLATED TAG header UNTRANSLATED TAG hgroup UNTRANSLATED TAG nav UNTRANSLATED TAG header UNTRANSLATED TAG header UNTRANSLATED TAG form UNTRANSLATED TAG fieldset UNTRANSLATED TAG legend UNTRANSLATED TAG label UNTRANSLATED TAG input UNTRANSLATED TAG button UNTRANSLATED TAG select UNTRANSLATED TAG optgroup UNTRANSLATED TAG option UNTRANSLATED TAG option UNTRANSLATED TAG option UNTRANSLATED TAG textarea UNTRANSLATED TAG dfn UNTRANSLATED TAG mark UNTRANSLATED TAG meter UNTRANSLATED TAG time UNTRANSLATED TAG details UNTRANSLATED TAG nav if [ 0 -ne 1 ]; \ then diff test38.xml expected-results/test38.xml; fi BUILD: testing latex java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test.tex test.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test.tex expected-results/test.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:testnotes1.tex testnotes1.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff testnotes1.tex expected-results/testnotes1.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test5.tex test5.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test5.tex expected-results/test5.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test6.tex test6.xml ../slides/teilatex-slides.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test6.tex expected-results/test6.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test20.tex test20.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test20.tex expected-results/test20.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test23.tex test23.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test23.tex expected-results/test23.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test24.tex test24.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test24.tex expected-results/test24.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test25.tex test25.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test25.tex expected-results/test25.tex; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test27.tex test27.xml ../latex/latex.xsl useFixedDate=true if [ 0 -ne 1 ]; \ then diff test27.tex expected-results/test27.tex; fi BUILD: testing fo java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test.fo test.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test.fo if [ 0 -ne 1 ]; \ then diff test.fo expected-results/test.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test5.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > test5.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test5.fo if [ 0 -ne 1 ]; \ then diff test5.fo expected-results/test5.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar testnotes1.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > testnotes1.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd testnotes1.fo if [ 0 -ne 1 ]; \ then diff testnotes1.fo expected-results/testnotes1.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test24.fo test24.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test24.fo if [ 0 -ne 1 ]; \ then diff test24.fo expected-results/test24.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar -o:test25.fo test25.xml ../fo/fo.xsl useFixedDate=true java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test25.fo if [ 0 -ne 1 ]; \ then diff test25.fo expected-results/test25.fo; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test27.xml ../fo/fo.xsl useFixedDate=true | xmllint --format - > test27.fo java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar fo.xsd test27.fo if [ 0 -ne 1 ]; \ then diff test27.fo expected-results/test27.fo; fi BUILD: testing to-docx ../bin/teitodocx test.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test.xml.docx (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 8 seconds unzip -p test.xml.docx word/document.xml | xmllint --format - > test.xml.docx.document unzip -p test.xml.docx docProps/core.xml | xmllint --format - | sed 's/>20.*Z>20Z' > test.xml.docx.core if [ 0 -ne 1 ]; \ then diff test.xml.docx.document expected-results/test.xml.docx.document; fi if [ 0 -ne 1 ]; \ then diff test.xml.docx.core expected-results/test.xml.docx.core; fi rm test.xml.docx.document ../bin/teitodocx test6.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test6.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test6.xml.docx (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 6 seconds unzip -p test6.xml.docx word/document.xml | xmllint --format - > test6.xml.docx.document if [ 0 -ne 1 ]; \ then diff test6.xml.docx.document expected-results/test6.xml.docx.document; fi rm test6.xml.docx.document ../bin/teitodocx testnotes1.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert testnotes1.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/testnotes1.xml.do... (tei to docx) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 6 seconds unzip -p testnotes1.xml.docx word/document.xml | xmllint --format - > testnotes1.xml.docx.document if [ 0 -ne 1 ]; \ then diff testnotes1.xml.docx.document expected-results/testnotes1.xml.docx.document; fi rm testnotes1.xml.docx.document java -Djava.awt.headless=true -jar ../lib/saxon9he.jar testoucscourses.xml ../profiles/default/p4/from.xsl > testoucscoursesp5.xml ../bin/teitodocx --profile=oucscourses testoucscoursesp5.xml testoucscourses.xml.docx WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert testoucscoursesp5.xml to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/testoucscourses.x... (tei to docx) using profile oucscourses Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 6 seconds rm testoucscourses.xml.docx testoucscoursesp5.xml BUILD: testing from-docx ../bin/docxtotei test-indexes.docx temp.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test-indexes.docx to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml (docx to tei) using profile default [echo] using http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx/... Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 4 seconds xmllint --format temp.xml | perl cleanup.pl > test-indexes.xml && rm temp.xml java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar test.rng test-indexes.xml if [ 0 -ne 1 ]; \ then diff test-indexes.xml expected-results/test-indexes.xml; fi ../bin/docxtotei test11.docx temp.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test11.docx to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml (docx to tei) using profile default [echo] using http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx/... Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 6 seconds xmllint --format temp.xml | perl cleanup.pl> test11.xml && rm temp.xml java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar test.rng test11.xml if [ 0 -ne 1 ]; \ then diff test11.xml expected-results/test11.xml; fi ../bin/docxtotei --profile=sciencejournal test11.docx temp.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test11.docx to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml (docx to tei) using profile sciencejournal [echo] using http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/sciencejourna... Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 7 seconds xmllint --format temp.xml | perl cleanup.pl> test11a.xml && rm temp.xml if [ 0 -ne 1 ]; \ then diff test11a.xml expected-results/test11a.xml; fi ../bin/docxtotei test19.docx temp.xml WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test19.docx to http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.xml (docx to tei) using profile default [echo] using http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/profiles/default/docx/... Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 4 seconds xmllint --format temp.xml | perl cleanup.pl > test19.xml && rm temp.xml java -Djava.awt.headless=true -jar ../lib/lib/jing-20120724.0.0.jar test.rng test19.xml if [ 0 -ne 1 ]; \ then diff test19.xml expected-results/test19.xml; fi 101,105c101,105 < <cell rend="left">A</cell> < <cell rend="left">B</cell> < <cell rend="left">C</cell> < <cell rend="left">D</cell> < <cell rend="left">E</cell> ---
<cell>A</cell> <cell>B</cell> <cell>C</cell> <cell>D</cell> <cell>E</cell>
108,112c108,112 < <cell rend="left">1</cell> < <cell rend="left">2</cell> < <cell rend="left">3</cell> < <cell rend="left">4</cell> < <cell rend="left">5</cell> ---
<cell>1</cell> <cell>2</cell> <cell>3</cell> <cell>4</cell> <cell>5</cell>
make[1]: *** [test-from-docx] Error 1 make[1]: Leaving directory `http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test' make: *** [test] Error 2 Build step 'Execute shell' marked build as failure Archiving artifacts
participants (4)
-
Lou Burnard
-
Martin Holmes
-
Syd Bauman
-
Victoria TEI Jenkins