Hey people,
This is my first time using castor and I need some help!!
I had just upgraded from castor 0.9.4.1 to the 0.9.5 version.
And now I'm facing some namespace related problems.
my schema:
<?xml version="1.0" standalone="yes"?>
<xs:schema targetNamespace="training" ......
the generated xml:
before the upgrade:
<?xml version="1.0" encoding="UTF-8"?>
<NewDataSet
xmlns="training"><protocol><identification>BIL5E20</identification><day><dat
e>...
after the upgrade:
<?xml version="1.0" encoding="UTF-8"?>
<NewDataSet><ns1:protocol><ns1:identification>BIL5E20</ns1:identification><n
s1:day><ns1:date>...
The problem is that the .NET client doesn't recognizes these "ns1"
namespace. And besides it, it also demands the xmlns="training" attribute.
I had already tried to set the namespace mapping as follows:
marshaller.setNamespaceMapping("", "training");
And I also tried taking the "targetNamespace" attribute off.
None of these attempts were successfull. There is always some part
missing. Does anyone know how to solve this???
Thanks in advance
Fabio
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev