I'm sure I've generated the classes again after upgrading (this task is
automatized my build file).
I had just notice the differences because the .Net client stopped working
after the upgrade.

Fabio

-----Original Message-----
From: Keith Visco [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2003 9:53 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] upgrading from 0.9.4.1 to 0.9.5 (removing
dinamically namespaces)



Were the classes regenerated with 0.9.5 or are you still using the
previously generated classes from 0.9.4.1?

That might explain the discrepency.

--Keith


"Ostermueller, Erik" wrote:
> 
> Sorry, I sure don't know.  I'm sure some diff's on CVS would tell the 
> story.
> 
> Frankly, I'm glad to see the ns1 prefix there -- I was considering 
> adding them myself. IMHO, I think if the framework is going to add the 
> prefix, it should also add the ns decl at the top.
> 
> >From your experience, it looks like it doesn't.
> 
> Erik
> 
>       > -----Original Message-----
>       > From: Uechi Fabio [mailto:[EMAIL PROTECTED]
>       > Sent: Friday, September 05, 2003 10:21 AM
>       > To: [EMAIL PROTECTED]
>       > Subject: Re: [castor-dev] upgrading from 0.9.4.1 to
>       > 0.9.5 (removing dinamically namespaces)
>       >
>       >
>       > Hey Erik!
>       > Thanks a lot. It's working again.
>       > I was just wondering, do you know why I had to change
>       > my implementation just
>       > becase the upgrade???
>       > I mean, why does this new version includes this "ns1"??
>       > It must have a
>       > reason.
>       >
>       > -----Original Message-----
>       > From: Ostermueller, Erik [mailto:[EMAIL PROTECTED]
>       > Sent: Friday, September 05, 2003 4:07 PM
>       > To: [EMAIL PROTECTED]
>       > Subject: Re: [castor-dev] upgrading from 0.9.4.1 to
>       > 0.9.5 (removing
>       > dinamically namespaces)
>       >
>       >
>       > I confused why castor put the "ns1" in the element name
>       > but didn't add the ns decl.  Keith?
>       >
>       > Try this:
>       >
>       > marshaller.setNamespaceMapping("ns1", "training");
>       >
>       >       > -----Original Message-----
>       >       > From: Uechi Fabio [mailto:[EMAIL PROTECTED]
>       >       > Sent: Friday, September 05, 2003 8:54 AM
>       >       > To: [EMAIL PROTECTED]
>       >       > Subject: Re: [castor-dev] upgrading from 0.9.4.1 to
>       >       > 0.9.5 (removing dinamically namespaces)
>       >       >
>       >       >
>       >       > You are right!
>       >       > I had manually inserted (xmlns:ns1="training")
>       > and it worked.
>       >       > Do you know how can I insert it while marshalling???
>       >       >
>       >       > Thanks
>       >       >
>       >       > -----Original Message-----
>       >       > From: Ostermueller, Erik
>       > [mailto:[EMAIL PROTECTED]
>       >       > Sent: Friday, September 05, 2003 3:30 PM
>       >       > To: [EMAIL PROTECTED]
>       >       > Subject: Re: [castor-dev] upgrading from 0.9.4.1 to
>       >       > 0.9.5 (removing
>       >       > dinamically namespaces)
>       >       >
>       >       >
>       >       > .NET probably isn't recognizing "ns1" because you're
>       >       > missing this from your
>       >       > instance document:
>       >       >
>       >       > xmlns:ns1="training"
>       >       >
>       >       > A small-as-possible example of your marshalling
>       > code would help.
>       >       >
>       >       >       > -----Original Message-----
>       >       >       > From: Uechi Fabio [mailto:[EMAIL PROTECTED]
>       >       >       > Sent: Friday, September 05, 2003 5:14 AM
>       >       >       > To: [EMAIL PROTECTED]
>       >       >       > Subject: [castor-dev] upgrading from
>       > 0.9.4.1 to 0.9.5
>       >       >       > (removing dinamically namespaces)
>       >       >       >
>       >       >       >
>       >       >       > 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</iden
>       >       > tification><day><dat
>       >       >       > e>...
>       >       >       >
>       >       >       > after the upgrade:
>       >       >       >
>       >       >       > <?xml version="1.0" encoding="UTF-8"?>
>       >       >       >
>       > <NewDataSet><ns1:protocol><ns1:identification>BIL5E20</n
>       >       > s1: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
>       >       >       >
>       >       >       >
>       >       >       > DISCLAIMER:
>       >       >       > This email message is for the sole use
>       > of the intended
>       >       >       > recipient(s) and may contain confidential and
>       >       >       > privileged information.  Any
>       > unauthorized review, use,
>       >       >       > disclosure or distribution is
>       > prohibited.  If you are
>       >       >       > not the intended recipient, please
>       > contact the sender
>       >       >       > by reply email and destroy all copies
>       > of the original
>       >       >       > message and attachments.
>       >       >       >
>       >       >
>       >       >
>       > -----------------------------------------------------------
>       >       > 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
>       >       >
>       >       >
>       >       > DISCLAIMER:
>       >       > This email message is for the sole use of the intended
>       >       > recipient(s) and may contain confidential and
>       >       > privileged information.  Any unauthorized review, use,
>       >       > disclosure or distribution is prohibited.  If you are
>       >       > not the intended recipient, please contact the sender
>       >       > by reply email and destroy all copies of the original
>       >       > message and attachments.
>       >       >
>       >
>       > -----------------------------------------------------------
>       > 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
>       >
>       >
>       > DISCLAIMER:
>       > This email message is for the sole use of the intended
>       > recipient(s) and may contain confidential and
>       > privileged information.  Any unauthorized review, use,
>       > disclosure or distribution is prohibited.  If you are
>       > not the intended recipient, please contact the sender
>       > by reply email and destroy all copies of the original
>       > message and attachments.
>       >
> 
> -----------------------------------------------------------
> 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

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to