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

renaming an element nukes NS #19

Open peterstadler opened 8 years ago

peterstadler commented 8 years ago

relocating from https://github.com/TEIC/TEI/issues/972


Using current version of Roma, if I rename an element from its page (e.g., http://www.tei-c.org/Roma/startroma.php?mode=changeElement&element=abbr&module=core), an empty ns= attribute is added to the , thus generating a schema that has the element in question not only with a new local name (desired) but in no namespace (very bad).

This does not happen if I rename the element from the module tab (e.g., http://www.tei-c.org/Roma/startroma.php?mode=changeModule&module=core)

So, to generate this problem:

<elementSpec module="core" ident="abbr" mode="change" ns="">
<altIdent>abbreviation</altIdent>
</elementSpec>
tei_abbr = element abbreviation {
where it should have
tei_abbr = element ns1:abbreviation {

Original comment by: @sydb

torstenroeder commented 6 years ago

This seems to happen also when I just customize the description of an element.