Hi Ulf,

I agree, no specified type should be implicitly handled as "anyType".
So, yes this sounds like a bug to me.

--Keith


Ulf Heyder wrote:
> 
> Hello again,
> 
> regarding the example in my original message ...
> 
> <xsd:schema ... elementFormDefault="qualified">
>   ...
>   <xsd:element name="Foobar" type="foo:FoobarType"/>
>   <xsd:complexType name="FoobarType">
>     <xsd:sequence>
>       <xsd:element name="Name" type="xsd:string"/>
>       <xsd:element name="Value" minOccurs="0"/>
>     </xsd:sequence>
>   </xsd:complexType>
>   ...
> </xsd:schema>
> 
> ... I tested how source generator handles the element "Value" without
> explicit type (should be implicitly handled as "anyType") and with type="anyType".
> 
> When I excplicitely write down the type="anyType" source generator creates a
> java field with type java.lang.Object. Without writing down the
> type="anyType" it references to a class "my.package.Value" wich it doesn't generate.
> 
> Shall I send this as a bug to Bugzille?
> 
> Thanks, Ulf
> 
> --
> NEU F�R ALLE - GMX MediaCenter - f�r Fotos, Musik, Dateien...
> Fotoalbum, File Sharing, MMS, Multimedia-Gru�, GMX FotoService
> 
> Jetzt kostenlos anmelden unter http://www.gmx.net
> 
> +++ GMX - die erste Adresse f�r Mail, Message, More! +++
> 
> -----------------------------------------------------------
> 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