Open martindholmes opened 3 months ago
At the VF2F we're having some trouble figuring out what to do here.
My own view is that attList/@org
and attDef/@mode
are about two different operations. @mode
indicates how to apply the customization (ie: remove this attribute). @org
indicates how the resulting compiled ODD should be transformed into RelaxNG.
So the value of @org
is inconsequential to the processor's operation here.
On the other hand — and perhaps this is a different ticket — it is unclear how @org
should be treated with @mode="change"
on the parent. Should it result in switching the value of attList/@org
on the resulting spec?
An
<attList org="choice">
allows the definition of multiple attributes which are deemed to be in alternation -- only one can be selected. However, you can then put@mode="delete"
on any of those attributes, giving rise to a situation which makes no sense at all as far as we (@sydb, @HelenaSabel and myself) can see. Schematron should prevent this.