From ep at epoz.org Mon Jan 12 18:37:27 2004 From: ep at epoz.org (Etienne Posthumus) Date: Sun Aug 10 16:54:54 2008 Subject: [Zope-xml] Editing ParsedXML fragments Message-ID: <48444404-4558-11D8-BA82-0003935458F6@epoz.org> Hi It's rather quiet on this list. Looking at the archives give the impression that ParsedXML isn't used all that much. Hopefully that is a false impression... I have been trying to provide a custom form and let users edit fragments of a Parsed XML document. The simple form looks like:
contents
In a simple Python script ( testpxml ) I then do: request = container.REQUEST d = request.data context.manage_edit( d ) request.RESPONSE.redirect( '/someplace' ) This took some MAJOR head-scratching and Googling and staring at docs, to figure out that I had to manually handle the encoding. But it doesn't give me the warm-and-fuzzies, and it feels 'wrong'. Can someone suggest a better way of handling this? Etienne Posthumus Amsterdam, Nederland From santee_sawant at yahoo.co.in Tue Jan 13 02:59:25 2004 From: santee_sawant at yahoo.co.in (=?iso-8859-1?q?santosh=20sawant?=) Date: Sun Aug 10 16:54:54 2008 Subject: [Zope-xml] AttributeError: StartDoctypeDeclHandler while adding ParsedXML on ZopeServer 2.6.2 Message-ID: <20040113075925.67092.qmail@web8204.mail.in.yahoo.com> Hi all! I want your help in fixing error - AttributeError: StartDoctypeDeclHandler while adding ParsedXML 2.3.1 on ZopeServer 2.6.2 Error log is as following--> ************************************************* Traceback (innermost last): Module ZPublisher.Publish, line 98, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module Products.ParsedXML.ParsedXML, line 121, in manage_addParsedXML Module Products.ParsedXML.ParsedXML, line 193, in __init__ Module Products.ParsedXML.ParsedXML, line 148, in createDOMDocument Module Products.ParsedXML.DOM.ExpatBuilder, line 910, in parse Module Products.ParsedXML.DOM.ExpatBuilder, line 218, in parseFile Module Products.ParsedXML.DOM.ExpatBuilder, line 177, in getParser Module Products.ParsedXML.DOM.ExpatBuilder, line 653, in install Module Products.ParsedXML.DOM.ExpatBuilder, line 198, in install AttributeError: StartDoctypeDeclHandler Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: StartDoctypeDeclHandler *************************************************** Thanks in advance. With best regards, Santee ________________________________________________________________________ Yahoo! India Mobile: Download the latest polyphonic ringtones. Go to http://in.mobile.yahoo.com From zopelist-1 at visibleoffice.com Fri Jan 16 21:08:07 2004 From: zopelist-1 at visibleoffice.com (Paul Abrams) Date: Sun Aug 10 16:54:54 2008 Subject: [Zope-xml] AttributeError: StartDoctypeDeclHandler while adding ParsedXML on ZopeServer 2.6.2 Message-ID: <20040117020807.0F2997A75C@server2.messagingengine.com> Hi, I'm having the same issue with Zope 2.6.1. Does anyone know that the problem is? Thanks, Paul ---------------------------- Hi all! I want your help in fixing error - AttributeError: StartDoctypeDeclHandler while adding ParsedXML 2.3.1 on ZopeServer 2.6.2 Error log is as following--> ************************************************* Traceback (innermost last): Module ZPublisher.Publish, line 98, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module Products.ParsedXML.ParsedXML, line 121, in manage_addParsedXML Module Products.ParsedXML.ParsedXML, line 193, in __init__ Module Products.ParsedXML.ParsedXML, line 148, in createDOMDocument Module Products.ParsedXML.DOM.ExpatBuilder, line 910, in parse Module Products.ParsedXML.DOM.ExpatBuilder, line 218, in parseFile Module Products.ParsedXML.DOM.ExpatBuilder, line 177, in getParser Module Products.ParsedXML.DOM.ExpatBuilder, line 653, in install Module Products.ParsedXML.DOM.ExpatBuilder, line 198, in install AttributeError: StartDoctypeDeclHandler Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: StartDoctypeDeclHandler *************************************************** Thanks in advance. With best regards, Santee From cleanactproroster at wildmail.com Sat Jan 24 22:40:15 2004 From: cleanactproroster at wildmail.com (Zope-web) Date: Sun Aug 10 16:54:54 2008 Subject: [Zope-xml] Don't Want To Be Busted ? ? ? . . . . . . . . adaptors Message-ID: An HTML attachment was scrubbed... URL: http://mail.zope.org/pipermail/zope-xml/attachments/20040125/07781094/attachment.html