2007/3/8, Bram Enning <[EMAIL PROTECTED]>:
The only problem that still remains is that the import hangs when using
strange characters as content. For example:

=========
        <createObject id="Loc242" type="locationChoice">
                <setField name="locationName">Institute for Housing and
Urban Development Studies</setField>
                <setField name="locationCity">'s Hertogenbosch</setField>
        </createObject>
=============
Won't succeed because of the " ' " in the locationCity of 's Hertogenbosch.
The same goes for using the "&"-character. Is there a way to escape these
signs or otherwise force XML-importer to import these as data?

This is probably a cp1252 character. Is the input-XML valid? Is it
recoded to UTF-8, or is it stilll cp1252?  & can be escaped as &amp;
in XML.

I don't know the xml-parser used by xml-importer. If it is a real
parser, above remarks should help. Otherwise, it is a bug in
xml-importer.

Michiel

--
mihxil'  http://meeuw.org
nl_NL eo_XX en_US
_______________________________________________
Users mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/users

Reply via email to