Ok. I always checked for existence with getChildElement (or whatever it is called). This is much better.
Scott M Stark wrote: > MetaData.getElementContent() of any empty element will return an > empty string rather than a null string. An empty element was equivalent > to a non-existent element previously. > > ----- Original Message ----- > From: "Dain Sundstrom" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, May 16, 2002 8:39 PM > Subject: Re: [JBoss-dev] Where is the empty datasource-mapping element > coming from? > > > >>Can you be more specific about this change? It may cause problems with >>my metadata code. I'll fix any problems in the cmp metadata code, but I >>need to know what you changed. >> >>-dain >> >>Scott M Stark wrote: >> >> >>>There was a change in behvior in the xml element value parser layer such >>>that empty elements now return empty strings rather than null. This was >>>required to allow defining empty strings as there was no way previously. >>> > > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development