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 28245] New: - Enhancement: the order of the attribute!
Date Wed, 07 Apr 2004 06:12:21 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=28245>.
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=28245

Enhancement: the order of the attribute!

           Summary: Enhancement: the order of the attribute!
           Product: Tomcat 5
           Version: 5.0.19
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          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 Resin 3.0.7 is:
 <fo:block id="test" font-weight="bold" color="blue" font-size="12pt">
 <fo:inline font-size="9pt" color="red" font-weight="bold">
same order as Template text.

and the Tomcat 5.0.19 is:
 <fo:block font-size="12pt" color="blue" font-weight="bold" id="test">
reversed order as Template text.
 <fo:inline color="red" font-weight="bold" font-size="9pt">
not the same order as jsp:attribute, the order of generated attributes 
depend on the hashcode of the attribute name.

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