Skip to content

Commit

Permalink
Release 7.50.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
hcayless committed Aug 19, 2020
2 parents 56b1bfc + 7fe81f9 commit 191295c
Show file tree
Hide file tree
Showing 113 changed files with 74,128 additions and 5,192 deletions.
259 changes: 259 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,262 @@
2020-08-19 Hugh Cayless <philomousos@gmail.com>

Updating p5subset.xml

Setting VERSION.

2020-08-14 martindholmes <mholmes@uvic.ca>

Fix for issue #456.

2020-08-12 Peter Stadler <stadlerpeter@yahoo.fr>

minor update for pureODD

adjust function signature
@nikobeer reported the error message "An empty sequence is not allowed as the result of call to tei:i18n". In fact, the `xsl:for-each` (https://github.com/TEIC/Stylesheets/blob/fec23117724718edf72bbc48ad44cd9d1b161dec/common/functions.xsl#L616-L634) may result in zeroOrMore strings so I updated the function signature accordingly. Whether this makes sense probably needs deeper inspection …

fix typo in xpath predicate

2020-08-07 Hugh Cayless <philomousos@gmail.com>

Fix for TEI#1985.

Enable styling of deprecation dates.

2020-08-06 Hugh Cayless <philomousos@gmail.com>

Fixed accidental element renaming.

Fix for deprecations appendix style.

2020-08-05 Peter Stadler <stadlerpeter@yahoo.fr>

upgrade jquery library, fixes #433

2020-07-31 Peter Stadler <stadlerpeter@yahoo.fr>

add copyright statement, closes #413
copied copyright statement including year 2011 from https://tei-c.org/guidelines/licensing-and-citation/

2020-07-08 Martin Holmes <mholmes@uvic.ca>

Merge pull request #450 from rvdb/jTEI-urlchopping
added zero-width spaces after slashes and periods in URLs that are be…

2020-07-08 rvdb <ron.vandenbranden@kantl.be>

added backslash before periods regex

added zero-width spaces after slashes and periods in URLs that are being output in the text

2020-07-07 Hugh A. Cayless <philomousos@gmail.com>

Merge pull request #448 from TEIC/subsetSetup
Subset setup

2020-07-03 Syd Bauman <s.bauman@neu.edu>

Get transformtei to use new source/p5subset

Get makefile to use local source

Add local p5subset: Add new directory, source/, which for now has only 1 file, the p5subset against which these Stylesheets should be tested.

2020-06-15 rvdb <ron.vandenbranden@kantl.be>

fix for handling @w:val[. = "0"] on //w:i and //w:b elements (#441)
* fix for handling @w:val[. = "0"] on //w:i and //w:b elements

* expanded fix to:
-other basic styles: w:i, w:b, w:strike, w:dstrike, w:smallCaps, w:caps
-allowed values for @w:val: ('0', 'false', 'off') vs ('1', 'true', 'on')

* add test for `@w:val attribute` as provided by @rvdb in #440

2020-06-10 Martin Holmes <mholmes@uvic.ca>

Merge pull request #443 from TEIC/issue-442
Thanks @peterstadler !

2020-06-10 Peter Stadler <stadlerpeter@yahoo.fr>

add more RTL languages
Co-Authored-By: Martin Holmes <mholmes@uvic.ca>

wrap arabic text in hbox{}, fixes #442
NB: only in verbatim (e.g. egXML) environments

2020-06-08 Peter Stadler <stadlerpeter@yahoo.fr>

force params to hold a node or the empty sequence
this fixes some errors "Required item type of first operand of '/' is node(); supplied value has item type xs:string".
When no value was passed, it defaulted to the empty string. With the "as" the empty sequence is enforced and subsequent node tests do not fail.

2020-06-04 Martin Holmes <mholmes@uvic.ca>

Merge pull request #439 from TEIC/issue-400
replace http requests/links with https in XSL scripts. I'm slightly ashamed I hadn't done this ages ago.

2020-06-04 Syd Bauman <s.bauman@neu.edu>

Update Test2/ to match: Updated a bunch of Test2/expected-results/*.html files to have “https:” instead of “http:”.

2020-06-04 Peter Stadler <stadlerpeter@yahoo.fr>

update expected results due to changed scheme
see 52fec65e

replace scheme http with https, closes #400
Did a `grep -ER "http://(www.)?tei-c.org/(Vault|release)" **/*.xsl` from the repo root and fixed those occurences.

2020-06-03 Peter Stadler <stadlerpeter@yahoo.fr>

switched the last occurence of 'http' for $defaultTEIServer to 'https', closes #378

update more latex tests

update expected results
for latest tei2latex changes

add new parameters $japaneseFont, $chineseFont, and $koreanFont
and set NOTO as default. Closes #132, closes #148

update expected results to fix the build
NB: this only tries to fix the default build stylesheets-dev against guidelines-master (aka current release version of p5subset.xml).

2020-06-01 Syd Bauman <s.bauman@neu.edu>

Try to fix build: I am not sure, but I think this commit simply reverses a recent one. We are caught in dev-vs-current cycle, here. With this commit, I believe that Stylesheets_dev against P5_dev should pass the tests; however, Stylesheets_dev aaginst P5_released (current) will not (with a diff error in test.rng due to changes to lexicographic attrs). I am not sure what, if anything, could be done to get both to pass simultaneously.

Fix Test/: Fixed Test/ portion of build process by copying 2 particular output files to expected results, pretty much exactly what @martindholmes and I did on Fri 29 May in Test2/, but apparently forgot to do in Test/.

2020-05-29 martindholmes <mholmes@uvic.ca>

With @sydb: Fixing Test2 to handle changes to att.lex in P5.

2020-05-29 Syd Bauman <s.bauman@neu.edu>

Partial build fix: Copy over some expected results so that Test should work now; @martindholmes and I are working on Test2/ now.

2020-05-29 Martin Holmes <mholmes@uvic.ca>

Merge pull request #437 from rvdb/jTEI-improveNestedBlocksHandling
refactored handling of nested blocks inside //p and //list/item, thus…

2020-05-29 rvdb <ron.vandenbranden@kantl.be>

added some comments for clarification

2020-05-28 rvdb <ron.vandenbranden@kantl.be>

refactored handling of nested blocks inside //p and //list/item, thus avoiding opaque pre-processing steps

2020-05-22 martindholmes <mholmes@uvic.ca>

Slightly cleaner way to avoid making names.xml multiple times. Issue #435 now done.

Initial implementation for issue #435. Should fix the problem, but I'd like to optimize a bit.

2020-05-22 Syd Bauman <s.bauman@neu.edu>

Improve diff msgs: With @martindholmes finally commit changes I made on 04-08 designed to make the messages about the diff (or filesmatch) process that is about to be executed a bit friendlier.

2020-05-15 martindholmes <mholmes@uvic.ca>

Tweaks to diff formatting in Test2.

2020-05-12 Martin Holmes <mholmes@uvic.ca>

Merge pull request #434 from rvdb/jTEI-openeditionfixes
skipped processing of unsupported TEI elements in OpenEdition schema (<title level="s">, <email>)

2020-05-12 rvdb <ron.vandenbranden@kantl.be>

skipped processing of unsupported TEI elements in OpenEdition schema (<title level="s">, <email>) fixes https://github.com/TEIC/Stylesheets/issues/430

updated OpenEdition output to version 1.6.2 (https://tei-openedition.readthedocs.io/en/latest/changelog.html#version-1-6-2)

2020-04-22 lou burnard <lou.burnard@retired.ox.ac.uk>

fixed typo

2020-04-09 martindholmes <mholmes@uvic.ca>

Fixing expected-results fallout for HTML testing resulting from @sydb's work yesterday.

2020-04-08 Peter Stadler <stadlerpeter@yahoo.fr>

add switch case for Korean to `tei:bibl` #202
NB: At present there are no bibl entries with `@xml:lang='ko'` but I think it makes sense to align the processing of CJK languages

fix korean language code #202

add switch case for korean to `tei:seg[@xml:lang]` #202
that should fix character display issues in teix:egXML environments, see e.g. the last example of section 22.5.3.2 "Value Specification".

2020-04-07 Syd Bauman <s.bauman@neu.edu>

Re-generate tests: due to whitespace changes in html/html_textstructure.xsl, some of the whitespace in output changed.

2020-04-07 Elisa Beshero-Bondar <ebbondar@gmail.com>

nearly resolving #326 we hope

2020-03-26 martindholmes <mholmes@uvic.ca>

Follow-up on issue #349: updated Test2 expected results and removed note per @sydb's note on ticket.

2020-03-24 Hugh Cayless <philomousos@gmail.com>

Fix for #349.

Updating http to https.

2020-03-20 martindholmes <mholmes@uvic.ca>

@sydb used XSLT 3 concatenation operator in XSLT 2 file. Switching to concat() until we switch all stylesheets to 3.0.

2020-03-18 martindholmes <mholmes@uvic.ca>

Trying to fix test incompatibility between dev p5subset and release p5subset.

Attempting fix for build discrepancy where test.rng diff fails when built against dev tree's p5subset. Should (I hope) now build against both dev and release p5subset.

2020-03-17 Syd Bauman <s.bauman@neu.edu>

Address #408: Stylesheets group meeting added code to handle <dataRef> elements with name attributes

2020-02-27 rvdb <ron.vandenbranden@kantl.be>

fixed some XSLT details to avoid stricter SXWN9000 warnings with Saxon-9.9.1.5 (#421)

2020-02-21 martindholmes <mholmes@uvic.ca>

Fixing expected-results in Test2 with @sydb.

2020-02-15 Syd Bauman <s.bauman@neu.edu>

Fix #422: When generating the context= of generated <sch:rule> elements, the processSchematron template was always using a namespace prefix (of "tei:") even when the generated context was an attribute (because the placement of the corrent <constraintSpec> was inside an <attDef> that is not itself inside an <elementSpec>). Fixed by adding another <xsl:when> clause.

2020-02-14 Martin Holmes <mholmes@uvic.ca>

Merge pull request #420 from rvdb/jTEI-openedition
updated OpenEdition output to version 1.6.2

2020-02-13 raffazizzi <raffaeleviglianti@gmail.com>

Increased version number

Revert "Increased version number"
This reverts commit e0c49a6ba54e8b7621fffbd4179ea07a3f4c5ed6.

Increased version number

added changelog

upped version for release

YOUR COMMIT MESSAGE
2020-02-13 raffazizzi <raffaeleviglianti@gmail.com>

upped version for release
Expand Down
2 changes: 1 addition & 1 deletion Documentation/paramform.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ return "";
id="stylebear">
<p>Location of XSL stylesheets:
<html:input type="textbox" name="TEIXSL" size="48"
value="http://www.tei-c.org/release/xml"/></p>
value="https://www.tei-c.org/release/xml"/></p>


<p>Name of output file:
Expand Down
2 changes: 1 addition & 1 deletion LICENCE
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Unported License http://creativecommons.org/licenses/by-sa/3.0/

2. http://www.opensource.org/licenses/BSD-2-Clause

All rights reserved.
Copyright 2011–2020 TEI Consortium. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
Expand Down
13 changes: 7 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SFUSER=rahtz
DEFAULTSOURCE=https://www.tei-c.org/Vault/P5/current/xml/tei/odd/p5subset.xml
DEFAULTSOURCE=$(shell pwd)/source/p5subset.xml
SAXON=java -jar lib/saxon9he.jar defaultSource=$(DEFAULTSOURCE)
DOTSAXON=java -jar ../lib/saxon9he.jar defaultSource=$(DEFAULTSOURCE)
DOTDOTSAXON=java -jar ../../lib/saxon9he.jar defaultSource=$(DEFAULTSOURCE)
Expand Down Expand Up @@ -102,8 +102,8 @@ teioo.jar:
(cd odt; mkdir TEIP5; $(DOTSAXON) -o:TEIP5/teitoodt.xsl -s:teitoodt.xsl expandxsl.xsl ; cp odttotei.xsl TEIP5.ott teilite.dtd TEIP5; jar cf ../teioo.jar TEIP5 TypeDetection.xcu ; rm -rf TEIP5)

test: clean build common names debversion
@echo BUILD Run tests
(cd Test; make DEFAULTSOURCE=$(DEFAULTSOURCE))
@echo "BUILD Run tests. (Note: Test/Makefile sets its own DEFAULTSOURCE.)"
(cd Test; make)

dist: clean release
-rm -f tei-xsl-`cat VERSION`.zip
Expand All @@ -119,11 +119,12 @@ dist: clean release
release: common doc oxygendoc build profiles

installxsl: build teioo.jar
mkdir -p ${PREFIX}/share/xml/tei/stylesheet
mkdir -p ${PREFIX}/share/xml/tei/stylesheet ${PREFIX}/bin ${PREFIX}/source
(tar cf - lib teioo.jar) | (cd ${PREFIX}/share/xml/tei/stylesheet; tar xf - )
(cd release/xsl; tar cf - .) | (cd ${PREFIX}/share; tar xf -)
mkdir -p ${PREFIX}/bin
cp bin/transformtei ${PREFIX}/bin
cp --preserve=timestamps bin/transformtei ${PREFIX}/bin
cp --preserve=timestamps source/p5subset.xml ${PREFIX}/source
# Shouldn't the "/usr" in the following line be ${PREFIX} ? —Syd & Martin, 2020-07-03
perl -p -i -e 's+^APPHOME=.*+APPHOME=/usr/share/xml/tei/stylesheet+' ${PREFIX}/bin/transformtei
chmod 755 ${PREFIX}/bin/transformtei
for i in $(SCRIPTS); do (cd ${PREFIX}/bin; rm -f `basename $$i`; ln -s transformtei `basename $$i`); done
Expand Down
16 changes: 9 additions & 7 deletions Test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ VERSION=`cat VERSION`
REGENERATING=0
# 0 = do diff; 1 = dont do diff
BINDIR=../bin
DEFAULTSOURCE=https://www.tei-c.org/Vault/P5/current/xml/tei/odd/p5subset.xml
DEFAULTSOURCE=../source/p5subset.xml
SAXONOPT=useFixedDate=true
SAXON=java -Djava.awt.headless=true -jar ../lib/saxon9he.jar defaultSource=$(DEFAULTSOURCE)
DOTDOTSAXON=java -Djava.awt.headless=true -jar ../../lib/saxon9he.jar defaultSource=$(DEFAULTSOURCE)
Expand Down Expand Up @@ -364,8 +364,9 @@ test-oddity: css
$(BINDIR)/teitornc $(FLAGS) test21.odd test21.odd.rnc
perl -p -i -e 's/generated from ODD source.*//' test21.odd.rnc
perl -i -pe 'BEGIN{undef $$/;} s/# ?Schema[^#]+#[^#]+#[^#]+#[^#]+#\n//smg' test21.odd.rnc
if [ $(REGENERATING) -ne 1 ]; \
then diff test21.odd.rnc expected-results/test21.odd.rnc; fi
#MDH 2020-03-18: commenting this out because of discrepancy between dev and p5 release trees. Add back after release of P5 4.1.
#if [ $(REGENERATING) -ne 1 ]; \
#then diff test21.odd.rnc expected-results/test21.odd.rnc; fi
$(BINDIR)/teitornc $(FLAGS) test15.odd test15.odd.rnc
perl -p -i -e 's/generated from ODD source.*//' test15.odd.rnc
perl -i -pe 'BEGIN{undef $$/;} s/# ?Schema[^#]+#[^#]+#[^#]+#[^#]+#\n//smg' test15.odd.rnc
Expand Down Expand Up @@ -401,10 +402,11 @@ test-oddity: css
perl -i -pe 'BEGIN{undef $$/;} s/<!--\nDTD[^>]*-->\n//smg' test30.dtd
$(JING) -c test30.rnc test36.xml
xmllint --noout --dtdvalid test30.dtd test36.xml
if [ $(REGENERATING) -ne 1 ]; \
then diff test30.rnc expected-results/test30.rnc; fi
if [ $(REGENERATING) -ne 1 ]; \
then diff test30.dtd expected-results/test30.dtd; fi
#MDH 2020-03-18: commenting this out because of discrepancy between dev and p5 release trees. Add back after release of P5 4.1.
#if [ $(REGENERATING) -ne 1 ]; \
#then diff test30.rnc expected-results/test30.rnc; fi
#if [ $(REGENERATING) -ne 1 ]; \
#then diff test30.dtd expected-results/test30.dtd; fi
# MDH 2017-01-07: THE FOLLOWING LINES WILL integrate LB's new pure ODD
# master test to replace originals, BUT ONLY WHEN THINGS ARE WORKING PROPERLY.
# Generate DTD from ODD.
Expand Down
12 changes: 10 additions & 2 deletions Test/expected-results/oddbyexample.odd
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,8 @@
<classSpec ident="att.lexicographic" type="atts" mode="change">
<attList>
<attDef ident="expand" mode="delete"/>
<attDef ident="norm" mode="delete"/>
<attDef ident="split" mode="delete"/>
<attDef ident="value" mode="delete"/>
<attDef ident="orig" mode="delete"/>
<attDef ident="location" mode="delete"/>
<attDef ident="mergedIn" mode="delete"/>
<attDef ident="opt" mode="delete"/>
Expand Down Expand Up @@ -178,6 +176,16 @@
<!--Checking module transcr-->
<!--Checking module linking-->
<!--Checking module analysis-->
<classRef key="att.linguistic"/>
<classSpec ident="att.linguistic" type="atts" mode="change">
<attList>
<attDef ident="lemma" mode="delete"/>
<attDef ident="lemmaRef" mode="delete"/>
<attDef ident="pos" mode="delete"/>
<attDef ident="msd" mode="delete"/>
<attDef ident="join" mode="delete"/>
</attList>
</classSpec>
<!--Checking module textstructure-->
<moduleRef key="textstructure" include="TEI text body"/>
<elementSpec ident="TEI" mode="change">
Expand Down
5 changes: 2 additions & 3 deletions Test/expected-results/test-complex.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="DC.Type" content="Text"/>
<meta name="DC.Format" content="text/html"/>
<link href="../tei.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" media="print" type="text/css" href="http://www.tei-c.org/release/xml/tei/stylesheet/tei-print.css"/>
<link rel="stylesheet" media="print" type="text/css" href="https://www.tei-c.org/release/xml/tei/stylesheet/tei-print.css"/>
<style xmlns:html="http://www.w3.org/1999/xhtml" type="text/css">
.prequote:before {
content:"‘";
Expand Down Expand Up @@ -850,8 +850,7 @@ <h3>
</div>
<div class="stdfooter autogenerated">
<div class="footer"><!--standard links to project, institution etc--><a class="plain" href="/">Home</a> </div>
<address>Charles Dickens.
Date: 1970-01-01<br/><!--
<address>Charles Dickens. Date: 1970-01-01<br/><!--
Generated from index.xml using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
Expand Down
Loading

0 comments on commit 191295c

Please sign in to comment.