From dkuhlman at rexx.com Fri Dec 1 22:52:32 2006 From: dkuhlman at rexx.com (Dave Kuhlman) Date: Fri, 1 Dec 2006 13:52:32 -0800 Subject: [XML-SIG] ANN: new email list for generateDS.py Message-ID: <20061201215232.GA81469@cutter.rexx.com> I recently created a project for generateDS.py at Source Forge. One of the benefits is support for email lists. So, if you have questions or comments about generateDS.py, that would be a good place to ask them. You can find the list here: http://sourceforge.net/mail/?group_id=183592 And the project itself is here: http://sourceforge.net/projects/generateds/ Dave -- Dave Kuhlman http://www.rexx.com/~dkuhlman From mike at skew.org Sat Dec 2 01:30:22 2006 From: mike at skew.org (Mike Brown) Date: Fri, 1 Dec 2006 17:30:22 -0700 (MST) Subject: [XML-SIG] Installation of XML package v0.8.3 In-Reply-To: <6AF7979EE40736408C94E7D414EBD62802434F6B@THEZE.intra.cea.fr> Message-ID: <200612020030.kB20UMUP044701@chilled.skew.org> [cc'ing the list again] Yes, it's possible to install PyXML in a location separate from Python installation. 1. set PYTHONPATH to ~/mypythonlibs/lib/python 2. python setup.py install --home=~/mypythonlibs Note the "/lib/python" is on PYTHONPATH but *not* on --home. PyXML will install 2 xmlproc scripts into ~/mypythonlibs/bin (normally they'd go into /usr/bin or /usr/local/bin) and everything else into ~/mypythonlibs/lib/python/_xmlplus. (normally they'd go into Python's site-packages folder) As long as PYTHONPATH is set you should be able to access the new and extended libraries. A quick test that should produce no error: python -c "from xml import marshal" Thanks to Jeremy Kloth for assistance getting this answer together for you. By the way, what PyXML features are you planning to use? SAROLI Andre Int?rimaire wrote: > Thanks for your answer, > > First I use XML package 0.8.4 and not 0.8.3. > > I'm sorry but I don't anderstand the answer. > > Python is installed in /usr/bin/ but I'm not root on this station and before calling the administrator, I want to try the package so I want to install it in the folder /home/toto/ > Is it possible to do that and if it is, how can I make it? > > Thanks for all. > > > > -----Message d'origine----- > De?: Mike Brown [mailto:mike at skew.org] > Envoy??: jeudi 30 novembre 2006 18:52 > ??: SAROLI Andre Int?rimaire > Cc?: xml-sig at python.org > Objet?: Re: [XML-SIG] Installation of XML package v0.8.3 > > SAROLI Andre Int?imaire wrote: > > I want to install the XML package v0.8.3 on my station. I want to install it in an other directory of the previous python folder. > > > > In the setup.py -help-commands I have not found the command which allow to change the installation folder, like for some other scripts I make "-prefix=/home/toto". > > It should install relative to the python interpret you use to run setup.py. > > For example, instead of 'setup.py install', > do '/path/to/your/python setup.py install' > > Is that sufficient? > > Also, why 0.8.3 and not 0.8.4? > > From uche at ogbuji.net Mon Dec 11 05:17:09 2006 From: uche at ogbuji.net (Uche Ogbuji) Date: Sun, 10 Dec 2006 21:17:09 -0700 Subject: [XML-SIG] ANN: 4Suite XML 1.0.1 Message-ID: <457CDBC5.7060404@ogbuji.net> 4Suite XML 1.0.1 is now available from Sourceforge and ftp.4suite.org. Thanks to all the testers, there are a number of important fixes and improvements since 1.0, and we recommend upgrade from all previous versions. Changes include: * Fixed error handling the interactive Python sys.path entry of '' * Handle overridden default namespace properly in Ft.Xml.Domlette.ParseFragment * default namespace fix for Ft.Xml.Domlette.GetAllNs * Memory leak fixes * Documentation tweaks * Bug fixes, including installer fixes 4Suite consists of 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. 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. Many users will be able to use easy_install. See the bottom of this announcement for more information. General information: http://4suite.org/ http://uche.ogbuji.net/tech/4Suite/ https://sourceforge.net/projects/foursuite/ Source code, Python eggs, Windows installers, and documentation: ftp://ftp.4suite.org/pub/4Suite/ (primary) http://sourceforge.net/project/showfiles.php?group_id=39954 (secondary) http://cheeseshop.python.org/pypi/4Suite-XML/ (alternative) You only need to download one distribution (source, egg, or .exe). Installation requirements and other details: http://4suite.org/docs/README Installation: You can install without any separate download using: easy_install 4Suite-XML For more information see: http://peak.telecommunity.com/DevCenter/EasyInstall Otherwise use one of the packages listed above, or one provided by your software distributor. Documentation: Documentation is distributed separately from the source and eggs. Windows installers come with documentation; no separate download needed. The 4Suite XML core manual is included in the documentation. It can be browsed online at http://4suite.org/docs/CoreManual.xml -- Uche Ogbuji Work: The Kadomo Group, Inc. http://uche.ogbuji.net http://kadomo.com http://copia.ogbuji.net Lead dev at http://4Suite.org Articles: http://uche.ogbuji.net/tech/publications/ From martin at v.loewis.de Mon Dec 11 22:41:11 2006 From: martin at v.loewis.de (=?ISO-8859-15?Q?=22Martin_v=2E_L=F6wis=22?=) Date: Mon, 11 Dec 2006 22:41:11 +0100 Subject: [XML-SIG] Include tarballs in pypi In-Reply-To: <456ABC9D.5040005@gocept.com> References: <456ABC9D.5040005@gocept.com> Message-ID: <457DD077.8090004@v.loewis.de> Christian Theune schrieb: > currently the PyXML-packages are only available through sf download. Is > there any chance to include direct download links in pypi? Otherwise > PyXML is not available for easy_install consumption. PyXML is currently unmaintained. A prerequisite to uploading binaries IMO is to make a release in the first place. Regards, Martin From ct at gocept.com Mon Dec 11 23:19:08 2006 From: ct at gocept.com (Christian Theune) Date: Mon, 11 Dec 2006 23:19:08 +0100 Subject: [XML-SIG] Include tarballs in pypi In-Reply-To: <457DD077.8090004@v.loewis.de> References: <456ABC9D.5040005@gocept.com> <457DD077.8090004@v.loewis.de> Message-ID: <457DD95C.5030904@gocept.com> Hi, Martin v. L?wis wrote: > Christian Theune schrieb: >> currently the PyXML-packages are only available through sf download. Is >> there any chance to include direct download links in pypi? Otherwise >> PyXML is not available for easy_install consumption. > > PyXML is currently unmaintained. A prerequisite to uploading binaries > IMO is to make a release in the first place. I guess this means that there are changes to the code base that haven't been released yet. Is there anything I can do to help? (I probably can't commit to this long term, but I'll be able to help out on a short term basis to get a release done and upload some binaries.) Christian -- gocept gmbh & co. kg - forsterstra?e 29 - 06112 halle/saale - germany www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 - fax +49 345 122 9889 1 - zope and plone consulting and development -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://mail.python.org/pipermail/xml-sig/attachments/20061211/a68a1bde/attachment.pgp From martin at v.loewis.de Tue Dec 12 06:49:48 2006 From: martin at v.loewis.de (=?ISO-8859-15?Q?=22Martin_v=2E_L=F6wis=22?=) Date: Tue, 12 Dec 2006 06:49:48 +0100 Subject: [XML-SIG] Include tarballs in pypi In-Reply-To: <457DD95C.5030904@gocept.com> References: <456ABC9D.5040005@gocept.com> <457DD077.8090004@v.loewis.de> <457DD95C.5030904@gocept.com> Message-ID: <457E42FC.8000700@v.loewis.de> Christian Theune schrieb: > I guess this means that there are changes to the code base that haven't > been released yet. Perhaps, yes; nobody knows. > Is there anything I can do to help? (I probably can't commit to this > long term, but I'll be able to help out on a short term basis to get a > release done and upload some binaries.) Then, no. The only meaningful help would be long-term. If you have been using PyXML so far, you should consider moving away from it. Regards, Martin From martin at v.loewis.de Tue Dec 12 07:08:43 2006 From: martin at v.loewis.de (=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=) Date: Tue, 12 Dec 2006 07:08:43 +0100 Subject: [XML-SIG] Include tarballs in pypi In-Reply-To: <200612112258.08397.jeremy.kloth@4suite.org> References: <456ABC9D.5040005@gocept.com> <457DD95C.5030904@gocept.com> <457E42FC.8000700@v.loewis.de> <200612112258.08397.jeremy.kloth@4suite.org> Message-ID: <457E476B.10709@v.loewis.de> Jeremy Kloth schrieb: > Is there still interest in Fourthought providing the up-to-date XPath > implementation as promised many years ago? Not from me, anymore - at least not to PyXML. There may be interest in including this in Python itself. OTOH, there haven't been many user requests for that, either. Regards, Martin From jeremy.kloth at 4suite.org Tue Dec 12 06:58:08 2006 From: jeremy.kloth at 4suite.org (Jeremy Kloth) Date: Mon, 11 Dec 2006 22:58:08 -0700 Subject: [XML-SIG] Include tarballs in pypi In-Reply-To: <457E42FC.8000700@v.loewis.de> References: <456ABC9D.5040005@gocept.com> <457DD95C.5030904@gocept.com> <457E42FC.8000700@v.loewis.de> Message-ID: <200612112258.08397.jeremy.kloth@4suite.org> On Monday 11 December 2006 10:49 pm, Martin v. L?wis wrote: > Christian Theune schrieb: > > I guess this means that there are changes to the code base that haven't > > been released yet. > > Perhaps, yes; nobody knows. Is there still interest in Fourthought providing the up-to-date XPath implementation as promised many years ago? Basically, it would be the XPath library as released with 4Suite-XML 1.0 with changes as appropriate to work with the different expression parser and, of course, minidom. I would do the work only if there is still interest. -- Jeremy Kloth http://4suite.org/ From ct at gocept.com Tue Dec 12 07:51:22 2006 From: ct at gocept.com (Christian Theune) Date: Tue, 12 Dec 2006 07:51:22 +0100 Subject: [XML-SIG] Include tarballs in pypi In-Reply-To: <457E42FC.8000700@v.loewis.de> References: <456ABC9D.5040005@gocept.com> <457DD077.8090004@v.loewis.de> <457DD95C.5030904@gocept.com> <457E42FC.8000700@v.loewis.de> Message-ID: <457E516A.8090009@gocept.com> Hi, Martin v. L?wis wrote: >> Is there anything I can do to help? (I probably can't commit to this >> long term, but I'll be able to help out on a short term basis to get a >> release done and upload some binaries.) > > Then, no. The only meaningful help would be long-term. > > If you have been using PyXML so far, you should consider moving away > from it. Alright. Thanks for the clarification. Christian -- gocept gmbh & co. kg - forsterstra?e 29 - 06112 halle/saale - germany www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 - fax +49 345 122 9889 1 - zope and plone consulting and development -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://mail.python.org/pipermail/xml-sig/attachments/20061212/26d06b79/attachment.pgp From loki-tmp at yandex.ru Fri Dec 15 09:55:07 2006 From: loki-tmp at yandex.ru (Alexander Agibalov) Date: Fri, 15 Dec 2006 11:55:07 +0300 (MSK) Subject: [XML-SIG] problem compiling pyxml Message-ID: <458262EB.000001.00593@pantene.yandex.ru> Hi, I'm trying to install pyxml with python 2.5 under windows 2k. I don't have VS2003, but I do have Cygwin as suggested by the setup.py. So I've built it successfully with setup.py build -c mingw32 BUT setup.py install -c mingw32 says error: invalid command 'mingw32' although when I just run setup.py install it says: error: Python was built with Visual Studio 2003; extensions must be built with a compiler than can generate compatible binaries. Visual Studio 2003 was not found on this system. If you have Cygwin installed, you can try compiling with MingW32, by passing "-c mingw32" to setup.py. So how can I install the build? Thanx, Alex From ahatzis at gmx.net Fri Dec 15 11:49:44 2006 From: ahatzis at gmx.net (Anastasios Hatzis) Date: Fri, 15 Dec 2006 11:49:44 +0100 Subject: [XML-SIG] XMI and XSLT for MDA tool Message-ID: <45827DC8.7070206@gmx.net> Hopefully I'm not at the wrong list with this issue :-) I'm looking for someone with XSL know-how and who wants to contribute to an open-source MDA tool for Python applications. OpenSwarm [http://openswarm.sourceforge.net/] is planned to be this MDA tool. It can be feeded with an XMI file and then generates an application written in Python and using a PostgreSQL database-server. Current stage is alpha. OpenSwarm currently support XMI 2.1 files created with MagicDraw UML CASE tool. Future releases should be able to support also other (older) XMI versions and UML CASE tools, especially the open-source tools. I'm looking for a developer who wants to add this feature. One approach could be to transform any XMI 1.x or 2.x file to a XMI 2.1 file (which already can be parsed into a Python representation). I think XSLT would be a way to achieve this transformation from one XMI format to another XMI format. Good knowledge in XMI would be helpful or at least the will to learn XMI, see http://www.omg.org/ - On this site you will also find information regarding related standards MOF, UML, and MDA. Questions and comments are appreciated :-) Anastasios From morillas at gmail.com Fri Dec 15 22:35:13 2006 From: morillas at gmail.com (Luis Miguel Morillas) Date: Fri, 15 Dec 2006 22:35:13 +0100 Subject: [XML-SIG] problem compiling pyxml In-Reply-To: <458262EB.000001.00593@pantene.yandex.ru> References: <458262EB.000001.00593@pantene.yandex.ru> Message-ID: <68d25cbc0612151335x56e718d4k10656359d85adae0@mail.gmail.com> 2006/12/15, Alexander Agibalov : > Hi, > I'm trying to install pyxml with python 2.5 under windows 2k. > I don't have VS2003, but I do have Cygwin as suggested by the setup.py. > > So I've built it successfully with > setup.py build -c mingw32 > > BUT > setup.py install -c mingw32 > says error: invalid command 'mingw32' > > although when I just run > setup.py install > it says: > > error: Python was built with Visual Studio 2003; > extensions must be built with a compiler than can generate compatible binaries. > Visual Studio 2003 was not found on this system. If you have Cygwin installed, > you can try compiling with MingW32, by passing "-c mingw32" to setup.py. > > So how can I install the build? > Read this tutorial on Amara. I wrote how to configure MinGW: http://livingpyxml.python-hosting.com/wiki/AmaraWindowsInstallTips > Thanx, > Alex > _______________________________________________ > XML-SIG maillist - XML-SIG at python.org > http://mail.python.org/mailman/listinfo/xml-sig > -- Saludos, -- Luis Miguel From noreply at sourceforge.net Sat Dec 16 12:05:34 2006 From: noreply at sourceforge.net (SourceForge.net) Date: Sat, 16 Dec 2006 03:05:34 -0800 Subject: [XML-SIG] [ pyxml-Bugs-1616923 ] AttributesImpl does not implement __contains__ on Linux Message-ID: Bugs item #1616923, was opened at 2006-12-16 11:05 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=1616923&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 Private: No Submitted By: Georg Brandl (gbrandl) Assigned to: Nobody/Anonymous (nobody) Summary: AttributesImpl does not implement __contains__ on Linux Initial Comment: I'm just forwarding this from the Python tracker (https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1614387&group_id=5470) """ Hi there Had an odd error trying to run a utility called SVGMath: File "/home/jason/downloads/SVGMath-0.3.1/svgmath/mathconfig.py", line 54, in startElement elif u"afm" in attributes: File "/usr/lib/python2.5/site-packages/_xmlplus/sax/xmlreader.py", line 316, in __getitem__ return self._attrs[name] KeyError: 0 It appears that AttributesImpl in the sax package (xmlreader.py) doesn't implement __contains__, so the 'in' operator throws an error. This is on Kubuntu/Linux, so I'm not sure if it's distro-specific or all Linux versions of Python. In any case, if you add: def __contains__(self, name): return self._attrs.has_key(name) to AttributesImpl in xmlreader.py (as per the Windows version of Python), the problem goes away. Kind regards Jason """ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106473&aid=1616923&group_id=6473 From noreply at sourceforge.net Mon Dec 25 17:01:28 2006 From: noreply at sourceforge.net (SourceForge.net) Date: Mon, 25 Dec 2006 08:01:28 -0800 Subject: [XML-SIG] [ pyxml-Patches-1622024 ] minidom namespace normalization Message-ID: Patches item #1622024, was opened at 2006-12-25 16:01 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=306473&aid=1622024&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 Private: No Submitted By: Paul Pacheco (paulpach) Assigned to: Nobody/Anonymous (nobody) Summary: minidom namespace normalization Initial Comment: This is a patch that fixes bug 637355, along with a test case that reproduces the original problem. The patch is a port of the algorithm described here pretty much verbatim: http://www.w3.org/TR/DOM-Level-3-Core/namespaces-algorithms.html#normalizeDocumentAlgo to resolve namespace declarations. The patch also calls the normalizeNamespace method before calling writexml Note the patch is against minidom that comes with pyxml 0.8.4. and is a port from the same patch submited here https://sourceforge.net/tracker/?func=detail&aid=1621421&group_id=5470&atid=305470 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=306473&aid=1622024&group_id=6473 From uche at ogbuji.net Tue Dec 26 20:38:46 2006 From: uche at ogbuji.net (Uche Ogbuji) Date: Tue, 26 Dec 2006 12:38:46 -0700 Subject: [XML-SIG] ANN: 4Suite XML 1.0.2 Message-ID: <45917A46.7000701@ogbuji.net> 4Suite XML 1.0.2 is now available from Sourceforge and ftp.4suite.org. Thanks to all the testers, there are a number of important fixes and improvements since 1.0.1, and we recommend upgrade from all previous versions. Changes include: * Fixed TypeError when multiple interpreters are used (should help with mod-python) * Memory leak fix in Saxlette: freeing any parsing contexts left on the parser when it is freed. * Fix bug where extension functions are not properly passed on in context * Fix build error when Python is configured with `--enable-shared` * Fix bug with xi:include element's orphaning element state thus causing an error with xsl:strip-elements. * Fix error in nodeset comparisons with booleans 4Suite consists of 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. 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. Many users will be able to use easy_install. See the bottom of this announcement for more information. General information: http://4suite.org/ https://sourceforge.net/projects/foursuite/ Source code, Python eggs, Windows installers, and documentation: ftp://ftp.4suite.org/pub/4Suite/ (primary) http://sourceforge.net/project/showfiles.php?group_id=39954 (secondary) http://cheeseshop.python.org/pypi/4Suite-XML/ (alternative) You only need to download one distribution (source, egg, or .exe). Installation requirements and other details: http://4suite.org/docs/README Installation: You can install without any separate download using: easy_install 4Suite-XML For more information see: http://peak.telecommunity.com/DevCenter/EasyInstall Otherwise use one of the packages listed above, or one provided by your software distributor. Documentation: Documentation is distributed separately from the source and eggs. Windows installers come with documentation; no separate download needed. The 4Suite XML core manual is included in the documentation. It can be browsed online at http://4suite.org/docs/CoreManual.xml -- Uche Ogbuji Work: The Kadomo Group, Inc. http://uche.ogbuji.net http://kadomo.com http://copia.ogbuji.net Lead dev at http://4Suite.org Articles: http://uche.ogbuji.net/tech/publications/