XML export/import is cool! (Was Re: [Zope-dev] Deprecating XML export/import?)

Jens Vagelpohl jens at dataflake.org
Fri Mar 24 11:27:02 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 24 Mar 2006, at 16:12, Jim Fulton wrote:

> Jens Vagelpohl wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> On 24 Mar 2006, at 16:07, Jim Fulton wrote:
>>> I think the XML export is a facility that is and should be  
>>> advertized
>>> as a legitimate escape hatch for data kept in Zope.  People really
>>> shouldn't feel afraid of putting data in Zope/ZODB as there
>>> really is a useful way to get it out.
>> We have used it to produce a large "backup" before, but  
>> consistently  ran into unicode encode/decode errors. The only way  
>> I could get it to  export was to do the nasty sitecustomize.py  
>> hack and setting the  default encoding to UTF-8.
>
> Interesting.  I imagine that this is fixible in a somewhat  
> straightforward
> way, although it is probably tied up with the general encoding mess  
> in Z2.

Yes, that's likely where the problem comes from. IMHO there is no  
reason to remove/deprecate it, but on the other hand it should not be  
advertised as a really user-friendly and easy way of exporting. It's  
still somewhat of a second class citizen when it comes to exporters.  
It might be in need of some warning stickers on the package ;)

jens

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEJB3WRAx5nvEhZLIRAr3RAKCKomzIN1odFq/9fSfdWiet9m7r4ACguw/O
EZRxyaVrtDb0NLCHO3RPp7U=
=31YI
-----END PGP SIGNATURE-----


More information about the Zope-Dev mailing list