[oXygen-user] duplicate element

Roderik Dernison
Fri Nov 21 07:14:53 CST 2014


I've created my own extension of DITA. Amongst others I have added an element "predicate", like this:
              <xs:element name="predicate">
                                           <xs:documentation>A &lt;predicate> element marks the predicate, e.g. GROOT(Jan). (TP-ELEMENT)</xs:documentation>
                                                         <xs:extension base="predicate.class">
                                                                       <xs:attribute ref="class" default="- ling-d/pred "/>
              <xs:complexType name="predicate.class" mixed="true"/>

Now when I create a new ling topic, oXygen tells me
E [Xerces] cos-nonambig: predicate and predicate (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.

My lingGrp.xsd contains:
              <xs:group name="predicate">
                                                         <xs:element ref="predicate" />

My lingDomain.xsd contains:
              <xs:group name="ling-d-pred">
                                           <xs:group ref="predicate" />

And my ling.xsd contains:
              <xs:group ref="ling-d-pred" />

No other references are made to predicate.
What am I doing wrong?

Kind regards,

Ing. Roderik Dernison


Aan dit bericht kunnen geen rechten worden ontleend.
Het bericht is alleen bestemd voor de geadresseerde.
Indien het bericht niet voor u is bestemd, verzoeken wij
u dit aan ons te melden en het bericht te verwijderen.

This message shall not constitute any obligations.
This message is intended solely for the addressee.
If you have received this message in error, please
inform us and delete the message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20141121/d9804c15/attachment.html>

More information about the oXygen-user mailing list