[Zope] Error Type: ExpatError

Garito garito at sistes.net
Wed Oct 12 14:41:00 EDT 2005


Alan Milligan escribió:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Garito wrote:
>  
>
>>Alan Milligan escribió:
>>
>>Garito wrote:
>> 
>>
>>    
>>
>>>>>Fred Drake escribió:
>>>>>
>>>>>  
>>>>>
>>>>>          
>>>>>
>>>>>>On 10/12/05, Alan Milligan <alan at balclutha.org> wrote:
>>>>>>
>>>>>>
>>>>>>    
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>And you are allowed to be.   It is a bit strange in an XML-RPC
>>>>>>>dialog to
>>>>>>>drop out to http occasionally ...
>>>>>>> 
>>>>>>>      
>>>>>>>              
>>>>>>>
>>>>>>Actually, I'd expect large files over XML-RPC to be handled by sending
>>>>>>a URL, and have the client GET the file separately.  But then, I have
>>>>>>weird ideas sometimes.
>>>>>>
>>>>>>
>>>>>>
>>>>>>    
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>This has absolutely nothing on them actually implementing a lot of
>>>>>>>their
>>>>>>>XML-RPC using HTTP GET, when the protocol clearly states it must be an
>>>>>>>HTTP POST ...
>>>>>>>
>>>>>>>(I imagine this is a performance enhancement in that you needn't
>>>>>>>xml-parse the payload ...)
>>>>>>> 
>>>>>>>      
>>>>>>>              
>>>>>>>
>>>>>>Unless you can make the server a simple front-end to a pile-o-files on
>>>>>>disk, I don't see any benefit.  There's no issue for the client, only
>>>>>>the server, since they want to limit the number of machines they stick
>>>>>>behind the load-balancer.
>>>>>>
>>>>>>Ok, I think we've agreed this isn't an Expat issue, but a bug in
>>>>>>RedHat code that's unrelated to using XML in Zope.  The Expat-based
>>>>>>minidom-builder in recent versions of Python is pretty well tested in
>>>>>>practice.
>>>>>>
>>>>>>
>>>>>>-Fred
>>>>>>
>>>>>>-- 
>>>>>>Fred L. Drake, Jr.    <fdrake at gmail.com>
>>>>>>"Society attacks early, when the individual is helpless." --B.F.
>>>>>>Skinner
>>>>>>_______________________________________________
>>>>>>Zope maillist  -  Zope at zope.org
>>>>>>http://mail.zope.org/mailman/listinfo/zope
>>>>>>**   No cross posts or HTML encoding!  **
>>>>>>(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
>>>>>>http://mail.zope.org/mailman/listinfo/zope-dev )
>>>>>>
>>>>>>
>>>>>>    
>>>>>>            
>>>>>>
>>>>>Hi all!
>>>>>I use an XML file because I like to use freemind like editor
>>>>>I think perhaps could be better if I could transform it to a good Zope
>>>>>object instead of XML but I don't know how to make zope ftp server serve
>>>>>this file like a method
>>>>>
>>>>>I know how to read the file (PUT_factory method) but I want freemind to
>>>>>read a created file
>>>>>
>>>>>Some idea?
>>>>>
>>>>>Thanks!
>>>>>
>>>>>  
>>>>>          
>>>>>
>>I've no idea what freemind is, but have you installed ExternalEditor??
>>With this you should be able to connect any editor you require.  It
>>works by overriding the PUT method, popularised with both ftp and
>>web-dav.
>>
>>Alan
>>    
>>
>
>  
>
>>Sorry for my english
>>    
>>
>Heh, I still don't quite understand what you want ...
>  
>
>>I would like to create a method on my container that will be a file by FTP
>>With these I could transform XML to a Zope object better than XML
>>    
>>
>
>You are aware that you can save arbitrary XML as ZPT with a content-type
>of 'text/xml' ...
>If you install ExternalEditor, you can edit it with whatever tool you want.
>
>  
>
>>I will use PUT_factory to read the XML file but I don't know the write
>>method
>>    
>>
>Don't you mean GET here - PUT is the write method.
>
>Alan
>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.6 (GNU/Linux)
>Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
>iD8DBQFDTVTUCfroLk4EZpkRAnzkAJ4ofhPS1vCRwInPdMtMoNZbW55xeQCfYRqW
>K0F3qROSptQ9EE8u9aws2/Q=
>=dMcF
>-----END PGP SIGNATURE-----
>  
>
Can you put here an example about how to do what I need to do with the 
PUT method?

Thanks!

-- 
Mis Cosas
http://blogs.sistes.net/Garito/




More information about the Zope mailing list