You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Remy Maucherat <re...@apache.org> on 2002/09/10 16:20:46 UTC

[Jasper2] Test suite ?

As the 4.1.10 release revealed, despite our best efforts, some bugs 
slipped in the tag handling code, due to the complexity of the 
specification.

Watchdog is unfortunately only testing very simple cases, and cannot be 
used to catch those problems (on the servlet side, OTOH, it seems to be 
willing to test some highly dubious assertions), so I think some kind of 
test suite is needed for Jasper.

Unfortunately, I don't have time to contribute to it, but I hope to get 
the process started ...

Remy


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: jasper2 tag validation?

Posted by peter lin <pe...@labs.gte.com>.
I just figured it out. In JSTL's standard.jar it contains a copy of the
.tld files.  Even though I added varStatus as an attribute to the copy
in /WEB-INF/x.tld, it was going by the copy in the jar.

Once I deleted the tld file in the jar, it worked fine.  why the change
in 4.1.10?

peter lin



peter lin wrote:
> 
> I encountered a problem with 4.1.10 stable.  the same code work with
> 4.0.3, but doesn't work correctly with 4.1.10.
> 
> My question is this.
> 
> Does jasper2 in 4.1.10 use the local .tld file for tag validation, or
> does it get it from the network?
> 
> I ask because in JSTL 1.0.1 xml tag supports <x:forEach varStatus>, but
> the tld file doesn't include it. The funcationality works fine, since
> both <c:forEach> and <x:forEach> inherit varStatus from the base class.
> 
> If jasper2 does use the official tld file for validation, can I turn
> that off and make it use the local copy of the .tld file?
> 
> I'm hoping Kin-man, Luehe or Remy can answer this question.
> 
> peter lin
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


jasper2 tag validation?

Posted by peter lin <pe...@labs.gte.com>.
I encountered a problem with 4.1.10 stable.  the same code work with
4.0.3, but doesn't work correctly with 4.1.10.

My question is this.

Does jasper2 in 4.1.10 use the local .tld file for tag validation, or
does it get it from the network?

I ask because in JSTL 1.0.1 xml tag supports <x:forEach varStatus>, but
the tld file doesn't include it. The funcationality works fine, since
both <c:forEach> and <x:forEach> inherit varStatus from the base class.

If jasper2 does use the official tld file for validation, can I turn
that off and make it use the local copy of the .tld file?

I'm hoping Kin-man, Luehe or Remy can answer this question.

peter lin

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>