AW: [opencms-dev] problems editing content-files in opencms 5.0 beta1

Michael Emmerich Michael.Emmerich at framfab.de
Fri Aug 30 08:33:15 CEST 2002


Martin,

OpenCms 5.0 uses a different kind of character encoding than the previous
versions (which will be fully implementet in the 5.0 final). 
So take a look at your XML-Templates and check the encoding. If your current
Templates are encoded 

<?xml version="1.0" encoding="ISO-8859-1"?>

or 

<?xml version="1.0"?>

please change it to:

<?xml version="1.0" encoding="UTF-8"?>

and you should not get the error message again.
The fastest thing to do this is to unzip the export file on your local disc,
make a global search and repalce on it and zip it again.

Regards,
	Michael Emmerich

-----Ursprüngliche Nachricht-----
Von: "Bührle, Martin, FCI1" [mailto:martin.buehrle at lfk.eads.net]
Gesendet: Donnerstag, 29. August 2002 20:09
An: 'opencms-dev at www.opencms.org'
Betreff: [opencms-dev] problems editing content-files in opencms 5.0
beta1


Hi everybody,


we have installed the new beta1 of opencms 5.0 on tomcat 4.0.4 and 4.1.9.

After importing our web-content-files to test everything it is not possible
to EDIT (WYSIWYG-Editor) any of the files.
There is a detailed error:
============================================================================
=======
[CmsException]: 21 XML parsing error. Detailed Error: Cannot parse XML file
"/content/templates/privatcontent". org.xml.sax.SAXParseException: An
invalid XML character (Unicode: 0xfc) was found in the CDATA section.. 
	at
com.opencms.template.A_CmsXmlContent.throwException(A_CmsXmlContent.java:186
9)
	at
com.opencms.template.A_CmsXmlContent.parse(A_CmsXmlContent.java:1270)
	at
com.opencms.template.A_CmsXmlContent.parse(A_CmsXmlContent.java:1237)
	at
com.opencms.template.A_CmsXmlContent.init(A_CmsXmlContent.java:1038)
	at
com.opencms.template.CmsXmlTemplateFile.<init>(CmsXmlTemplateFile.java:91)
	at
com.opencms.template.CmsXmlTemplate.getOwnTemplateFile(CmsXmlTemplate.java:3
82)
	at
com.opencms.workplace.CmsXmlTemplateEditor.getContent(CmsXmlTemplateEditor.j
ava:455)
	at
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:167)
	at
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:171)
	at
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache
.java:148)
	at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:253)
	at
com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:309)
	at
com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:267)
	at com.opencms.core.OpenCms.showResource(OpenCms.java:653)
	at
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:231)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027)
	at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
)
	at java.lang.Thread.run(Thread.java:479)


============================================================================
===

Does anybody know what to do?



Best regards
 Martin

_________________________________________________________________________
Martin Buehrle, IT-Projects/Services
EADS - European Aeronautic Defence and Space Company
eMail: Martin.Buehrle at lfk.eads.net
_________________________________________________________________________





More information about the opencms-dev mailing list