From a4c2dfe024f7c28e7acafb29e20509dd5c51e8c8 Mon Sep 17 00:00:00 2001 From: kthoden Date: Tue, 28 Jan 2020 14:45:22 +0100 Subject: [PATCH] Allow both xml:id and n attribute in table --- schema/resource/eoa-tei-strict.rnc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/schema/resource/eoa-tei-strict.rnc b/schema/resource/eoa-tei-strict.rnc index 788b4f5..1434c25 100644 --- a/schema/resource/eoa-tei-strict.rnc +++ b/schema/resource/eoa-tei-strict.rnc @@ -380,9 +380,8 @@ table = # attribute n { xsd:integer }, attribute rows { xsd:integer }, attribute cols { xsd:integer }, - (( attribute xml:id { xsd:NCName }, - attribute n { xsd:integer }?)| - attribute n { "nonumber" } ), + attribute xml:id { xsd:NCName }, + attribute n { "nonumber" }? , # ( attribute xml:id { xsd:NCName } # | attribute n { "nonumber" }), attribute rend { "blank" }?,