From tinodb at gmail.com Fri Sep 1 17:12:57 2006 From: tinodb at gmail.com (TiNo) Date: Fri, 1 Sep 2006 17:12:57 +0200 Subject: [XML-SIG] utils and core missing Message-ID: <435b46e50609010812r6fec2422g29306acc4d625dc3@mail.gmail.com> In the archives of this mailing list I see modules utils and core used very frequent. I do not have those modules, although I just installed version 0.8.1 with the binary installer for Win. How do I get those modules? thanks, TiNo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/xml-sig/attachments/20060901/72778a85/attachment.htm From SMTP_Mail_Security at afr-sd.org Wed Sep 6 17:13:42 2006 From: SMTP_Mail_Security at afr-sd.org (SMTP_Mail_Security at afr-sd.org) Date: Wed, 06 Sep 2006 11:13:42 -0400 Subject: [XML-SIG] =?utf-8?q?Delivery_failure_notification?= Message-ID: <20060906152853.2572F1E4005@bag.python.org> Your message with Subject: Document could not be delivered to the following recipients: samer at afr-sd.org Please do not resend your original message. Delivery attempts will continue to be made for 4 day(s). From hostetlerm at gmail.com Wed Sep 6 19:01:53 2006 From: hostetlerm at gmail.com (Mike Hostetler) Date: Wed, 6 Sep 2006 12:01:53 -0500 Subject: [XML-SIG] my Python and XML talk Message-ID: I did a talk and Python and XML for my area's Dynamic Languages group last night. If someone else is giving a similiar talk, feel free to beg/borrow/steal. It's under the Creative Commons, so that's allowed. :) http://mike.hostetlerhome.com/present_files/pyxml.html -- Mike Hostetler http://mike.hostetlerhome.com/ From martin at v.loewis.de Sat Sep 9 15:12:18 2006 From: martin at v.loewis.de (=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=) Date: Sat, 09 Sep 2006 15:12:18 +0200 Subject: [XML-SIG] XML-HOWTO In-Reply-To: References: Message-ID: <4502BDB2.2010005@v.loewis.de> Dalton, Tom schrieb: > I would find it very useful if you could make some/all of the > documentation given at _http://pyxml.sourceforge.net/topics/docs.html_ > available in downloadable format (I appreciate some of it already is, > i.e. the PDF files). In particular, the XML HOWTO tutorial style > introduction would be very useful to me, but there's no easy way of > taking a copy of it since it's all separate html files. The source of the howto is a TeX file, available from sf.net/projects/pyxml; viewcvs URL is http://pyxml.cvs.sourceforge.net/pyxml/xml/doc/xml-ref.tex?revision=1.39&view=markup You can check it out, and compile it to PDF (or whatever format you prefer) yourself. Regards, Martin From lovewindoze at gmail.com Mon Sep 11 03:08:26 2006 From: lovewindoze at gmail.com (lovewindoze at gmail.com) Date: Sun, 10 Sep 2006 21:08:26 -0400 Subject: [XML-SIG] URLM Pro -> Del.icio.us Message-ID: <81693d110609101808g365eec4djcdb78d469f709b00@mail.gmail.com> First of all, I wasn't sure from the web page if I need to subscribe to this mailing list first. I'm hoping someone can help me. I've been using URL Manager Pro on a Mac for years and have tons of bookmarks stored and organized in about 10 different files. Does anyone know of a way to export/import them into Del.icio.us? even without tags would be OK. As long as the page name and address is imported. I tried exporting to an HTML file and then importing into Del.icio.us but that didn't work. if this is the wrong place to ask for help with this, sorry - any ideas where else? From uche at ogbuji.net Fri Sep 15 19:13:26 2006 From: uche at ogbuji.net (Uche Ogbuji) Date: Fri, 15 Sep 2006 11:13:26 -0600 Subject: [XML-SIG] ANN: 4Suite XML 1.0rc4 Message-ID: <450ADF36.3000708@ogbuji.net> Today we release 4Suite XML 1.0 release candidate 4, now available from Sourceforge and ftp.4suite.org. Thanks to all the testers, there are a number of important improvements over 1.0rc3. Please continue to help us test 4Suite to ensure a high-quality 1.0 final release. 4Suite is split into three separate packages: 4Suite XML - XML, XPath, XSLT, related technologies and support libraries 4Suite RDF - RDF processing libraries and stand-alone DBMS 4Suite Repository - XML and RDF repository This is a release of only the first component. Highlights of changes in 4Suite XML since 1.0rc3 -- * Installer improvements * Ft/Xml/Xslt/Exslt/DateTime.py: Implemented default values for right-truncated date/times in format-date() Missing values from left-truncated date/times are now replaced by '' * Bug fixes, documentation improvements 4Suite XML is a comprehensive library for XML processing. It is implemented in Python and C and supports XML (SAX-like and DOM-like), XPath, XSLT, RELAX NG, XUpdate, XInclude, XPointer, and more. The manual is included in the documents, or you can browse it online at http://uche.ogbuji.net/tech/4suite/etc/CoreManual.html For general information, see: http://4suite.org http://uche.ogbuji.net/tech/4Suite/ For the files, see: ftp://ftp.4suite.org/pub/4Suite/ Mirrored on www.fourthought.com: http://www.fourthought.com/files/4Suite/4Suite_XML-1.0rc4-py2.3-win32.egg http://www.fourthought.com/files/4Suite/4Suite_XML-1.0rc4-py2.4-win32.egg http://www.fourthought.com/files/4Suite/4Suite_XML-1.0rc4-py2.5-win32.egg http://www.fourthought.com/files/4Suite/4Suite-XML-1.0rc4.tar.bz2 http://www.fourthought.com/files/4Suite/4Suite-XML-1.0rc4.tar.gz http://www.fourthought.com/files/4Suite/4Suite-XML-1.0rc4.zip http://www.fourthought.com/files/4Suite/4Suite-XML-1.0rc4.win32-py2.2.exe http://www.fourthought.com/files/4Suite/4Suite-XML-1.0rc4.win32-py2.3.exe http://www.fourthought.com/files/4Suite/4Suite-XML-1.0rc4.win32-py2.4.exe http://www.fourthought.com/files/4Suite/4Suite-XML-1.0rc4.win32-py2.5.exe http://www.fourthought.com/files/4Suite/4Suite-XML-docs-1.0rc4.tar.bz2 http://www.fourthought.com/files/4Suite/4Suite-XML-docs-1.0rc4.tar.gz http://www.fourthought.com/files/4Suite/4Suite-XML-docs-1.0rc4.zip You can also get the files on Python CheeseShop: http://cheeseshop.python.org/pypi/4Suite-XML/ We usually upload to Sourceforge, and will do so as soon as we can, but server errors have made it impossible for us to complete the file release so far. https://sourceforge.net/projects/foursuite/ https://sourceforge.net/project/showfiles.php?group_id=39954 Documentation: In the locations specified above, with filenames of the form 4Suite-XML-docs-1.0rc4.* Release notes -- The current installation directory layout document tells where package files are installed: http://4suite.org/docs/installation-locations.xhtml -- Uche Ogbuji Fourthought, Inc. http://uche.ogbuji.net http://fourthought.com http://copia.ogbuji.net http://4Suite.org Articles: http://uche.ogbuji.net/tech/publications/ From uche at ogbuji.net Sat Sep 16 05:58:53 2006 From: uche at ogbuji.net (Uche Ogbuji) Date: Fri, 15 Sep 2006 21:58:53 -0600 Subject: [XML-SIG] ANN: Amara XML Toolkit 1.1.9 Message-ID: <450B767D.9090703@ogbuji.net> http://uche.ogbuji.net/tech/4suite/amara http://cheeseshop.python.org/pypi/Amara/ ftp://ftp.4suite.org/pub/Amara/ Changes since Amara 1.1.7: * Add support for EasyInstall; other packaging & installer improvements - Note: allinone package eliminated * Add trimxml command line utility (for running reports on XML files) * Switch to Docbook for documentation source * Bindery: Add support for dict-like accessors * Tenorsax: Restore support for PySax * Scimitar: Implement abstract rules * Scimitar: Update Schematron namespace to ISO * Scimitar: Implement phases * Scimitar: Support Schematron queryBinding attribute: XPath, XSLT, EXSLT * Add binderytools.fixup_namespaces function * Add binderytools.quick_xml_scan function * Fix APIs for adding comments and PIs * Fix domtools.abs_path to be more namespace aware * Bug fixes Amara XML Toolkit is a collection of Python tools for XML processing-- not just tools that happen to be written in Python, but tools built from the ground up to use Python's conventions and take advantage of the many advantages of teh language. Amara builds on 4Suite [http://4Suite.org], but whereas 4Suite offers more on literal implementation of XML standards in Python, Amara focuses on Pythonic idiom. It provides tools you can trust to conform with XML standards without losing the familiar Python feel. The components of Amara are: * Bindery: data binding tool (a very Pythonic XML API) * Scimitar: implementation of the ISO Schematron schema language for XML; converts Schematron files to Python scripts * domtools: set of tools to augment Python DOMs * saxtools: set of tools to make SAX easier to use in Python * Flextyper: user-defined datatypes in Python for XML processing There's a lot in Amara, but here are highlights: Amara Bindery: XML as easy as py -------------------------------- Bindery turns an XML document into a tree of Python objects corresponding to the vocabulary used in the XML document, for maximum clarity. For example, the document What do you mean "bleh" But I was looking for argument Becomes a data structure such that you can write binding.monty.python.spam In order to get the value "eggs" or binding.monty.python[1] In order to get the value "But I was looking for argument". There are other such tools for Python, and what makes Bindery unique is that it's driven by a very declarative rules-based system for binding XML to the Python data. You can register rules that are triggered by XPattern expressions specialized binding behavior. It includes XPath support and supports mutation. Bindery is fairly efficient, using SAX to generate bindings. Scimitar: Schematron for Pytthon -------------------------------- Scimitar is an implementation of ISO Schematron that compiles a Schematron schema into a Python validator script. You typically use scimitar in two phases. Say you have a schematron schema schema1.stron and you want to validate multiple XML files against it, instance1.xml, instance2.xml, instance3.xml. First you run schema1.stron through the scimitar compiler script, scimitar.py: scimitar.py schema1.sch The generated file, schema1-stron.py, can be used to validate XML instances: python schema1-stron.py instance1.xml Which emits a validation report. Amara DOM Tools: giving DOM a more Pythonic face ------------------------------------------------ DOM came from the Java world, hardly the most Pythonic API possible. Some DOM-like implementations such as 4Suite's Domlettes mix in some Pythonic idiom. Amara DOM Tools goes even further. Amara DOM Tools feature pushdom, similar to xml.dom.pulldom, but easier to use. It also includes Python generator-based tools for DOM processing, and a function to return an XPath location for any DOM node. Amara SAX Tools: SAX without the brain explosion ------------------------------------------------ Tenorsax (amara.saxtools.tenorsax) is a framework for "linerarizing" SAX logic so that it flows more naturally, and needs a lot less state machine wizardry. License ------- Amara is open source, provided under the 4Suite variant of the Apache license. See the file COPYING for details. Installation ------------ Amara 1.1.9 requires Python 2.3 or more recent and 4Suite-XML 1.0rc4 or more recent. The easiest way to install it is: easy_install amara If this does not work you are probably not set up for easy_install and I suggest you follow the simple instructions at http://peak.telecommunity.com/DevCenter/EasyInstall easy_install will automatically take care of installing dependencies for you. If you prefer not to use easy_install, then grab a 4Suite-XML package morerecent than 1.0rc4 and install that, then install the Amara package using the usual: python setup.py install Or a Windows installer, or other method. -- Uche Ogbuji Fourthought, Inc. http://uche.ogbuji.net http://fourthought.com http://copia.ogbuji.net http://4Suite.org Articles: http://uche.ogbuji.net/tech/publications/ From governor at ink.org Tue Sep 19 08:48:14 2006 From: governor at ink.org (governor at ink.org) Date: Tue, 19 Sep 2006 01:48:14 -0500 Subject: [XML-SIG] SPAM-ALERT! Kftay Message-ID: <200609190254453.SM00328@ink.org> The original message was received at Tue, 19 Sep 2006 01:48:14 -0500 from [180.184.8.149] ----- The following addresses had permanent fatal errors ----- ----- Transcript of session follows ----- ... while talking to server 182.176.171.203: >>> MAIL From:governor at ink.org <<< 500 governor at ink.org... Domain blacklisted -------------- next part -------------- **** NOTE: An attachment was deleted from this part of the message, because it failed one or more checks by the virus scanning system. The file has been quarantined on the mail server, with the following file name: att-message.zip-450f91dc.32 The removed attachment's original name was: message.zip It is recommended that you contact your system administrator if you need access to the file. It might also be a good idea to contact the sender, and warn them that their system may be infected. **** From uche at ogbuji.net Tue Sep 19 19:45:43 2006 From: uche at ogbuji.net (Uche Ogbuji) Date: Tue, 19 Sep 2006 11:45:43 -0600 Subject: [XML-SIG] ANN: Amara XML Toolkit 1.1.9 In-Reply-To: <450B763B.40309@ogbuji.net> References: <450B763B.40309@ogbuji.net> Message-ID: <45102CC7.9040703@ogbuji.net> Apologies for the cross-post. I need to post a brief correction to the lists for the original announcement. Uche Ogbuji wrote: > http://uche.ogbuji.net/tech/4suite/amara > http://cheeseshop.python.org/pypi/Amara/ > ftp://ftp.4suite.org/pub/Amara/ ... The original Windows installer EXEs posted for Amara 1.1.9 were corrupted. Jeremy Kloth and Luis Miguel Morillas collaborated on a quick fix, and working EXEs are now posted at ftp://ftp.4suite.org/pub/Amara/. If you try and have any further problems please post tot he 4Suite mailing list. -- Uche Ogbuji Fourthought, Inc. http://uche.ogbuji.net http://fourthought.com http://copia.ogbuji.net http://4Suite.org Articles: http://uche.ogbuji.net/tech/publications/ From uche at ogbuji.net Tue Sep 19 19:45:43 2006 From: uche at ogbuji.net (Uche Ogbuji) Date: Tue, 19 Sep 2006 11:45:43 -0600 Subject: [XML-SIG] ANN: Amara XML Toolkit 1.1.9 In-Reply-To: <450B763B.40309@ogbuji.net> References: <450B763B.40309@ogbuji.net> Message-ID: <45102CC7.9040703@ogbuji.net> Apologies for the cross-post. I need to post a brief correction to the lists for the original announcement. Uche Ogbuji wrote: > http://uche.ogbuji.net/tech/4suite/amara > http://cheeseshop.python.org/pypi/Amara/ > ftp://ftp.4suite.org/pub/Amara/ .. The original Windows installer EXEs posted for Amara 1.1.9 were corrupted. Jeremy Kloth and Luis Miguel Morillas collaborated on a quick fix, and working EXEs are now posted at ftp://ftp.4suite.org/pub/Amara/. If you try and have any further problems please post tot he 4Suite mailing list. -- Uche Ogbuji Fourthought, Inc. http://uche.ogbuji.net http://fourthought.com http://copia.ogbuji.net http://4Suite.org Articles: http://uche.ogbuji.net/tech/publications/ -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html From noreply at sourceforge.net Wed Sep 20 16:58:05 2006 From: noreply at sourceforge.net (SourceForge.net) Date: Wed, 20 Sep 2006 07:58:05 -0700 Subject: [XML-SIG] [ pyxml-Bugs-1562266 ] Build for 2.5 Message-ID: Bugs item #1562266, was opened at 2006-09-20 09:58 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106473&aid=1562266&group_id=6473 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: liturgist (liturgist) Assigned to: Nobody/Anonymous (nobody) Summary: Build for 2.5 Initial Comment: Is a build for 2.5 FINAL available? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106473&aid=1562266&group_id=6473 From pwatson at redlinepy.com Wed Sep 20 17:10:04 2006 From: pwatson at redlinepy.com (=?utf-8?Q?Paul=20Watson?=) Date: Wed, 20 Sep 2006 09:10:04 -0600 Subject: [XML-SIG] pyxml build for 2.5 FINAL Message-ID: <20060920151004.9022.qmail@hostserver150.com> I woud like to use pyxml with Python 2.5. My existing code is working under Python 2.4. How can I get pyxml for Python 2.5? Thanks. If I should be using some other XML processing package, please let me know. Thanks. Kindest regards, Paul Watson From www.python.org at squirrelblue.org Tue Sep 26 02:27:50 2006 From: www.python.org at squirrelblue.org (www.python.org at squirrelblue.org) Date: Tue, 26 Sep 2006 01:27:50 +0100 Subject: [XML-SIG] Minidom bug: User-data handlers on attributes fail to fire... Message-ID: <200609260127.50507.www.python.org@squirrelblue.org> Summary User-data handlers on attributes fail to fire when deep cloning an element. (I think this is the right mailing-list for these sorts of things, if not then please direct me to where I want to be :) I have attached a py.test-style test case (ie: code that only falls over in the presence of the bug). I have attached a 2 line patch that fixes the bug. To whoever is in charge of mindom.py, please review and commit :) --anjansamanta -------------- next part -------------- A non-text attachment was scrubbed... Name: test_minidom.py Type: application/x-python Size: 1559 bytes Desc: not available Url : http://mail.python.org/pipermail/xml-sig/attachments/20060926/ea3b4ef2/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: minidom-1.90-cloneNode.patch Type: text/x-diff Size: 515 bytes Desc: not available Url : http://mail.python.org/pipermail/xml-sig/attachments/20060926/ea3b4ef2/attachment-0001.bin From stylusstudio at gmail.com Wed Sep 27 00:37:09 2006 From: stylusstudio at gmail.com (Stylus Studio) Date: Tue, 26 Sep 2006 18:37:09 -0400 Subject: [XML-SIG] [Announce] Stylus Studio 2007 XML Enterprise Suite Released: XML Pipeline, XML Publishing and Data Conversion API's Message-ID: <57783b190609261537q3383b2cche0c16a43e9b7bc25@mail.gmail.com> [Announce] Dear XML-SiG - Stylus Studio 2007 XML Enterprise Suite is now available for free trial download, featuring all-new tools for XML Pipelining, XML Publishing, powerful new Data Conversion APIs and so much more at new reduced prices. Read on for more information, or download it now at: http://www.stylusstudio.com/xml_download.html The Stylus Studio XML Pipeline tool is the world's first true integrated development environment for XML programming because it provides a comprehensive way to model, edit, debug, and deploy the entire application, rather than just the individual bits and pieces that make it up. The following are some of the highlights of the new Stylus Studio XML Pipeline tool - * Visual editor: lets you specify and link together any number of XML processing operations to be applied to your data * Support for dozens of XML processing operations including converting, transforming, validating, querying, and publishing your data * Re-use XML Pipelines inside other XML Pipelines * Complete XML Pipeline debugging support * Cross-language debugging support -- step into XSLT or XQuery * Define pipeline flow control based on different conditions, for example, the outcome of an XML validation operation, or the result of an XPath expression * Generate Java code to deploy an entire XML application, not just one piece * Extensible execution framework enables developers to choose different processors for XML validation, XSLT, XSL:FO, and XQuery XML Pipeline Video Demonstration: http://www.stylusstudio.com/videos/pipeline2/pipeline2.html For more information about XML Pipeline: http://www.stylusstudio.com/xml/pipeline.html The Stylus Studio XML Publisher product provides the easiest way to create professional quality reports from your XML and relational data without needing a degree in Computer Science. The following are just a few of the highlights of Stylus Studio XML Publisher product: * Visually design stylesheets and publish them to PDF, HTML, PostScript and other document formats. * Access numerous data sources including relational databases, XML, Web services, EDI, X12, EDIFACT, IATA, CSV and thousands of other legacy file formats. * Generate XQuery or XSLT 1.0 / XSLT 2.0 to generate XSL:FO or HTML output. * Integration with RenderX XEP and Apache FOP. * Support for rich formatting including tables, lists, text blocks, images, and more. * Support for iteration, flow control, and conditions based on XPath. * Integration with XML Pipeline enables XML publishing as part of a larger XML workflow application. XML Publisher Video Demonstration: http://www.stylusstudio.com/videos/publisher1/publisher1.html For more information about XML Publisher: http://www.stylusstudio.com/xml/publishing.html Data Conversion APIs are scalable XML adapters for reading and writing different legacy file formats such as EDI (EDIFACT, X12, IATA, or EANCOM), CSV, dBase, binary, or any other file format. If you're dissatisfied using a desktop application to manually cut and paste results every time you need to convert some data from one format or another, or if you need to invoke data conversions programmatically, inside your application code for use in a live application, then check out Stylus Studio 2007 XML Deployment Adapters! For more information about Data Conversion API's: http://www.stylusstudio.com/data_conversion.html Download a free trial today at: http://www.stylusstudio.com/xml_download.html New Features: http://www.stylusstudio.com/xml_product_new_features.html Purchase Stylus Studio: http://www.stylusstudio.com/buy/ Sincerely, The Stylus Studio Team http://www.stylusstudio.com From noreply at sourceforge.net Wed Sep 27 09:35:50 2006 From: noreply at sourceforge.net (SourceForge.net) Date: Wed, 27 Sep 2006 00:35:50 -0700 Subject: [XML-SIG] [ pyxml-Bugs-1566185 ] fix for bool & comment nodes Message-ID: Bugs item #1566185, was opened at 2006-09-27 07:35 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106473&aid=1566185&group_id=6473 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Clemens Gutweiler (wmms) Assigned to: Nobody/Anonymous (nobody) Summary: fix for bool & comment nodes Initial Comment: fix for bug 1108441 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106473&aid=1566185&group_id=6473 From tom at settopsolutions.com Thu Sep 28 10:47:14 2006 From: tom at settopsolutions.com (Tom Kirkpatrick) Date: Thu, 28 Sep 2006 09:47:14 +0100 Subject: [XML-SIG] Thread safe XML parser Message-ID: I'm having issues using pyExpat from within a thread... I'm getting the following error: python: Modules/gcmodule.c:379: move_unreachable: Assertion `gc- >gc.gc_refs > 0' failed. The code is like so: def _handle_success( self ): """ called once the fetcher succeeds """ self.log.debug( "XMLFetcher succeeded fetching %s", self.uri ) callback = MainThreadCallback( self.signals[ "success" ].emit ) callback() def _handle_error( self ): """ called if the fetch attempt fails """ self.log.debug( "XMLFetcher reached retry limit" ) callback = MainThreadCallback( self.signals[ "failure" ].emit ) callback() def _do_fetch( self ): """ does the work of fetching and processing the xml file from the source url """ reader = PyExpat.Reader() for i in range( 0, self.retry_limit ): self.try_count += 1 self.log.debug( "Attempting fetch %s: %s of %s", self.uri, self.try_count, self.retry_limit ) try: self.xml = reader.fromUri( self.uri ).documentElement self._handle_success() return except ExpatError, e: self.log.error( "Could not parse XML file" ) except HTTPError, e: self.log.warning( "HTTP-Error whilst attempting to fetch %s: %s" %(self.uri, e.code) ) except URLError, e: self.log.warning( "ULR-Error whilst attempting to fetch %s: %s" %(self.uri, e.reason) ) time.sleep( self.retry_interval ) self._handle_error() def fetch( self ): """ spawns a new thread to fetch the xml file asyncronously """ thread = Thread( self._do_fetch ) thread.start() return None ------------------------ The offending line is: self.xml = reader.fromUri( self.uri ).documentElement Comment that out and it runs ok (although I get no xml back!!). I have also tried a slightly different method - fetching the file with urlopen and then using reader.fromStream to do the parsing, but I still get the same error: ... try: config_file = urllib.urlopen( self.uri ) self.xml = reader.fromStream ( config_file ).documentElement self._handle_success() return ... If I move the xml parsing stuff out of the thread it runs fine, although thats the bit that takes the time and thats the bit that need threading the most. I have searched the net trying to find out information about python xml parsing and thread safety but am not having much luck... Does anyone know of an xml parsing module with xpath support, that is thread safe? Or can anyone suggest a way round this problem or even give some pointers as to what the actual problem is being caussed by? many thanks Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/xml-sig/attachments/20060928/143c8234/attachment.htm From martin at v.loewis.de Sat Sep 30 00:55:45 2006 From: martin at v.loewis.de (=?ISO-8859-15?Q?=22Martin_v=2E_L=F6wis=22?=) Date: Sat, 30 Sep 2006 00:55:45 +0200 Subject: [XML-SIG] Minidom bug: User-data handlers on attributes fail to fire... In-Reply-To: <200609260127.50507.www.python.org@squirrelblue.org> References: <200609260127.50507.www.python.org@squirrelblue.org> Message-ID: <451DA471.90703@v.loewis.de> www.python.org at squirrelblue.org schrieb: > To whoever is in charge of mindom.py, please review and commit :) Please post this to sf.net/projects/python. PyXML is no longer maintained. Regards, Martin From martin at v.loewis.de Sat Sep 30 00:56:47 2006 From: martin at v.loewis.de (=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=) Date: Sat, 30 Sep 2006 00:56:47 +0200 Subject: [XML-SIG] pyxml build for 2.5 FINAL In-Reply-To: <20060920151004.9022.qmail@hostserver150.com> References: <20060920151004.9022.qmail@hostserver150.com> Message-ID: <451DA4AF.7080009@v.loewis.de> Paul Watson schrieb: > I woud like to use pyxml with Python 2.5. My existing code is > working under Python 2.4. How can I get pyxml for Python 2.5? You should be able to build PyXML yourself from the latest source release. Notice that PyXML is no longer maintained, though. Regards, Martin