Stephan,

I got this to work in 0.9.3.21.

Like you said, it fails on 0.9.4.

      > -----Original Message-----
      > From: Stephan G�tter [mailto:Stephan.Goetter@;newtron.net]
      > Sent: Thursday, October 17, 2002 10:07 AM
      > To: [EMAIL PROTECTED]
      > Subject: [castor-dev] target namespace
      > 
      > 
      > Hi,
      > 
      > If I want to create castor classes for the following 
      > (hopefully valid) schema:
      > 
      > <?xml version="1.0" encoding="UTF-8"?>
      > <schema targetNamespace="http://foo.bar/";
      >                                    
      > xmlns="http://www.w3.org/2001/XMLSchema";
      >                                    xmlns:tns="http://foo.bar/";>
      >         <element name="element1">
      >                 <complexType>
      >                         <sequence>
      >                                 <element ref="tns:element2"/>
      >                         </sequence>
      >                 </complexType>
      >         </element>
      >         <element name="element2" type="string"/>
      > </schema>
      > 
      > I get this messages:
      > 
      > -- Suppressing non fatal warnings.
      > Creating classes for element: element2
      > Type not found for element: element2
      > Creating classes for element: element1
      > No type found for element: element2
      > 
      > After changing xmlns="http://www.w3.org/2001/XMLSchema";
      > to xmlns:xsd="http://www.w3.org/2001/XMLSchema"; and 
      > adding "xsd:" it works
      > though.
      > 
      > Something else I noticed is that castor can't find type for
      > <element name="element2"/> but it should take string then.
      > 
      > Greets,
      > Stephan
      > 
      > ----------------------------------------------------------- 
      > If you wish to unsubscribe from this mailing, send mail to
      > [EMAIL PROTECTED] with a subject of:
      >         unsubscribe castor-dev
      > 
      > 

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

Reply via email to