Hi Nikolai,

You are not doing anything wrong as far as I know. There is a known
issue that the source code generator cannot handle multiple elements
declarations with the same name.

The only work around currently is to change the name of the elements
such as "Component1" and "Component2".

Sorry for the inconvenience.

We are working to fix the problem.

Thanks,

--Keith

"Nikolai V. Chr." wrote:
> 
> This is part of a legal validated XML document by a legal schema(also
> accepted by the sourcegenerator):
> 
> <Proto name="D01" >
>         <Component name="innocent"\>
> </Proto>
> <Component proto="D01"/>
> 
> But the trouble is that the first and the second element 'Component', is
> NOT the same. But the SourceGenerator makes only one 'Component.java',
> which represents the last one. When run, it complains that Component in
> line 2 should have attribute 'proto' - this is wrong. When I try to
> remedy the error by making the last 'Component' element all lowercase -
> it still produces only one 'Component.java'.
> 
> Am I doing something wrong?
> 
> -----------------------------------------------------------
> 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