DARIAH-ERIC / lexicalresources

Data space of the DARIAH Lexical Resources Working Group
https://dariah-eric.github.io/lexicalresources/
BSD 2-Clause "Simplified" License
18 stars 24 forks source link

Roma fail on Lex0 ODD #52

Closed TomazErjavec closed 5 years ago

TomazErjavec commented 5 years ago

I tried to correct the ODD (cf. #51) and generate the schema via https://roma2.tei-c.org/ but the schema generation fails with a bunch of errors. This could be a problem with the interim Roma, but Roma does compile my ODDs without problems. Below the error report:

Warning: DOMDocument::loadXML(): ID MZ.RGJS.сајдисльк already defined in Entity, line: 126 in /var/www/tei-roma/roma/romadom.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /var/www/tei-roma/roma/romadom.php:34) in /var/www/tei-roma/roma/roma.php on line 1467

Warning: Cannot modify header information - headers already sent by (output started at /var/www/tei-roma/roma/romadom.php:34) in /var/www/tei-roma/roma/roma.php on line 1468

Warning: Cannot modify header information - headers already sent by (output started at /var/www/tei-roma/roma/romadom.php:34) in /var/www/tei-roma/roma/roma.php on line 1469

Warning: Cannot modify header information - headers already sent by (output started at /var/www/tei-roma/roma/romadom.php:34) in /var/www/tei-roma/roma/roma.php on line 1471

Warning: Cannot modify header information - headers already sent by (output started at /var/www/tei-roma/roma/romadom.php:34) in /var/www/tei-roma/roma/roma.php on line 1472

Warning: Cannot modify header information - headers already sent by (output started at /var/www/tei-roma/roma/romadom.php:34) in /var/www/tei-roma/roma/roma.php on line 1474

Warning: Cannot modify header information - headers already sent by (output started at /var/www/tei-roma/roma/romadom.php:34) in /var/www/tei-roma/roma/roma.php on line 1294
provides an externally-defined means of identifying the entity (or entities) being named, using a coded value of some kind. (reference) provides an explicit means of locating a full definition or identity for the entity being named by means of one or more URIs. gives a ....
TomazErjavec commented 5 years ago

Turns out that the only error was in fact

ID MZ.RGJS.сајдисльк already defined

If this ID is made unique, then Roma works fine. So, e.g. the first xml:id="MZ.RGJS.сајдисльк" in the ODD should be changed to xml:id="MZ.RGJS.сајдисльк-err" or something.

ttasovac commented 5 years ago

Fixed.