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 2001/07/09 12:30:59 UTC

[Bug 2511] New: - XML serializer does not escape non-ASCII characters.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2511

*** shadow/2511	Mon Jul  9 03:30:59 2001
--- shadow/2511.tmp.8717	Mon Jul  9 03:30:59 2001
***************
*** 0 ****
--- 1,43 ----
+ +============================================================================+
+ | XML serializer does not escape non-ASCII characters.                       |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2511                        Product: Cocoon 2                |
+ |       Status: NEW                         Version: 2.0b1                   |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Windows NT/2K           |
+ |     Priority: Other                     Component: sitemap components      |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: cocoon-dev@xml.apache.org                                    |
+ |  Reported By: leo.sutic@inspireinfrastructure.com                          |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ I am trying to use some country/language specific characters with Cocoon2. Just 
+ as a test, I replaced the "o" in "Hello" on the "Hello World" examples page 
+ with an � (o with two dots over it), ö, making it:
+ 
+ <page>
+  <title>Hell&#246;</title>
+  <content>
+   <para>This is my first Cocoon2 page!</para>
+  </content>
+ </page>
+ 
+ 
+ The HTML example correctly serializes this to "Hell&ouml;", but the XML/WAP 
+ serializer converts it to 
+ 
+ <card title="Hellö" id="index">
+ 
+ instead of
+ 
+ <card title="Hell&#246;" id="index">
+ 
+ .
+ 
+ WinWap handles this without any problems, but the Nokia WAP toolkit, and the 
+ 7110 emulator that goes with it, chokes on this.
+ 
+ This would be solved if all non-ASCII characters were properly escaped.

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