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.


-- 
View this message in context: 
http://old.nabble.com/Problem-in-xml-creation-using-Castor-1.3-tp31153081p31153081.html
Sent from the Castor - User mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email


Reply via email to