Hello everyone,
May I submit you the following problem :
I have a class Message, the source of which was generated using Castor.
If I do something like this :
Message msg = new Message();
...
msg.marshall(writer);
I get this :
<?xml version="1.0"?>
<Message sessionId="tata louf">
...
</Message>
But I would like to get this :
<?xml version="1.0"?>
<Message sessionId="tata louf"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="[PATH TO]Schema.xsd">
...
</Message>
How do I do to specify, which schema to use ?
Thank you very much for your answers
Axel Antoniotti
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev