Title: xml schema read / write

Hi all,

I'm trying to use the latest version of castor (castor-0.9.4.1) to read in a schema document, manipulate it and then write out a new schema.

My problem is that in the schema document I write out all of my Group references have been replaced with a copy of the reference.

E.g.

<xs:group ref="myGroup"/>

becomes -

<xs:group name="myGroup">
  <xs:sequence>
    <xs:element name="myEl" type="myType" default="0"/>
  </xs:sequence>
</xs:group>

Is this a bug or do I have to set something up in the schema so that it doesn't behave in this way?

Thanks
Kirsteen


Reply via email to