tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28244] New: - XML Comment between jsp:attribute cause attribute after comment was ignored
Date Wed, 07 Apr 2004 05:56:14 GMT
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: tomcat-dev@jakarta.apache.org
        ReportedBy: eric_suen_cn@hotmail.com


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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message