[Zope] Swedish characters and XMLDocument-1.0a4

Magnus Heino magnus@vuab.net
Mon, 20 Dec 1999 10:01:00 +0100


Hi.

I just read Amos great article at
http://www.xml.com/pub/1999/12/zope/index.html

I downloaded Sample.zexp and XMLDocument-1.0a4.tgz, and started to
create some sample pages of my own.

Maybe I'm wrong, because I don't know much xml, but
XMLDocument-1.0a4.tgz seems to have problems handling the swedish
characters åäö.

This document:

<?xml version="1.0"?>
<faq>
  <entry>
    <test>Långt svårt öppningshål</test>
   </entry>
</faq>

displays this error :

XML Parsing Error: not well-formed at line 4

when I try to save it in Zope.

Change the text to "Långt svårt oppningshål" and it says:

XML Parsing Error: mismatched tag at line 5

"Långt svårt oppningshal" saves just ok...

/Magnus Heino