Hey Guys,

Has the drools3 schema been designed so that it cannot be extended? If
so why?

I would like to extend some of the complex types from my schema. This is
part of a dynamic test harness that I am writing for drools. I've logged
it in Jira.

Anyhow the xsd has definitions like:

<xs:element name="package">
    <xs:complexType>
      <xs:choice maxOccurs="unbounded" minOccurs="0">
        <xs:element ref="drools:import"/>
        
        <xs:element ref="drools:global"/>

        <xs:element ref="drools:function"/>        

        <xs:element ref="drools:rule"/>
        
        <xs:element ref="drools:query"/>        
      </xs:choice>

      <xs:attribute name="name" type="xs:string" use="required"/>
      
    </xs:complexType>
  </xs:element>

This is preventing me from extending the package.

Matt Shaw
Snr Applications Developer
Service Performance & Management Unit
Phone: 3247 8666. ext. 94666



This correspondence is for the named persons only. 
It may contain confidential or privileged information or both. 
No confidentiality or privilege is waived or lost by any mis transmission. 
If you receive this correspondence in error please delete it from your system 
immediately and notify the sender. 
You must not disclose, copy or relay on any part of this correspondence, if you 
are not the intended recipient. 
Any opinions expressed in this message are those of the individual sender 
except where the sender expressly, 
and with the authority, states them to be the opinions of the Department of 
Emergency Services, Queensland.

Reply via email to