Open sydb opened 5 years ago
This seems unsurprising. An attribute class is not the same kind of beast as an element. Presumably, attribute class definition has to be resolved before element definition, since the latter uses the former.
@trishaoconnor I'm just adding me and @raffazizzi to a cluster of these Stylesheets tickets all related to ODD classSpec processing. I'm expecting that maybe we've solved some old problems on these tickets by now and we might just meet and quickly test to see where we are?
If an
<elementSpec>
has both a child<memberOf key="att.typed"/>
and a child<attDef ident="type" mode="change">
the right thing happens. If a<classSpec type="atts">
has the same combination of children the build fails with “Duplicate attribute uses with the same name and target namespace are specified. Name of duplicate attribute use is 'type'.”The following diff output shows what I did to generate the problem.