Approved.

On 2010-11-04, at 18:34, Henry Minsky wrote:

> Change hqm-20101104-OKC by [email protected] on 2010-11-04 14:23:58 EDT
>    in /Users/hqm/openlaszlo/trunk1
>    for http://svn.openlaszlo.org/openlaszlo/trunk
> 
> Summary: show more info for " 500 Internal Server Error "
> 
> New Features:
> 
> Bugs Fixed: LPP-9501 
> 
> Technical Reviewer: ptw
> QA Reviewer: boz
> Doc Reviewer: (pending)
> 
> Documentation:
> 
> Release Notes:
> 
> Overview:
> 
> Add better XML escaping, and catch error in XSLT processing of compiler 
> warning
> 
> 
> Details:
> 
> The reported bug is happening because code which reports a compilation-error 
> as an HTML page
> is getting an error in it's internal XSLT tranformation.
> 
> This patch does the following:
> 
> 1)  Makes the XML escaping more compliant with the XML standard, to hopefully 
> avoid this failure mode
> 
> 
> 2) If the calling the XSLT transform for displaying the compilation
> error still throws an error, the original compilation error will be
> displayed in the returned HTML page, as well as the XSLT error, so
> that the developer still gets some useful information about the error
> in their app.
> 
> 
> Tests:
> 
> Added a test case for XML escaping, in test/unicode.java
> 
> java -cp $LZCP org.openlaszlo.test.unicode
> 
> Should display a string with out-of-range chars decimal [1,11,12,13] 
> displayed as "&#xXXX;" escape sequences
> 
>  escaped XML:    !JKM
> 
> 
> Files:
> M       WEB-INF/lps/server/src/org/openlaszlo/xml/internal/XMLUtils.java
> M       
> WEB-INF/lps/server/src/org/openlaszlo/servlets/responders/ResponderAPP_CONSOLE.java
> A       WEB-INF/lps/server/src/org/openlaszlo/test/unicode.java
> 
> 
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/hqm-20101104-OKC.tar


Reply via email to