Hmm - I haven't heard of any problems reported like this.  Could you send
a whole page, along with all of the data that it uses (e.g., XML files) --
of course, only if that's easy to do.

Shawn

On Wed, 30 Oct 2002, �orgils V�lundarson wrote:

> I�m using tomcat 4.0.4
> 
> At 08:16 30.10.2002 -0500, you wrote:
> >I hate to pass the blame, but this looks, if anything, like a
> >JSP-container bug.  What JSP container are you using?
> >
> >--
> >Shawn Bayern
> >"JSTL in Action"   http://www.jstlbook.com
> >
> >On Wed, 30 Oct 2002, �orgils V�lundarson wrote:
> >
> > > hi,
> > >
> > > I just noticed that the jstl x tag writes out </x:if> tags when iterating
> > > through the xml file and the number of </x:if> is the same as the 
> > number of
> > > iterations the loop needs to find the real result. This of course does not
> > > comply with well-formedness Below is the code that generates the page and
> > > after that what it serves. Any ideas?
> > >
> > > <table class="main">
> > > <tr>
> > >          <td class="main1">
> > >          <x:forEach select="$data//page">
> > >          <x:if select="@pageid = $param:pageID">
> > >          <div class="main_data_head"><x:out select="pageHeadIS"/></div><hr
> > > class="style" />
> > >          <x:if select="pageContent/jspfile!=''">
> > >          <c:set var="jspfile">
> > >                  <x:out select='pageContent/jspfile'/>
> > >          </c:set>
> > >          <c:import url="${jspfile}"/>
> > >          </x:if>
> > >          <x:if select="pageContent/contentIS!=''">
> > >          <x:out select='pageContent/contentIS'/>
> > >          </x:if>
> > >          </x:if>
> > >
> > >
> > > serves out this:
> > >
> > > <table class="main">
> > > <tr>
> > > <td class="main1">
> > > </x:if>
> > > </x:if>
> > > </x:if>
> > > </x:if>
> > > </x:if>
> > > </x:if>
> > > </x:if>
> > > <div class="main_data_head">�tgefi� efni tengt krabbameinsskr�</div><hr
> > > class="style" />
> > > ...
> > >
> > > Kve�ja,
> > > �orgils V�lundarson
> > > Krabbameinsf�lag �slands, Krabbameinsskr�
> > > Beinn s�mi: 540 1973
> > > netfang: [EMAIL PROTECTED]
> > > gsm: 698 5302
> > >
> > >
> > > --
> > > To unsubscribe, 
> > e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
> > > For additional commands, e-mail: 
> > <mailto:taglibs-user-help@;jakarta.apache.org>
> > >
> >
> >
> >--
> >To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
> >For additional commands, e-mail: 
> ><mailto:taglibs-user-help@;jakarta.apache.org>
> 
> Kve�ja,
> �orgils V�lundarson
> Krabbameinsf�lag �slands, Krabbameinsskr�
> Beinn s�mi: 540 1973
> netfang: [EMAIL PROTECTED]
> gsm: 698 5302
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>

Reply via email to