Skip to content

Commit

Permalink
Merge pull request #608 from TEIC/sydb_607
Browse files Browse the repository at this point in the history
Fix #607, I hope: remove erroneous bits of text from version URL
  • Loading branch information
trishaoconnor committed Sep 30, 2023
2 parents 51cbab0 + e90a849 commit ce346af
Show file tree
Hide file tree
Showing 10 changed files with 180 additions and 212 deletions.
4 changes: 2 additions & 2 deletions Test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -751,11 +751,11 @@ test-namespaces: actual

$(BINDIR)/teitornc $(FLAGS) test35.odd $(AR)/test35.rnc
perl -p -i -e 's/generated from ODD source .*//' $(AR)/test35.rnc
perl -i -pe 'BEGIN{undef $$/;} s/# ?Schema[^#]+#[^#]+#[^#]+#[^#]+#\n//smg' $(AR)/test35.rnc
perl -i -pe 'BEGIN{undef $$/;} s/# ?Schema[^#]+#[^#]+#[^#]+#\n//smg' $(AR)/test35.rnc
if [ $(DIFFNOW) -eq 1 ]; \
then diff -bBw $(AR)/test35.rnc $(ER)/test35.rnc; \
else echo "==deferring: \` diff -bBw $(AR)/test35.rnc $(ER)/test35.rnc \`"; fi

#HBS 2022-04-30 tests attributes @include and @except
$(BINDIR)/teitornc $(FLAGS) testClass.odd $(AR)/testClass.rnc
perl -p -i -e 's/generated from ODD source .*//' $(AR)/testClass.rnc
Expand Down
2 changes: 0 additions & 2 deletions Test/expected-results/test-pure.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ namespace teix = "http://www.tei-c.org/ns/Examples"
namespace xlink = "http://www.w3.org/1999/xlink"


#

sch:ns [ prefix = "tei" uri = "http://www.tei-c.org/ns/1.0" ]
stuff =

Expand Down
2 changes: 0 additions & 2 deletions Test/expected-results/test-pure2.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ namespace teix = "http://www.tei-c.org/ns/Examples"
namespace xlink = "http://www.w3.org/1999/xlink"


#

sch:ns [ prefix = "tei" uri = "http://www.tei-c.org/ns/1.0" ]
stuffPart = bob | bit
stuff =
Expand Down
2 changes: 0 additions & 2 deletions Test/expected-results/test15.odd.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ namespace teix = "http://www.tei-c.org/ns/Examples"
namespace xi = "http://www.w3.org/2001/XInclude"
namespace xlink = "http://www.w3.org/1999/xlink"


#
macro.abContent = (text | model.paraPart | ab)*
macro.paraContent = (text | model.paraPart)*
macro.limitedContent = (text | model.limitedPhrase | model.inter)*
Expand Down
8 changes: 3 additions & 5 deletions Test/expected-results/test21.odd.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ namespace teix = "http://www.tei-c.org/ns/Examples"
namespace xi = "http://www.w3.org/2001/XInclude"
namespace xlink = "http://www.w3.org/1999/xlink"


#
macro.abContent = (text | model.paraPart | ab)*
macro.paraContent = (text | model.paraPart)*
macro.limitedContent = (text | model.limitedPhrase | model.inter)*
Expand Down Expand Up @@ -8093,9 +8091,9 @@ facsimile =
sch:report [
test = "child::text()[ normalize-space(.) ne '']"
"\x{a}" ~
" A facsimile element represents a text with images, thus\x{a}" ~
" transcribed text should not be present within it.\x{a}" ~
" "
" A facsimile element represents a text with images, thus\x{a}" ~
" transcribed text should not be present within it.\x{a}" ~
" "
]
"\x{a}" ~
" "
Expand Down
2 changes: 0 additions & 2 deletions Test/expected-results/test30.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ namespace teix = "http://www.tei-c.org/ns/Examples"
namespace xi = "http://www.w3.org/2001/XInclude"
namespace xlink = "http://www.w3.org/1999/xlink"


#
Tmacro.abContent = (text | Tmodel.paraPart | Tab)*
Tmacro.paraContent = (text | Tmodel.paraPart)*
Tmacro.limitedContent = (text | Tmodel.limitedPhrase | Tmodel.inter)*
Expand Down
2 changes: 0 additions & 2 deletions Test/expected-results/test33.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ namespace teix = "http://www.tei-c.org/ns/Examples"
namespace xi = "http://www.w3.org/2001/XInclude"
namespace xlink = "http://www.w3.org/1999/xlink"


#
tei_macro.abContent = (text | tei_model.paraPart | tei_ab)*
tei_macro.paraContent = (text | tei_model.paraPart)*
tei_macro.limitedContent =
Expand Down
2 changes: 0 additions & 2 deletions Test/expected-results/test34.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ namespace teix = "http://www.tei-c.org/ns/Examples"
namespace xi = "http://www.w3.org/2001/XInclude"
namespace xlink = "http://www.w3.org/1999/xlink"


#
tei_macro.abContent = (text | tei_model.paraPart | tei_ab)*
tei_macro.paraContent = (text | tei_model.paraPart)*
tei_macro.limitedContent =
Expand Down
2 changes: 0 additions & 2 deletions Test/expected-results/testClass.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ namespace xi = "http://www.w3.org/2001/XInclude"
namespace xlink = "http://www.w3.org/1999/xlink"


#

sch:ns [ prefix = "tei" uri = "http://www.tei-c.org/ns/1.0" ]
macro.paraContent = (text | model.paraPart)*
att.written.attributes = att.written.attribute.hand
Expand Down
Loading

0 comments on commit ce346af

Please sign in to comment.