Back in February, there was a brief discussion of a problem adding
attributes in Roma. That is what I am trying to do now, and it doesn't
seem to work.
What I do is (for instance)
- create new customisation
- go to 'change classes'
- add attribute to att.global
- generate schema
The new attribute does not appear in the schema.
When I save my definitions I see
<classSpec ident="att.global" mode="change" module="tei">
<attList>
<attDef ident="gggggggggggggggg" mode="change">
<desc>gggggggggggggggggggg</desc>
<datatype>
<rng:text xmlns:rng="http://relaxng.org/ns/structure/1.0"/>
</datatype>
<default/>
<valList type="open" mode="replace"/>
</attDef>
</attList>
</classSpec>
That saved definition, when loaded into Roma, doesn't produce the
attribute either.
However, when I change that definion to read
<attDef ident="gggggggggggggggg" mode="add">
and reload it into Roma, Roma does produce my new attribute.
Peter
|