Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
009b323c
Commit
009b323c
authored
Jun 21, 2018
by
MRodz
Committed by
mrodzis
Feb 05, 2019
Browse files
Add 3.21.26 chars with unknown reason
parent
068a4425
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/fontane/teisimple-test.xql
View file @
009b323c
...
...
@@ -666,7 +666,7 @@ declare
fontane-simple:transform($node)
};
(: 3.21.24 CORRECTION MARKS :)
(: 3.21.24
+25
CORRECTION MARKS :)
declare
%test:name("Correction marks")
(: TODO: find out why test doesn't work :)
...
...
@@ -687,4 +687,15 @@ declare
function teisimple-test:analyze-correction-marks($node as element(*)) {
fontane-simple:transform($node)
};
(: 3.21.26 UNCLEAR CHARACTERS :)
declare
%test:name("Unclear characters")
%test:args("<seg xmlns=""http://www.tei-c.org/ns/1.0"" function=""unknown"">||</seg>")
%test:assertEmpty
function teisimple-test:analyze-unclear($node as element(*)) {
fontane-simple:transform($node)
};
\ No newline at end of file
modules/fontane/transform2teisimple.xqm
View file @
009b323c
...
...
@@ -193,7 +193,8 @@ declare function fontane-simple:transform($nodes as node()*) as node()* {
local:keep-element($node)
else if($node/@type = "auction_number"
or $node/@type = "cancel"
or $node/@type = "abort")
or $node/@type = "abort"
or $node/@function ="unknown")
then
()
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment