users@jaxb.java.net

RE: How to prevent xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

From: Markus Karg <karg_at_quipsy.de>
Date: Thu, 12 May 2011 09:44:30 +0200

Are you sure that it is just an abbreviation? I mean, AFAIK <x/> implies
*no* empty text() node, while <x><x/> does. How to differenciate between
String == null and String.isEmpty() then?

 

From: Wolfgang Laun [mailto:wolfgang.laun_at_gmail.com]
Sent: Donnerstag, 12. Mai 2011 09:41
To: users_at_jaxb.java.net
Subject: Re: How to prevent xsi:nil="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

 


On 12 May 2011 09:27, Wolfgang Laun <wolfgang.laun_at_gmail.com> wrote:

        <x></x> is just an abbreviation for <x/>.


It's the other way round, of course ;-)