Re: [Zope] XML Content handling questions.
2) I also need to serve up web-based forms and allow the user to create XML content based on a user-selected schema. Something like what Chiba (http://chiba.sf.net/) is targeting. Of course, though, that isn't a Python/Zope solution. Has anyone seen anything that works? At this point, installing Tomcat and Chiba is what I presume I'll be doing in a couple of weeks This one is still a big issue. I'm presuming that neither Zope nor Python have addressed XForms. Does anyone here know of a project which has that I can incorporate, or use with Zope/Plone? Andreas Jung wrote: Zope itself has no native XML support. However there are some products like ParsedXML that provide additional functionality. You might also look at Silva CMS which is provides native XML support. I found some info on Silva last week, but passed over it since I'm using Plone (and cannot switch). Will they work together? Dennis Allison wrote: While you need to write appropriate External Methods and/or Products to use it, we have found that the ReportLab pyRXP system works well. I just found where Uche Ogbuji wrote, in http://www.xml.com/lpt/a/2004/02/11/py-xml.html -- [Version 0.7 parser had a fatal error with input containing …] "The responses from the developers were, more or less, that PyRXP raises a fatal error when presented with XML characters with Unicode ordinal greater than U+256, regardless of how they are represented. The unfortunate upshot of this is that PyRXP 0.9 is not an XML parser." Perhaps he's overly harsh, but since the XML files I'm dealing with are used to map between (human) languages, correct UTF-8 handling is vital. Have you perchance tried and had success with anything beyond U+256? I wrote: Three questions, in order of importance (to me): 1) Is it possible to validate an (uploaded) XML file against a schema (currently on the Zope server)? What, if any, extra packages are needed?I want to use this in my upload forms to alert the user if their files are invalid. Currently, I've an Extension "browser-ish" class that takes the form.file submission (and other data), MIME encodes them and forwards them via HTTP to a Perl XML validation tool on the web that was already running. It's an *ugly* hack, but it works for now. 3) Is there a function built-in to Zope that allows merging XML files? (ie: all the within a list of user-selected files). I've got an Extension that works correctly (using the Amara/4Suite packages), so an answer here is mostly for me to learn Zope better. Sounds like this is as good as it gets, or close enough that it wouldn't be worth the effort to change. Thanks again, Nikko ___ Zope maillist - Zope@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 )
Re: [Zope] XML Content handling questions.
While you need to write appropriate External Methods and/or Products to use it, we have found that the ReportLab pyRXP system works well. On Sat, 28 May 2005, Andreas Jung wrote: > Zope itself has no native XML support. However there are some products like > ParsedXML that provide additional functionality. You might also look at > Silva CMS > which is provides native XML support. > > -aj > > --On 27. Mai 2005 14:53:40 -0600 Nikko Wolf <[EMAIL PROTECTED]> > wrote: > > > Three questions, in order of importance (to me): > > > > 1) Is it possible to validate an (uploaded) XML file against a schema > >(currently on the Zope server)? > > What, if any, extra packages are needed?I want to use this in my > > upload forms to alert the user if their files are invalid. > > > > 2) I also need to serve up web-based forms and allow the user to create > > XML content based on a user-selected schema. Something > > like what Chiba (http://chiba.sf.net/) is targeting. Of course, > > though, that isn't a Python/Zope solution. Has anyone seen anything > > that works? At this point, installing Tomcat and Chiba is what I > > presume I'll be doing in a couple of weeks > > > > 3) Is there a function built-in to Zope that allows merging XML files? > > (ie: all the within a list of user-selected files). > > I've got an Extension that works correctly (using the Amara/4Suite > > packages), so an answer here is mostly for me to learn Zope better. > > > > > > Thanks, > > Nikko. > > > > PS: I'm pretty new to Python & Zope, but not web servers or other > > programming. > > > > Server: > > Fedora Core 3 > > Python 2.3.4 > > Zope 2.7.6-final > > Plone 2.0.5 > > 4Suite 1.0b1 > > Amara 1.0b2 > > > > > > > > ___ > > Zope maillist - Zope@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 ) > > > > -- Dennis Allison * Computer Systems Laboratory * Gates 227 * Stanford University * Stanford CA 94305 * (650) 723-9213 * (650) 723-0033 fax * [EMAIL PROTECTED] * [EMAIL PROTECTED] ___ Zope maillist - Zope@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 )
Re: [Zope] XML Content handling questions.
Zope itself has no native XML support. However there are some products like ParsedXML that provide additional functionality. You might also look at Silva CMS which is provides native XML support. -aj --On 27. Mai 2005 14:53:40 -0600 Nikko Wolf <[EMAIL PROTECTED]> wrote: Three questions, in order of importance (to me): 1) Is it possible to validate an (uploaded) XML file against a schema (currently on the Zope server)? What, if any, extra packages are needed?I want to use this in my upload forms to alert the user if their files are invalid. 2) I also need to serve up web-based forms and allow the user to create XML content based on a user-selected schema. Something like what Chiba (http://chiba.sf.net/) is targeting. Of course, though, that isn't a Python/Zope solution. Has anyone seen anything that works? At this point, installing Tomcat and Chiba is what I presume I'll be doing in a couple of weeks 3) Is there a function built-in to Zope that allows merging XML files? (ie: all the within a list of user-selected files). I've got an Extension that works correctly (using the Amara/4Suite packages), so an answer here is mostly for me to learn Zope better. Thanks, Nikko. PS: I'm pretty new to Python & Zope, but not web servers or other programming. Server: Fedora Core 3 Python 2.3.4 Zope 2.7.6-final Plone 2.0.5 4Suite 1.0b1 Amara 1.0b2 ___ Zope maillist - Zope@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 ) pgp0qga7DYUCD.pgp Description: PGP signature ___ Zope maillist - Zope@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 )