
See <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/4/display/redirect?page=changes> Changes: [raffaeleviglianti] Rewrote odd2json.xsl using XSLT3 for better JSON generation. [raffaeleviglianti] Restructured JSON to divide and conquer [raffaeleviglianti] some adjustments related to attributes [raffaeleviglianti] changes related to attributes processing [raffaeleviglianti] A few adjustments and representing datatypes for attributes ------------------------------------------ [...truncated 25.28 KB...] BUILD SUCCESSFUL Total time: 7 seconds WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert maria.xml to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/teitohtml5.result> (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: 7 seconds WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert maria.xml to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/teitojson.result> (tei to json) using profile default Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 2 seconds WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert maria.xml to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/teitolatex.result> (tei to latex) 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: 7 seconds WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert maria.xml to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/teitoodt.result> (tei to odt) using profile default [echo] Converting <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/maria.xml> into <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/teitoodt.result> 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 WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert maria.xml to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/teitopdf.result> (tei to pdf) using profile default Warning: XML resolver not found; external catalogs will be ignored Warning: XML resolver not found; external catalogs will be ignored [echo] Running XeLaTeX on <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/teitopdf.result.tex> in <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test> [echo] Rename <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/teitopdf.result.pdf> to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/teitopdf.result,> and delete <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/teitopdf.result.tex> BUILD SUCCESSFUL Total time: 10 seconds WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert maria.xml to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/teitordf.result> (tei to rdf) using profile default Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 3 seconds WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert maria.xml to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/teitotxt.result> (tei to txt) using profile default Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 4 seconds ../bin/teitoodd test16.odd temp.odd WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test16.odd to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/temp.odd> (tei to odd) using profile default [echo] Do ODD expand processing (schema ) BUILD SUCCESSFUL Total time: 9 seconds for i in teitornc teitorelaxng teitoxsd teitodtd ; do ../bin/$i temp.odd $i.result && rm $i.result; done WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert temp.odd to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/teitornc.result> (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: 15 seconds WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert temp.odd to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/teitorelaxng.result> (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: 13 seconds WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert temp.odd to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/teitoxsd.result> (tei to xsd) using profile default [echo] Do ODD expand processing (schema ) Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 15 seconds WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert temp.odd to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/teitodtd.result> (tei to dtd) using profile default [echo] Do ODD expand processing (schema ) Warning: XML resolver not found; external catalogs will be ignored BUILD SUCCESSFUL Total time: 24 seconds rm temp.odd BUILD: testing namespaces ../bin/teitornc test33.odd test33.rnc WARNING: No localsource set. Will get a copy from http://www.tei-c.org/Vault/P5/. Convert test33.odd to <http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test/test33.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: 20 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 1,124c1,8 < < { "title" : "Namespace Test", < "edition" : "", < "generator" : "odd2json3", < "date" : "2018-08-28T19:24:28Z", < "modules" : < [ ], < "moduleRefs" : < [ < { "key" : "core", < "desc" : < [ ], < "shortDesc" : "", < "gloss" : < [ ] }, < < { "key" : "header", < "desc" : < [ ], < "shortDesc" : "", < "gloss" : < [ ] }, < < { "key" : "linking", < "desc" : < [ ], < "shortDesc" : "", < "gloss" : < [ ] }, < < { "key" : "tei", < "desc" : < [ ], < "shortDesc" : "", < "gloss" : < [ ] }, < < { "key" : "textstructure", < "desc" : < [ ], < "shortDesc" : "", < "gloss" : < [ ] } ], < "elements" : < [ < { "ident" : "cit", < "ns" : "http:\/\/foo.foo\/foo", < "type" : "elementSpec", < "module" : "", < "desc" : < [ "<desc xmlns=\"http:\/\/www.tei-c.org\/ns\/1.0\">\n This element encodes a citation according to the foo standard.\n <\/desc>" ], < "shortDesc" : "\n This element encodes a citation according to the foo standard.\n ", < "gloss" : < [ ], < "altIdent" : < [ ], < "classes" : < { "model" : < [ ], < "atts" : < [ ] }, < "attributes" : < [ < { "onElement" : true, < "ident" : "q", < "mode" : "add", < "ns" : "", < "usage" : "def", < "desc" : < [ ], < "shortDesc" : "", < "gloss" : < [ ], < "altIdent" : < [ ], < "valDesc" : < [ ], < "datatype" : < { "min" : "1", < "max" : "1", < "dataRef" : < { } } }, < < { "onElement" : true, < "ident" : "r", < "mode" : "add", < "ns" : "http:\/\/blah.blah\/blah", < "usage" : "def", < "desc" : < [ ], < "shortDesc" : "", < "gloss" : < [ ], < "altIdent" : < [ ], < "valDesc" : < [ ], < "datatype" : < { "min" : "1", < "max" : "1", < "dataRef" : < { } } } ], < "content" : < [ < { "type" : "ref" }, < < { "type" : "oneOrMore" }, < < { "type" : "text" } ] } ], < "classes" : < { "models" : < [ ], < "attributes" : < [ ] }, < "elementRefs" : < [ ], < "classRefs" : < [ ], < "macros" : < [ ], < "datatypes" : < [ ], < "macroRefs" : < [ ] } \ No newline at end of file ---
{"title": "Namespace Test","edition": "","generator": "odd2json", "modules": [],"moduleRefs": [{"key":"core","desc":""}, {"key":"header","desc":""}, {"key":"linking","desc":""}, {"key":"tei","desc":""}, {"key":"textstructure","desc":""} ],"members": [{"ident":"cit","ns":"http://foo.foo/foo","type":"elementSpec","module":"","desc":"This element encodes a citation according to the foo standard.","classes":[{"model.quoteLike":""}],"model":"TEXT","attributes":[{"ident":"q","desc":""},{"ident":"r","ns":"http://blah.blah/blah","desc":""}],"classattributes":[]} ],"elementRefs": [],"modelclasses": [],"classRefs": [],"macros": [],"macroRefs": []} \ No newline at end of file Makefile:474: recipe for target 'test-namespaces' failed make[1]: *** [test-namespaces] Error 1 make[1]: Leaving directory '<http://teijenkins.hcmc.uvic.ca/job/Stylesheets-dev/ws/Test'> Makefile:104: recipe for target 'test' failed make: *** [test] Error 2 Build step 'Execute shell' marked build as failure Archiving artifacts