[opencms-dev] CmsXmlException when pasting news from word toHtmlWidget
Huang Zhibin
zbhuang2002 at hotmail.com
Wed Jun 7 07:42:32 CEST 2006
sorry, add the attachment
>From: "Huang Zhibin" <zbhuang2002 at hotmail.com>
>Reply-To: The OpenCms mailing list <opencms-dev at opencms.org>
>To: opencms-dev at opencms.org
>Subject: [opencms-dev] CmsXmlException when pasting news from word
toHtmlWidget
>Date: Wed, 07 Jun 2006 05:38:22 +0000
>
>Hi, list,
> Today I copy one news from word and paste it in the Content
>(<xsd:element name="Content" type="OpenCmsHtml" /> ... <layout
>element="Content" widget="HtmlWidget"
>configuration="source,link,anchor,formatselect,imagegallery,downloadgallery,linkgallery,htmlgallery,tablegallery,height:400px"
>/>), and meet with one problem. I do not know how to solve it, does
>anyone can give me some suggestions?
> Thanks for your kindness. (BTW: I included that news as an
>attachment for you to test.)
>Regards,
>Zhibin
>
>org.opencms.xml.CmsXmlException: Unmarshalling xml document failed.
> at
>org.opencms.xml.CmsXmlUtils.unmarshalHelper(CmsXmlUtils.java:599)
> at
>org.opencms.xml.CmsXmlUtils.unmarshalHelper(CmsXmlUtils.java:570)
> at
>org.opencms.xml.content.CmsXmlContentFactory.unmarshal(CmsXmlContentFactory.java:115)
>
> at
>org.opencms.xml.content.CmsXmlContentFactory.unmarshal(CmsXmlContentFactory.java:172)
>
> at
>org.opencms.xml.content.CmsXmlContentFactory.unmarshal(CmsXmlContentFactory.java:129)
>
> at
>org.opencms.workplace.editors.CmsXmlContentEditor.writeContent(CmsXmlContentEditor.java:1448)
>
> at
>org.opencms.workplace.editors.CmsXmlContentEditor.actionSave(CmsXmlContentEditor.java:470)
>
> at
>org.opencms.workplace.editors.CmsXmlContentEditor.actionSave(CmsXmlContentEditor.java:448)
>
> at
>com.ibm._jsp._editor_5F_form._jspService(_editor_5F_form.java:191)
> at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
>Code))
> at
>com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled
>Code))
> at
>com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled
>Code))
> at
>com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:117)
>
> at
>com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:171)
>
> at
>com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:552)
>
> at
>org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194)
>
> at
>org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:170)
>
> at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:433)
> at
>org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423)
>
> at
>org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:174)
>
> at
>org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:467)
> at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:412)
> at
>org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:719)
>
> at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1362)
> at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:151)
> at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:163)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
>Code))
> at
>com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled
>Code))
> at
>com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled
>Code))
> at
>com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
>
> at
>com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled
>Code))
> at
>com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled
>Code))
> at
>com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled
>Code))
> at
>com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled
>Code))
> at
>com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
>
> at
>com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
>
> at
>com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
>
> at
>com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled
>Code))
> at
>com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled
>Code))
> at
>com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled
>Code))
> at
>com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled
>Code))
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled
>Code))
>Caused by: org.dom4j.DocumentException: Error on line 29 of document
> : An invalid XML character (Unicode: 0x0) was found in the CDATA
>section. Nested exception: An invalid XML character (Unicode: 0x0)
>was found in the CDATA section.
> at org.dom4j.io.SAXReader.read(SAXReader.java:482)
> at
>org.opencms.xml.CmsXmlUtils.unmarshalHelper(CmsXmlUtils.java:597)
> ... 43 more
>
>
>
>_______________________________________________
>This mail is sent to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please
>visit
>http://lists.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: news_test.doc
Type: application/msword
Size: 19968 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060607/18bb304f/attachment.doc>
More information about the opencms-dev
mailing list