I use castor 0.9.6 final.
I think when castor deals with the SimpleType, it will use the
SimpleType's name or its parent Element's name.
Why there is no name in the warning (simpleType '' )?
What kind of schema structure may cause this problem? or it is a bug?
Thanks!
On Mon, 14 Feb 2005 13:38:56 +0100, Reinhard Freund
<[EMAIL PROTECTED]> wrote:
> Hi
>
> I had a similar Problem, but i found out that it is ok (in my case at least).
> An Element with the same name was listed twice or more times somewhere in the
> document. This is ok for XML, but Castor then creates
> a class for each element, so when generating the 2nd, the class with this
> name already exists.
>
> I guess this may also happen with simpleTypes instead of elements.
>
> Greetz
>
> -----Urspr�ngliche Nachricht-----
> Von: David Zhao [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 14. Februar 2005 13:12
> An: [email protected]
> Betreff: [castor-user] [XML] Did any one see this kind of Warning?
>
>
> Hi all,
>
> I used the castor to generate the java source files for a schema.
>
> Does anyone meet the same warning before? And why we have this kind of
> warning?
>
> Thanks!
>
> ##################################################################
> Warning: A class name generation conflict has occured between simpleType ''
> and simpleType ''. Please use a Binding file to solve
> this problem.Continue anyway [ not recommended] (y|n|?)
> ##################################################################
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED]
> with a subject of:
> unsubscribe castor-user
>
> ____________
> Virus checked by G DATA AntiVirusKit
> Version: AVK 15.0.3044 from 13.02.2005
> Virus news: www.antiviruslab.com
>
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-user
>
>
>
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user