[opencms-dev] Mysterious parsing error when saving documents

Joe Desbonnet jdesbonnet at gmail.com
Mon May 8 22:59:40 CEST 2006


I presume you are using XML Spy on the file before uploading. I wonder
could this be another of these ISO-8859-1 vs UTF-8 mixups?

If a multibyte character encoded in UTF-8 (eg a Japanese character) is
incorrectly read as ISO-8859-1 it may contain a null (0x00) byte.

Joe.

On 5/8/06, Christian Steinert <christian_steinert at web.de> wrote:
> Hi,
>
> I have imported some xmlpages into opencms by using the synchronization feature. That worked quite well and the pages are displayed properly.
>
> But when I edit some of the pages in opencms, then upon saving I get the following error:
>
> "Error Unmarshalling xml document failed.
> Reason: Error on line 79 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."
>
> I have looked into the page source, both with a text editor as well as with a hex editor. There is no character with hexcode 00 and also no sequence like &#x00;
> When I check the Page with XML spy, then it is reported to be well-formed.
>
> Does anybody have a clue about this? Any ideas would be highly appreciated.
>
> Thanks and Regards
> Christian
>
>
>
>
>              Element EnglishGerman  * body    Elements Properties Cleanup HTML code   Preview
>
>
>
>
> _______________________________________________________________
> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
>
>
> _______________________________________________
> 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
>



More information about the opencms-dev mailing list