commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@dfki.de>
Subject Re: [Jelly] How to disable empty element expanding?
Date Thu, 18 Mar 2004 11:44:33 GMT
Konstantin,

You'll have to look in the DOM4j's XMLWriter... report on us, not only 
on dom4j, I seem to see a kind of freeze around dom4j (at least their 
mailing-list).

paul


On 18-Mar-04, at 10:24 Uhr, Konstantin Priblouda wrote:
> Hi all,
>
> I'm trying to prevent jelly from expanding empty
> elements in output.
>
> My script snippet is:
>
>     <j:if test="${oneToManyTag != null}">
>         <one-to-many class="${oneToManyTag.class_}"/>
>     </j:if>
>
> And I use dom4j xml writer ( expandEmptyElements is
> set to false )
>
> But it comes out as:
>      <one-to-many
> class="com.infodesire.educator.data.Group">
>       </one-to-many>
>
> ( and this is critical because hibernate chokes on it
> )
>
> Did somebody managed this, or can tell me where to
> dig?
>
> regards,
>
>
> =====
> ----[ Konstantin Pribluda ( ko5tik ) ]----------------
> Zu Verstärkung meines Teams suche ich ab Sofort einen
> Softwareentwickler[In] für die Festanstellung.
> Arbeitsort: Mainz
> Skills:  Programieren, Kentnisse in OpenSource-Bereich
> ----[ http://www.pribluda.de ]------------------------
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message