seems modello does not support this feature yet... we need adding both sequence and attribute into complexType, like this:
<xs:complexType> <xs:sequence> <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/> </xs:sequence> <xs:attribute name="combine.children" type="xs:string" use="optional"> <xs:annotation> <xs:documentation source="version">4.0.0+</xs:documentation> <xs:documentation source="description"> {@code combine.children}: available values are {@code merge} (default) and {@code append}. @see &lt;a href=&quot;https://maven.apache.org/pom.html#Plugins&quot;&gt;POM Reference documentation&lt;/a&gt; @see &lt;a href=&quot;https://codehaus-plexus.github.io/plexus-utils/apidocs/org/codehaus/plexus/util/xml/Xpp3DomUtils.html&quot;&gt;Xpp3DomUtils&lt;/a&gt; </xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="combine.self" type="xs:string" use="optional"> <xs:annotation> <xs:documentation source="version">4.0.0+</xs:documentation> <xs:documentation source="description"> {@code combine.self}: available values are {@code merge} (default) and {@code override}. @see &lt;a href=&quot;https://maven.apache.org/pom.html#Plugins&quot;&gt;POM Reference documentation&lt;/a&gt; @see &lt;a href=&quot;https://codehaus-plexus.github.io/plexus-utils/apidocs/org/codehaus/plexus/util/xml/Xpp3DomUtils.html&quot;&gt;Xpp3DomUtils&lt;/a&gt; </xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> but I only found grammar for get attribute OR sequence into complexType in modello o.m.g. I would have to investigate how to add such feature to modello first. Xeno Amess <xenoam...@gmail.com> 于2025年1月20日周一 15:26写道: > @Piotr P. Karwasz > > understood. > reproduced, yes. > I would investigate it today. > right now I already found how to solve it into the dest xsd, but I need > some time to learn about how to insert it into the > modello-generator&mdo-model. >