
10 Jul
2017
10 Jul
'17
5:27 p.m.
See <http://teijenkins.hcmc.uvic.ca/job/Stylesheets/10/display/redirect?page=changes> Changes: [martindholmes] Saxon requirement should actually be libsaxonhe-java, not libsaxon-java. [philomousos] Post-release cleanup. [philomousos] More release followup. [Martin Holmes] Fix for typo mentioned in [ron.vandenbranden] improvements to processing of figure / table / list heads: -changed [martindholmes] Fix for first bug that shows up in odd-to-lite-to-fo processing being [martindholmes] Working on TEIC/Stylesheets#205, added a workaround to catch cases where [martindholmes] Previous commit had a bug. Correcting it. [martindholmes] Changing expected results for FO test output. [martindholmes] Fix for error in column count attribute when processing deprecation on [martindholmes] Newline missing from end of file in expected-results. [martindholmes] Expected results again. [martindholmes] Expected results again. [martindholmes] Expected results for fo have changed due to work on [martindholmes] Fixing column widths in embedded tables for attDef rendering as part of [martindholmes] Expected results for fo test27. [martindholmes] Continuing work on rendering issues for ODD to PDF via FO on ticket [martindholmes] Continuing work on rendering issues for ODD to PDF via FO on ticket [martindholmes] Expected results for test.fo. [martindholmes] Working on TEIC/Stylesheets#205, fixed bug in display of figure/graphic. [martindholmes] More tweaks to image display in FO rendering. [martindholmes] Tweak to table column width calculation to drop width results entirely [martindholmes] Expected results have changed for external graphics and tables in FO. [martindholmes] More expected-results fixes for change in table-column algorithm. [martindholmes] Fix for typo (dataref instead of dataRef). [martindholmes] Fix (I believe) for bug TEIC/Stylesheets#203. [martindholmes] Expected results have changed because of datatype display fix. [martindholmes] Forgot to commit minor tweaks to common stylesheets. [martindholmes] More tweaks for link creation as part of work on TEIC/Stylesheets#203. [martindholmes] Version file was not updated after the last release. [martindholmes] Working on ticket TEIC/Stylesheets#205, fixed issue of links to specs [martindholmes] Expected results have changed again. [martindholmes] More expected-results updates. [martindholmes] Beginning work on an experimental pure-ant approach to the Stylesheets [martindholmes] Minor change to Stylesheet Test/Makefile to change confusing filename. [martindholmes] Fix typo in Makefile. [martindholmes] Cannot get this Makefile tweak right. [martindholmes] Some progress with my experimental ant approach to Stylesheets tests. [martindholmes] Adding CSS symlink targets to the ant build file, to match what happens [martindholmes] First HTML target working in Test build file. Now have to disentangle [philomousos] Removing empty attLists. [philomousos] Reverting attList removal. [martindholmes] Moved ant test build code into a separate folder for clarity. [martindholmes] Backing out of tweaks to original Test folder. [martindholmes] More work on ant test stuff. [martindholmes] Test results have changed for some reason I don't understand, but the [martindholmes] Added more simple targets to test build file. [martindholmes] Working on ticket TEIC/Stylesheets#211: fixed issue where HTML i element [martindholmes] FO tests now running, but they throw up validation errors in test27.fo [martindholmes] Fix for missing list-item elements when processing listBibl/bibl to [martindholmes] Adding validation into two fo tests which mysteriously didn't have it, [martindholmes] More work on the ant version of the Tests. FO now working. [martindholmes] Fix for obsolete @type attribute on biblScope per TEIC/Stylesheets#213. [martindholmes] Fixed all instances of biblScope/@type in test27.xml as part of work on [martindholmes] Working on TEIC/Stylesheets#211, fixed test27.xml in my Test2 setup; [martindholmes] Adding RDF to Test2. [lou.burnard] expected results for latex conversion has changed [martindholmes] Removing build file now relocated to Test2. [lou.burnard] another expected result missing [martindholmes] Two generated files were not being cleaned up at the end of the Test [martindholmes] Make eTree testing files valid (although they're not currently used). [martindholmes] Another validity fix. [lou.burnard] add testClass odd [martindholmes] Revert "another expected result missing"; mistaken commmit by Lou. [martindholmes] Revert "expected results for latex conversion has changed"; mistaken [lou.burnard] replace test17 with a genuine P4 file [lou.burnard] simplify dtd to avoid validation [martindholmes] Making test14.xml valid, with advice from KH. [martindholmes] Copying updates to Test2. [martindholmes] Tweak to expected results from Lou's updated P4 conversion file. [lou.burnard] add new testODD to replace old test-pure and test-pure2 [lou.burnard] Add new testODD [martindholmes] Adding tests based on the new testODD.odd, but commented out for now [martindholmes] Adding experimental file that should be able to run transformations on [philomousos] Back off on @require constraints a bit. [philomousos] Better validation for anyElement/@require. [martindholmes] Removing unused test make target 'oddtree which depends on non-existent [martindholmes] Revert "Removing unused test make target 'oddtree which depends on [martindholmes] Fixing Test target 'oddtree' so that it actually works. It's neat. [martindholmes] Fixing minor bug in odd-to-tree.xsl, where attDef without @usage was [lou.burnard] fix conversion for spirales transcriptions [Martin Holmes] Avoiding inclusion of FOP in our repo by downloading it as required. [Martin Holmes] Fix ant bug: if:true, not unless:false. [Martin Holmes] Added download of open-source hyphenation jar for FOP, and configured a [Martin Holmes] Expected results changed because of foEngine=fop default. [Martin Holmes] Comments on the fact that localsource=DIR fails whereas [Martin Holmes] Comments on the fact that localsource=DIR fails whereas [Martin Holmes] Fix for https://github.com/TEIC/Stylesheets/issues/223, currently [Martin Holmes] Fix for https://github.com/TEIC/Stylesheets/issues/224. [Martin Holmes] Adding some basic handling for equations in docbook output. It would be [Martin Holmes] A couple of tweaks to handle text/front in the context of docbook. Down [martindholmes] Made FOP processing default; tested the possibility of downloading P5 [ron.vandenbranden] fixed labels for Appendix sections in PDF [lou.burnard] handle tabs better [ron.vandenbranden] made detection of identical authors in consecutive bibliography entries [s.bauman] just fix whitespace, etc [s.bauman] allow @type of idno to have any case [s.bauman] handle DOI <idno>s [Martin Holmes] Working on # to fix expected results in Stylesheet Tests: 1. Made [Martin Holmes] More work on Issue #206: Fixes for expected-results of test.27 tex and [s.bauman] change hard-coded default path (addressing #242) [Martin Holmes] Simple fix for https://github.com/TEIC/Stylesheets/issues/252: treat [philomousos] Fix for #245 [martindholmes] Updating expected results for FO test in Test2 due to work on [martindholmes] Testing parallelization of task execution per suggestion from Peter [martindholmes] Removing obsolete teiHeader/@type from test files. [martindholmes] Adding process to retrieve JEuclid jars for processing MathML with FOP. [martindholmes] Fixing empty line-height attribute bug in FO processing. [martindholmes] Change expected results for Test in fo. [martindholmes] Fix for namespace prefix issue in [s.bauman] bug fix: handle @width w/o @height With the stylesheets co-operative [s.bauman] Improve logic: Condense the two <choose> down to one in the logic for [s.bauman] Bug fix on prev commit: the negative one is an integer, not a string. [martindholmes] Implementing HTML to TEI test in ant test setup. [martindholmes] Naming files more meaningfully. [martindholmes] Adding test for P4 to P5 conversion to ant tests. [martindholmes] A bit of cleanup and renaming; adopted parallel approach to tests [martindholmes] Tweaks to feedback. [martindholmes] Reorganizing test folder structure to separate inputs from outputs; [martindholmes] Integrating Simple Print test into FO/PDF rendering, including images. [martindholmes] More folder cleanup. [martindholmes] More tidying up: get schemas out of the way. [martindholmes] Beginning to modularize the test setup. [martindholmes] Sorting out paths for graphics. [martindholmes] Cleaning up unnecessary prefixes. [martindholmes] Better filenames and helpful comments. [martindholmes] More meaningful names for files. [martindholmes] Fixing bad element name forname and fallout from it. [martindholmes] Fix for bad element name. [martindholmes] Give meaningful name to test file; make it valid. [Martin Holmes] Tweaks to rendition testing file. [Martin Holmes] Committing fix to test file [Martin Holmes] Changed results for https://github.com/TEIC/Stylesheets/issues/257. [martindholmes] Adding a readme so that folder is retained. [martindholmes] Clearer naming, fixes for expected results. [martindholmes] Replacing bad default language attribute in fo param (issue #223). [martindholmes] Fixing obvious error in the parsing of @xml:lang into country and [martindholmes] Fixed a bug in rendering of binaryObject for XSL:FO (issue 259). [martindholmes] Updated tests for base64 graphics in FO. [martindholmes] More work on binaryObject graphic rendering in FO (issue 223). [martindholmes] Updating expected-results for XSL:FO language identifier fix in issue [martindholmes] Working on binaryObject rendering for HTML with base64-encoded images [martindholmes] Changed expected-results because work on ticket 259 has got the [martindholmes] Starting work on odt, with the buildfile modularized as an experiment. [martindholmes] Working on ODT conversion/testing, and modularizing the test process. [martindholmes] Set basedir for fop and make sure relative paths to images work. [martindholmes] Reordered the contents of template.odt per issue 260 to attempt to solve [martindholmes] Working on ticket #260, the mimetype file is now uncompressed in the [martindholmes] Working on ticket #260, the mimetype file now (correctly) doesn't have a [martindholmes] Working on ticket #260, mimetype errors all gone now. [martindholmes] Working on ticket #260: down to a single error and some warnings. [martindholmes] Fix for expected-results from ODT work ticket #260. [martindholmes] Ticket #260: fixing final error from missing image in manifest. Only [martindholmes] Ticket #260: fixing remaining warnings. Output is now conformant and [martindholmes] More work on Test2: ODT to-and-from now working. [martindholmes] Clearer file naming in tests. [martindholmes] File reorganization and better filenames. [martindholmes] test-epub requires the css target to be run first. Nobody noticed [martindholmes] Testing moving the testing jars out of the test folder so they can be [Martin Holmes] Location of Jing has changed. [martindholmes] First work on docx in Test2; better approach to temp folders and [martindholmes] Test2 teitodocx stuff is working; I have left out a test for [martindholmes] First docxtotei test file working in Test2. [martindholmes] Three files now in docxtotei process in Test2. [martindholmes] Fix image paths. [martindholmes] Done for today on docx. Remaining conversions have major problems. [martindholmes] Fix for a couple of the bugs on issue #222. [martindholmes] Fulfilling feature request in issue #192: adding HTML handling for [martindholmes] Fixing expected-results fallout. [martindholmes] Forgot to commit the stylesheet changes that create the modified [martina.scholger] change address to span [martina.scholger] span.address selector with default properties of html:address added [ron.vandenbranden] added author names to author info [ron.vandenbranden] cosmetic fix [martindholmes] Fix in Test2/expected-results for merge of pull request on #261. [martindholmes] Fix in Test/expected-results for merge of pull request on #261. [ron.vandenbranden] fixed numbering for notes inside nested lists [s.bauman] Process other children of <classSpec> Implement change worked out on [s.bauman] Update test15 expected output for last check-in Apparently this one test [James Cummings] adding change for #275 [James Cummings] changing milestone to anchor [James Cummings] Point to local copy of xml.xsd [philomousos] Resolving #255. [s.bauman] Set up to create new release 7.43.0 ------------------------------------------ Started by an SCM change Building in workspace <http://teijenkins.hcmc.uvic.ca/job/Stylesheets/ws/> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/TEIC/Stylesheets.git # timeout=10 Fetching upstream changes from https://github.com/TEIC/Stylesheets.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/TEIC/Stylesheets.git +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 85c2fd991ed42e4a82f4b9e3f92cc425b5b38971 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 85c2fd991ed42e4a82f4b9e3f92cc425b5b38971 > git rev-list 4ea31e1ce04431ee49709141b81599760267d406 # timeout=10 > git tag -a -f -m Jenkins Build #10 jenkins-Stylesheets-10 # timeout=10 [workspace] $ /bin/bash -xe /tmp/jenkins3309781955168424957.sh + make clean test deb dist (for i in css/*; do rm -f `basename $i`;done) echo "" > test~ rm -f profile1.html profile2.html profile.xml find . -name "*~" | xargs rm rm -f tei-xsl-*.zip rm -rf tei-xsl_* rm -f Documentation/stylebear Documentation/style.xml Documentation/customize.xml Documentation/teixsl.html Documentation/index.xml rm -rf release dist (cd Test; make clean) make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/Stylesheets/ws/Test'> (cd ..; for i in css/*; do rm -f `basename $i`;done) rm -f test*.odd.rnc test*epub test*pdf test*rdf test*text test*.xml.docx test*.xml.odt test*.tex test*.fo *.html *.xhtml *~ dummy* test.html test3.html test4.html *aux *vrb *out *log *nav *ent *snm *toc *.end *.1 *.2 test.xsd test.zip test*.dtd test-indexes.xml test37.xml test38.xml test39.xml test40.xml rm -f test*.rnc test*.json test*.rnc test*.combined.odd test*listing* test*.tei test*.rng test*.html5 test*.processedodd *.isosch rm -f oddbyexample.* index*div*html rm -f testdrama.compiled.xml rm -f test5.odt test7.xml test18.xml test19.xml test-index.xml test7.zip test11.xml test9.docx test9.odt content.xml.odt.listing content.xml.odt test.xml.docx.core test7.docx rm -f A54031.xml dcr.result test-rtf2tei.xml test29.xml dcr.tmp xml.tmp rm -f xml.result rm -rf charts/ embeddings/ media/ _rels/ \[Content_Types\].xml rm -rf temp-dir-for-ant Pictures OEBPS META-INF mimetype files rm -f test.xlsx.xml *.result.tex *.result.pdf _slidelogo.png rm -f content.xml rm -f cocoatest*.xml make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/Stylesheets/ws/Test'> rm -rf tei-p5-xsl_* rm -rf tei-p5-xsl2_* (cd debian-tei-xsl/debian; rm -rf tei-xsl) rm -f teioo.jar rm -rf docx/ImageInfo/bin rm -f names.xml licensekey.txt runDoc.sh (for i in sciencejournal/*.html; do rm -f sciencejournal/`basename $i`;done) (for i in sciencejournal/*.xml; do rm -f sciencejournal/`basename $i`;done) BUILD Copy main XSL files test -d release/xsl/xml/tei/stylesheet || mkdir -p release/xsl/xml/tei/stylesheet/ for i in bibtex cocoa common csv docx dtd docbook epub epub3 fo html wordpress markdown html5 json latex latex nlm odd odds odt p4 pdf profiles/default rdf relaxng rnc schematron simple slides tbx tcp tite tools txt html xsd xlsx pdf verbatimxml ; do \ tar cf - $i | (cd release/xsl/xml/tei/stylesheet; tar xf - ); \ done java -jar lib/saxon9he.jar -it:main tools/getnames.xsl > names.xml BUILD Copy common files and documentation test -d release/xslcommon/xml/tei/stylesheet || mkdir -p release/xslcommon/xml/tei/stylesheet cp names.xml catalog.xml VERSION css/*.css i18n.xml release/xslcommon/xml/tei/stylesheet sh ./tools/mydch debian-tei-xsl/debian/changelog update debian changelog with 7.43.0 BUILD Run tests (cd Test; make) make[1]: Entering directory `<http://teijenkins.hcmc.uvic.ca/job/Stylesheets/ws/Test'> ../bin/teitorelaxng --odd test.odd test.rng WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test.odd to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets/ws/Test/test.rng> (tei to relaxng) using profile default [echo] Do ODD expand processing (schema ) Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 17 seconds perl -i -p -e 's/generated from ODD source.*//' test.rng xmllint --format test.rng > temp; mv temp test.rng perl -i -pe 'BEGIN{undef $/;} s/<!--\n ?Schema[^>]+>//smg' test.rng if [ 0 -ne 1 ]; \ then diff test.rng expected-results/test.rng; fi (cd ..; for i in css/*; do test -f `basename $i` || ln -s $i `basename $i`;done) BUILD: testing html java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test.xml ../html/html.xsl cssFile=../tei.css useFixedDate=true | xmllint --format - > test.html if [ 0 -ne 1 ]; \ then diff test.html expected-results/test.html; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test.html checklinks.xsl java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test.xml ../html/html.xsl cssFile=../tei.css pageLayout=Complex useFixedDate=true | xmllint --format - > test-complex.html if [ 0 -ne 1 ]; \ then diff test-complex.html expected-results/test-complex.html; fi java -Djava.awt.headless=true -jar ../lib/saxon9he.jar test.xml ../profiles/ota/html/to.xsl cssFile=../tei.css useFixedDate=true | xmllint --format - | perl cleanup.pl > test-ota.html if [ 0 -ne 1 ]; \ then diff test-ota.html expected-results/test-ota.html; fi ../bin/teitohtml5 test.xml test.html5 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/ws/Test/test.html5> (tei to html5) using profile default [echo] XSLT generate HTML files (language en) Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 5 seconds xmllint --encode utf-8 --format test.html5 | perl cleanup.pl > test.temp mv test.temp test.html5 if [ 0 -ne 1 ]; \ then diff test.html5 expected-results/test.html5; fi 880d879 < make[1]: *** [test-to-html] Error 1 make[1]: Leaving directory `<http://teijenkins.hcmc.uvic.ca/job/Stylesheets/ws/Test'> make: *** [test] Error 2 Build step 'Execute shell' marked build as failure Archiving artifacts