I have a Schema with the following:

  <xs:element name="OperationRequest" abstract="true"/>
  <xs:element name="OperationResponse" abstract="true"/>

and later:

  <xs:element name="CreateProcessInstance.Request"
substitutionGroup="OperationRequest">
...

When I use Castor to generate the classes, all is fine except these two
objects.  Castor generates the concrete objects, but not the abstract ones,
and does not tie the concrete ones to the abstract ones in any way.

Is there a way to get Castor 9.4.2 to map the XSD correctly?

I am using the defaults, with the exception of setting mapping to "type"

If this is a RTFM, let me know, as I didn't see anything but an October 2002
post about this, with no answers.  (It said 9.3 did not support abstract
types, so maybe 9.4 doesn't either, but in that case, how does one
compensate?

Jim


Jim Brain, [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
"Researching tomorrow's decisions today."
(319) 369-2070 (work)
Systems Architect, ITS, AEGON Financial Partners

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to