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

A translation error does not occur if jsp:attribute is used to provide an attribute 
value for an XML element that should be conisdered template text.

           Summary: A translation error does not occur if jsp:attribute is
                    used to provide an attribute value for an XML element
                    that should be conisdered template text.
           Product: Tomcat 5
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


JSP.5.10 - <jsp:attribute> - states:

  "The action must only appear as a subelement of a standard or custom action.  
   An attempt to use it otherwise must result in a translation error."

The spec then gives an example

  "For example, it cannot be used to specify the value of an attribute for
   XML elements that are template text."

Given the following:

-----------------------------------------------
<?xml version="1.0"?>

<root>
    <child>
        <jsp:attribute xmlns:jsp="http://java.sun.com/JSP/Page";
            name="myAttrName">
           myAttrValue
        </jsp:attribute>
    </child>
</root>
-------------------------------------------

A translation-time error is not generated.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to