Closed torstenroeder closed 6 years ago
IMHO, there is no way to specify a namespace for attributes with current Roma (as you can—and should—for elements). Sorry, but I fear this is a feature that needs to be added to the next generation Roma and won't be added to the current version.
You can of course write (change) your ODD by hand and add something like
<classSpec ident="att.global.responsibility" type="atts" mode="change" module="tei">
<attList>
<attDef ident="respStatus" mode="add" ns="http://my.namespace">
<desc>some description for myFooBar</desc>
</attDef>
</attList>
</classSpec>
Thanks Peter!
I would like to define a new attribute within a custom namespace in the global responsibility class (e.g. @my:respStatus). When I try this through Roma, the schema output (RNG) returns an error ("undefined prefix"). Is adding an attribute in own namespace allowed/intended at all, or should new attributes be defined in another way?