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 2003/07/23 12:03:50 UTC

DO NOT REPLY [Bug 21823] New: - Compiler uses invoking page's PageInfo for handling tag files

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=21823>.
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=21823

Compiler uses invoking page's PageInfo for handling tag files

           Summary: Compiler uses invoking page's PageInfo for handling tag
                    files
           Product: Tomcat 5
           Version: 5.0.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: matthias.ernst@coremedia.com


When Jasper finds a tagfile invocation, it'll find its TagInfo through calls to 
ImplicitTagLibraryInfo#getTagFile -> TagFileProcessor#parseTagFileDirectives -> 
ParserController#parseTagFileDirectives -> ... -> ParserController#determineSyntaxAndEncoding 
-> PageInfo#isXmlConfig() and friends. However, the *current* ParserController is used so that the 
PageInfo is that of the *calling* page and not the called tagfile.

Consequently the wrong jsp-property group will be consulted.

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