Skip to content

Commit

Permalink
Address #586:
Browse files Browse the repository at this point in the history
 * Update tei:stylesheetVersion() with a fix based on @eduarddrenth’s suggestion.
 * Remove parameter from that function defintion, it was not being used.
 * Remove parameter from the 1 call to tath function.
 * Some whitespace, too.
 * Fixed my e-mail addr in AUTHORS.
 * Updated expected-results/ to match mildly different comment at the end.
  • Loading branch information
sydb committed May 27, 2023
1 parent a394b17 commit 1cff0a3
Show file tree
Hide file tree
Showing 32 changed files with 195 additions and 187 deletions.
2 changes: 1 addition & 1 deletion LEGAL/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ IT Services <[email protected]>

Other contributors include (but this is not an exhaustive list)

Syd Bauman <s.bauman@neu.edu>
Syd Bauman <s.bauman@northeastern.edu>
Elisa Beshero-Bondar <[email protected]>
Peter Boot <[email protected]>
Lou Burnard <[email protected]>
Expand Down
10 changes: 5 additions & 5 deletions Test/expected-results/test-complex.html
Original file line number Diff line number Diff line change
Expand Up @@ -1186,11 +1186,11 @@ <h2>
<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.
SAXON.
--></address>
Generated from index.xml using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions Test/expected-results/test-ota.html
Original file line number Diff line number Diff line change
Expand Up @@ -1117,11 +1117,11 @@ <h1>
<address>Charles Dickens.
<br />
<!--
Generated from index.xml using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
Generated from index.xml using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -1153,11 +1153,11 @@ <h2>
<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.
SAXON.
--></address>
Generated from index.xml using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/test.html5
Original file line number Diff line number Diff line change
Expand Up @@ -1153,11 +1153,11 @@
<address>Charles Dickens.
<br />
<!--
Generated from index.xml using
based on http://www.tei-c.org/Stylesheets/

SAXON HE 10.3.
--></address>
Generated from index.xml using
based on http://www.tei-c.org/Stylesheets/
SAXON HE 10.3.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/test14.html
Original file line number Diff line number Diff line change
Expand Up @@ -4867,11 +4867,11 @@ <h1>
<address>Psalmanazar, George, 1679?-1763.. 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.
SAXON.
--></address>
Generated from index.xml using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/test20.html
Original file line number Diff line number Diff line change
Expand Up @@ -661,11 +661,11 @@ <h1 class="maintitle">Testing rendition</h1>
<address>Sebastian Rahtz. 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.
SAXON.
--></address>
Generated from index.xml using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/test22.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ <h1>
<address>Dickens, Charles, 1812-1870. 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.
SAXON.
--></address>
Generated from index.xml using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/test23.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ <h1>
<address>Sebastian Rahtz. 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.
SAXON.
--></address>
Generated from index.xml using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/test24.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ <h1>
<address>author. 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.
SAXON.
--></address>
Generated from index.xml using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/test25.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ <h1>
<address>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.
SAXON.
--></address>
Generated from index.xml using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/test27.html
Original file line number Diff line number Diff line change
Expand Up @@ -1293,11 +1293,11 @@ <h4>Additional</h4>
<address>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.
SAXON.
--></address>
Generated from index.xml using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/test28.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ <h1>
<address>OUCS. Date: 1970-01-01
<br />
<!--
Generated using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
Generated using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/test31.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ <h1 class="maintitle">Test for rendering sourceDoc</h1>
<address>Matthew Davis. 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.
SAXON.
--></address>
Generated from index.xml using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/test32.html
Original file line number Diff line number Diff line change
Expand Up @@ -4302,11 +4302,11 @@ <h1>
<address>Anton Martin SlomšekJože FaganelMatija OgrinTomaž Erjavec. 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.
SAXON.
--></address>
Generated from index.xml using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/test34.odd.html
Original file line number Diff line number Diff line change
Expand Up @@ -4310,11 +4310,11 @@ <h1>
<address>Louis-Dominique Dubeau.
<br />
<!--
Generated from index.xml using
based on http://www.tei-c.org/Stylesheets/
SAXON HE 10.3.
--></address>
Generated from index.xml using
based on http://www.tei-c.org/Stylesheets/
SAXON HE 10.3.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/test5.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -573,11 +573,11 @@
<address>Das Universale Haus der Gerechtigkeit. 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.
SAXON.
--></address>
Generated from index.xml using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/test6.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ <h1>
<address>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.
SAXON.
--></address>
Generated from index.xml using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/testnotes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,11 @@ <h2>Table of contents</h2>
<address>Date: 1970-01-01
<br />
<!--
Generated using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
Generated using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/testnotes/one.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ <h1 class="maintitle">
<address>Date: 1970-01-01
<br />
<!--
Generated using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
Generated using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</div>
</body>
Expand Down
10 changes: 5 additions & 5 deletions Test/expected-results/testnotes/three.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ <h1 class="maintitle">
<address>Date: 1970-01-01
<br />
<!--
Generated using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
Generated using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</div>
</body>
Expand Down
10 changes: 5 additions & 5 deletions Test/expected-results/testnotes/two.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ <h1 class="maintitle">
<address>Date: 1970-01-01
<br />
<!--
Generated using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
Generated using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</div>
</body>
Expand Down
10 changes: 5 additions & 5 deletions Test/expected-results/testnotes2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ <h2>Table of contents</h2>
<address>Date: 1970-01-01
<br />
<!--
Generated using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
Generated using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</body>
</html>
10 changes: 5 additions & 5 deletions Test/expected-results/testnotes2/one.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ <h2>
<address>Date: 1970-01-01
<br />
<!--
Generated using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
Generated using XSLT stylesheets version 0
based on http://www.tei-c.org/Stylesheets/
on 1970-01-01.
SAXON.
--></address>
</div>
</div>
</body>
Expand Down
Loading

1 comment on commit 1cff0a3

@eduarddrenth
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good

Please sign in to comment.