Hi,

I am using Castor (ver 0.9.3.19) and cannot parse the
following (valid) shema :

<schema 
  targetNamespace='http://tempuri.org/type'
  xmlns:SOAP-ENC=
    'http://schemas.xmlsoap.org/soap/encoding/'
  xmlns='http://www.w3.org/2001/XMLSchema'
  xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
  xmlns:http='http://schemas.xmlsoap.org/wsdl/http/'
  xmlns:mime='http://schemas.xmlsoap.org/wsdl/mime/'
  xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
  elementFormDefault='qualified'>

  <complexType  name ='ArrayOfdouble'>
    <complexContent>
      <restriction base='SOAP-ENC:Array'>
        <attribute ref='SOAP-ENC:arrayType' 
                    wsdl:arrayType='double[]'/>
      </restriction>
    </complexContent>
  </complexType>
</schema>

If I do not disable validation, I get the 
following exception :

 ValidationException: The base type 'SOAP-ENC:Array'
    was not found.
  at org.exolab.castor.xml.schema.ComplexType.validate

If I disable validation, the parsing gets through, but
the complex type is ignored.

What am I doing wrong ?
How can I get Castor to parse this schema ?

Thanks a bunch,

  Didier


__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

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

Reply via email to