xml-xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Vasilik" <eric...@bea.com>
Subject RE: Problem with xsi:nil in 1.0.2
Date Fri, 02 Jul 2004 04:29:22 GMT
I have not checked in any fixes for this.  Radu is still looking into
other issues related to the handling if xsi:nil.  Hopefully we'll have
fixes for the whole problem soon.

- Eric

-----Original Message-----
From: Damon Rand [mailto:damon@cybermagic.co.nz] 
Sent: Thursday, July 01, 2004 3:29 PM
To: xmlbeans-user@xml.apache.org
Subject: Re: Problem with xsi:nil in 1.0.2

Ok, cool. I am still running binary v1.0.2 at the moment but I'll check
out
the src and try again..

Cheers,
Damon.

----- Original Message ----- 
From: "Eric Vasilik" <ericvas@bea.com>
To: <xmlbeans-user@xml.apache.org>
Sent: Monday, June 28, 2004 5:46 PM
Subject: RE: Problem with xsi:nil in 1.0.2


Radu and I looked into this a bit and discovered a bug in the
synchronization code between the store and XmlObject.  This should fix
some of your problems, but we think there are some more issues.  We'll
keep you posted.

- Eric

> -----Original Message-----
> From: Damon Rand [mailto:damon@cybermagic.co.nz]
> Sent: Monday, June 28, 2004 1:18 AM
> To: xmlbeans-user@xml.apache.org
> Subject: Re: Problem with xsi:nil in 1.0.2
>
> Hi,
>     Sorry for the late reply.. Yes, I will write this up and try and
file
> it
> in JIRA.. In the meantime I am going to try working around it by going
to
> the DOM interface and removing the attribute manually everytime I call
> .setXXX("something"). Not very nice but I need to use xsi:nil because
I
> need
> to be able to tell the difference between an empty string and a null
value
> for a field in my database.
>
> Damon.
>
>
> ----- Original Message -----
> From: "Radu Preotiuc-Pietro" <radup@bea.com>
> To: <xmlbeans-user@xml.apache.org>
> Sent: Friday, June 25, 2004 5:10 AM
> Subject: RE: Problem with xsi:nil in 1.0.2
>
>
> I too think that this area of functionality is unfortunately broken
and
> needs fixing.
> Calling .setXXX(null) or .setNilXXX() have the same effect, which is
> adding
> an "xsi:nil='true'" attribute, but they leave the old text unchanged.
On
> the
> other hand, calling .setXXX("something") does change the value, but
does
> not
> remove the "xsi:nil='true'". In the end, the resulting document is not
> valid
> in any of these cases.
> We'll have to log a JIRA issue, Damon, do you want to do it?
>
> Radu
>
> -----Original Message-----
> From: Damon Rand [mailto:Damon@cybermagic.co.nz]
> Sent: Friday, June 18, 2004 10:23 AM
> To: xmlbeans-user@xml.apache.org
> Subject: Problem with xsi:nil in 1.0.2
>
>
> Hi folks,
>   I am new to xmlbeans so my apologies if I have missed the answer to
this
> in the docs..
>
> I want to represent the fact that an element may not yet have a value
even
> though the element itself is mandatory. For this I am using
> xsi:nil="true".
> This raises some problems.
>
>  - There is a setNil method but no unsetNil method.
>  - When I call setStringValue() I expect the xsi:nil="true" to be
removed
> or
> set to false otherwise the document won't validate.
>
> Am I missing something?
>
> Regards,
> Damon.
>
>
> -
---------------------------------------------------------------------
> To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
> Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
>
>
> -
---------------------------------------------------------------------
> To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
> Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
>
>
>
> -
---------------------------------------------------------------------
> To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
> Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/



- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Mime
View raw message