You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2002/06/07 14:54:24 UTC

DO NOT REPLY [Bug 9693] New: - national character in XSP-page element attribute

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

national character in XSP-page element attribute

           Summary: national character in XSP-page element attribute
           Product: Cocoon 2
           Version: 2.0.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: vladimir.kralik@asset.sk


When I use on XSP-page attribute which contains national character, then this 
attribute has incorect value in browser.

Example in XSP :
<submit value="Zobrazit" label="Zobrazi�" i18n:attr="label"/>

In Cocoon 2.0.1 I have the same problem with element text.

Next patch help me :
--- xml-
cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java/xsp.xsl  
Sun Mar 31 19:16:49 2002
+++ xml-
cocoon2.new/src/java/org/apache/cocoon/components/language/markup/xsp/java/xsp.x
sl      Fri Jun  7 14:36:31 2002
@@ -494,7 +494,7 @@
       "<xsl:value-of select="local-name(.)"/>",
       "<xsl:value-of select="name(.)"/>",
       "CDATA",
-      "<xsl:value-of select="."/>"
+      "<xsl:value-of select="XSLTExtension:escape($extension,.)"/>"
     );
     </xsl:if>
   </xsl:template>

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org