Commit 009b323c authored by MRodz's avatar MRodz Committed by mrodzis
Browse files

Add 3.21.26 chars with unknown reason

parent 068a4425
......@@ -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
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment