Skip to content

Commit

Permalink
Updating biber tests for translit plk/biblatex#765
Browse files Browse the repository at this point in the history
  • Loading branch information
plk committed Jul 1, 2018
1 parent d29acdc commit 46dbd83
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions data/schemata/bcf.rnc
Expand Up @@ -391,6 +391,7 @@ translit =
element bcf:transliteration {
attribute entrytype { "*" | xsd:string {minLength="1"} },
element bcf:translit {
attribute langids { xsd:string {minLength="1"} }?,
attribute target { "*" | xsd:string {minLength="1"} },
attribute from { xsd:string {minLength="1"} },
attribute to { xsd:string {minLength="1"} }
Expand Down
7 changes: 7 additions & 0 deletions data/schemata/bcf.rng
Expand Up @@ -974,6 +974,13 @@
</attribute>
<oneOrMore>
<element name="bcf:translit">
<optional>
<attribute name="langids">
<data type="string">
<param name="minLength">1</param>
</data>
</attribute>
</optional>
<attribute name="target">
<choice>
<value>*</value>
Expand Down
2 changes: 1 addition & 1 deletion t/bcfvalidation.t
Expand Up @@ -4,7 +4,7 @@ use warnings;
use utf8;
no warnings 'utf8';

use Test::More tests => 48;
use Test::More tests => 49;
use XML::LibXML;
use Biber;
chdir('t');
Expand Down

0 comments on commit 46dbd83

Please sign in to comment.