Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

renaming an element nukes NS #19

Open
peterstadler opened this issue Apr 25, 2016 · 1 comment
Open

renaming an element nukes NS #19

peterstadler opened this issue Apr 25, 2016 · 1 comment
Labels

Comments

@peterstadler
Copy link
Member

relocating from TEIC/TEI#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:

  • http://www.tei-c.org/Roma/
  • Build schema; start
  • save; Modules; core; abbr
  • Change Name -> "abbreviation" ; save
  • Save Customization
    =>
<elementSpec module="core" ident="abbr" mode="change" ns="">
<altIdent>abbreviation</altIdent>
</elementSpec>
  • Schema =>
tei_abbr = element abbreviation {
where it should have
tei_abbr = element ns1:abbreviation {

Original comment by: @sydb

@torstenroeder
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants