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

http://issues.apache.org/bugzilla/show_bug.cgi?id=28244

XML Comment between jsp:attribute cause attribute after comment was ignored

           Summary: XML Comment between jsp:attribute cause attribute after
                    comment was ignored
           Product: Tomcat 5
           Version: 5.0.19
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The jspx code:

<?xml version="1.0" ?>
<fo:root xmlns:jsp="http://java.sun.com/JSP/Page"; 
xmlns:fo="http://www.w3.org/1999/XSL/Format";>
 <fo:block id="test" font-weight="bold" color="blue" font-size="12pt">
  <jsp:element name="fo:inline">
   <jsp:attribute name="font-size">9pt</jsp:attribute>
   <!-- -->
   <jsp:attribute name="color">red</jsp:attribute>
   <jsp:attribute name="font-weight">bold</jsp:attribute>
   <jsp:body>Hello World</jsp:body>
  </jsp:element>
 </fo:block>
</fo:root>

the output of resion 3.0.7 is:
<fo:inline font-size="9pt" color="red" font-weight="bold">Hello 
World</fo:inline>

and the tomcat 5.0.19 is:
<fo:inline font-size="9pt">Hello World</fo:inline>

Regards

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

Reply via email to