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/04/24 17:04:10 UTC

DO NOT REPLY [Bug 19276] New: - Attribute is missing quotes when it contains an EL expression in a document with XML syntax.

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

Attribute is missing quotes when it contains an EL expression in a document with XML syntax.

           Summary: Attribute is missing quotes when it contains an EL
                    expression in a document with XML syntax.
           Product: Tomcat 5
           Version: Nightly Build
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: erik@beijnoff.com


When an EL expression is used in the value of an attribute in template data, 
the resulting attribute that is output is missing quotes.

I'm using the JSP xml syntax.

This template data:
<a style="border:0px;" href="${ref}">Link</a>

Gives this output:
<a style="border:0px;" href=/jsp/projects/common/?skin=default>Link</a>

Please note that it is only the "href" attribute that's missing quotes. 
The "style" attribute still has them, since it does not contain a EL expression.

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