You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/10/11 22:18:25 UTC

DO NOT REPLY [Bug 13553] New: - Jasper incorrectly generating a translation error if a tag has both a TEI and variable declarations.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13553>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13553

Jasper incorrectly generating a translation error if a tag has both a TEI and variable declarations.

           Summary: Jasper incorrectly generating a translation error if a
                    tag has both a TEI and variable declarations.
           Product: Tomcat 5
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Ryan.Lubke@Sun.COM


Given:

<tag>
    <name>test</name>
    <tei-class>com.foo.TestTEI</tei-class>
    <variable>
        <name-given>var1</name-given>
    </variable>
</tag>

Jasper will generate the following:

   "variable subelement defined in TLD when TagExtraInfo class MyClass
    is non-null"

This translation error should only occur if a tag has a variable declaration
and a call to TagExtraInfo.getVariableInfo() returns a non-null value.

See lines 412-418 in o.a.j.compile.TagLibraryInfoImpl.java.

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