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

*** shadow/2511 Mon Jul  9 03:30:59 2001
--- shadow/2511.tmp.11503       Mon Jul  9 07:42:39 2001
***************
*** 2,9 ****
  | 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      |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | XML serializer does not escape non-ASCII characters.                       |
  +----------------------------------------------------------------------------+
  |        Bug #: 2511                        Product: Cocoon 2                |
! |       Status: RESOLVED                    Version: 2.0b1                   |
! |   Resolution: INVALID                    Platform: PC                      |
  |     Severity: Normal                   OS/Version: Windows NT/2K           |
  |     Priority: Other                     Component: sitemap components      |
  +----------------------------------------------------------------------------+
***************
*** 40,43 ****
  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.
--- 40,61 ----
  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.
! 
! ------- Additional Comments From [EMAIL PROTECTED]  2001-07-09 
07:42 -------
! The solution is to specify ASCII encoding in the serializer's parameter, like 
! this:
! 
!     <map:serializer name="wap"    mime-type="text/vnd.wap.wml" src="org.apache.c
! ocoon.serialization.XMLSerializer">
!      <doctype-public>-//WAPFORUM//DTD WML 1.1//EN</doctype-public>
!      <doctype-system>http://www.wapforum.org/DTD/wml_1.1.xml</doctype-system>
!      <encoding>ASCII</encoding>
!     </map:serializer>
! 
! ...which forces Xalan's serializer to make 0x7f the last un-escaped character. 
! See http://xml.apache.org/websrc/cvsweb.cgi/xml-
! xalan/java/src/org/apache/xalan/serialize/Encodings.java?rev=1.7&content-
! type=text/vnd.viewcvs-markup
! 
! (Bottom of page) for a list of possible encodings.

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

Reply via email to