On Fri, Dec 05, 2014 at 08:27:49PM +0200, Zenon Mousmoulas wrote: > Hi, > > I have an XML schema that declares a complexType (BEHAVIOR-RULES), which > includes a reference to an abstract element (BEHAVIOR-RULES) in a > xs:sequence. It also declares two other elements (FILE-UPLOAD, > RUN-SCRIPT) as subtitutes for this abstract element. And finally another > complexType is declared (SYSTEM-BEHAVIOR-RULE), which is derived by > extension from BEHAVIOR-RULES.
Zenon, This schema does seem a bit complex. I'll take a look and see if I can figure out what is going on. I was recently working on a problem that had some similar circularity/recursion. Perhaps this issue is related. Thanks for providing the schema. Dave > > The schema (excerpt) looks like this: > > <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" > elementFormDefault="qualified"> > <xs:element name="BEHAVIOR-RULES" abstract="true"/> > <xs:complexType name="BEHAVIOR-RULES"> > <xs:sequence> > <xs:element ref="BEHAVIOR-RULES"/> > </xs:sequence> > </xs:complexType> > <xs:element name="SYSTEM-BEHAVIOR-RULE"> > <xs:complexType> > <xs:complexContent> > <xs:extension base="BEHAVIOR-RULES"> > <xs:attribute name="_TXN-SUPPORTED_" fixed="DELETE"/> > <xs:attribute name="_KEY_" fixed="_CHILD_::_KEY_"/> > <xs:attribute name="_CONTAINER_" > fixed="SYSTEM-BEHAVIOR-RULE-TABLE"/> > </xs:extension> > </xs:complexContent> > </xs:complexType> > </xs:element> > <xs:element name="FILE-UPLOAD" substitutionGroup="BEHAVIOR-RULES"> > <xs:complexType> > <xs:attribute name="name" use="required"/> > [...] > </xs:complexType> > </xs:element> > <xs:element name="RUN-SCRIPT" substitutionGroup="BEHAVIOR-RULES"> > <xs:complexType> > <xs:attribute name="name" use="required"/> > [...] > </xs:complexType> > </xs:element> > </xs:schema> > [snip] -- Dave Kuhlman http://www.davekuhlman.org ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users