cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 4239] New: - Error while generate from JSP
Date Wed, 17 Oct 2001 16:58:51 GMT
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=4239>.
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=4239

Error while generate from JSP

           Summary: Error while generate from JSP
           Product: Cocoon 2
           Version: 2.0rc1
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: sitemap components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: serg_main@yahoo.com


Error while generate from JSP. Place this JSP in /docs/samples/jsp/.

If request /docs/samples/jsp/test.jsp - OK.
If request /jsp/test - throw exception org.apache.cocoon.ProcessingException: 
SAXException JspGenerator.generate(): org.xml.sax.SAXParseException: An invalid 
XML character (Unicode: 0xfe) was found in the element content of the document.


JSP:
<%@page 
contentType="text/html; charset=UTF-8" 
language="java"

%><%

	String s = "\u041d\u0430 \u0433\u043b\u0430\u0432\u043d\u0443\u044e";

%>
<page>
<content>
Test string: <Alt><%= s %></Alt>
</content>
</page>
<<end jsp>>

's' is russain string in utf-8

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


Mime
View raw message