TEIC / Roma-Antiqua

This repository houses the code for Roma Antiqua, the web based TEI software for generating customisations.
https://romaantiqua.tei-c.org
20 stars 7 forks source link

Default class memberships presented wrongly for many elements #11

Open lb42 opened 8 years ago

lb42 commented 8 years ago

The screen "Change Element/Defining a new element" displays a list of model and attribute classes for a given element, with check boxes pre-selected to show its memberships. For classes with names in the form model.x.y, the class model.x and the class model.x.y are both pre-selected for elements which are a member of model.x.y : see for example <argument>, <abbr> or <docAuthor> . This causes problems if the user tries to make any other change in class membership, since the <classes> element generated for their ODD will contain erroneous <memberOf> elements. The error shows up as a "Unique particle attribution error" when XSD or DTD is generated.

[tx to jonathan greenberg for reporting this: see discussion on TEI-L on 2016-02-01