-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Description
I tried to customise the allowed values in @cert by modifying teidata.certainty.
While this works:
<dataSpec module="tei" ident="teidata.certainty" mode="change">
<content>
<valList type="closed" mode="replace">
<valItem ident="high" />
<valItem ident="low"/>
</valList>
</content>
</dataSpec>the following just ignores the mode="delete" attributes:
<dataSpec module="tei" ident="teidata.certainty" mode="change">
<content>
<valList type="closed" mode="change">
<valItem ident="high" />
<valItem ident="medium" mode="delete" />
<valItem ident="low"/>
<valItem ident="unknown" mode="delete" />
</valList>
</content>
</dataSpec>This third example even just outputting medium and unknown as allowed values which is just the wrong way around!
<dataSpec module="tei" ident="teidata.certainty" mode="change">
<content>
<valList type="closed" mode="change">[EDIT: mode was replace now is change]
<valItem ident="medium" mode="delete" />
<valItem ident="unknown" mode="delete" />
</valList>
</content>
</dataSpec>Although the resulting schema is just the way I want it when I use the first example, I think the other examples should work, too.
[EDIT]: Using tei 4.4.0 as source an TEI Stylesheets v7.55.0
Metadata
Metadata
Assignees
Labels
type: bugA bug report.A bug report.