Hi,

can I please see the corresponding XML schema definitin(s) for
<root-element> ? Is there really two attribute defs named 'valid' ?

Kind Regards
Werner Guttmann

On 15.03.2011 15:59, rag007 wrote:
> 
> Hi,
> 
> I have one xsd file. I am using castor 1.3.1 and jdk 1.5. From xsd, i
> generated java objects. Through marshalling i created one xml file. I didnt
> use mapping file. Finally My xml is coming like this
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <root-document valid="true" valid="true"
>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>       xmlns:abc="http://www.demo.com/ICT/XML/student/ABC";
>       xmlns:xyz="http://www.aegon.nl/ICT/XML/student/XYZ";>
>              <school valid="true" valid="true">
>       <name>XXX</name>
>       <id>123</id>
>       </school>
> </root-document>
> 
> Attribute "valid" was already specified for element "root-document".
> TestClient   test.xml line 2  1300199026132   99644
> 
> 
> I dont know what is the problem. Can I need to create mapping file? If yes
> means, from xsd how i need to create mapping file automatically? 
> 
> Thanks in Advance.
> 
> 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to