#80 Added new attribute is not included in schema

ROMA
closed
5
2009-04-03
2009-03-29
No

I added an attribute to the div-element. This attribute now appeared in the list of attributes in Roma but nowhere else. It was not included in the resulting schema. So I took a look at the ODD-file generated at the same time as the schema (I also tried to have a DTD made, the attribute was not there, either.) , and I found the attribute markes as "change", not as "add":

<elementSpec ident="div" module="textstructure" mode="change">
<attList>
<attDef ident="name" mode="change">
<desc>For naming document parts</desc>
</attDef>
</attList>
</elementSpec>

I then edited the ODD-file so that this part instead looked like this:

<elementSpec ident="div" module="textstructure" mode="change">
<attList>
<attDef ident="name" mode="add">
<desc>For naming document parts</desc>
</attDef>
</attList>
</elementSpec>

And then I uploaded this to Roma and clicked the button for creating a schema, and it worked.

Discussion

  • Lou Burnard

    Lou Burnard - 2009-04-03

    We can't reproduce this bug locally: please could you send more evidence?

     
  • Lou Burnard

    Lou Burnard - 2009-04-03
    • milestone: --> ROMA
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks