From xml-sig at mlists.thewrittenword.com Sun Jul 2 20:52:42 2006 From: xml-sig at mlists.thewrittenword.com (Albert Chin) Date: Sun, 2 Jul 2006 13:52:42 -0500 Subject: [XML-SIG] Include files for processing Message-ID: <20060702185242.GA78114@mail1.thewrittenword.com> We're curring doing SAX parsing with PyXML for a few applications but need to add DTD validation and in-place file inclusion (I think XInclude allows you to include XML files from within another XML document). I don't think we can continue using PyXML as it doesn't support XInclude: http://mail.python.org/pipermail/xml-sig/2004-May/010260.html What else should we look at? 4Suite? lxml? Is the conversion from code using the PyXML SAX parser relatively simple to 4Suite/lxml? -- albert chin (china at thewrittenword.com) From noreply at sourceforge.net Sun Jul 9 01:51:44 2006 From: noreply at sourceforge.net (SourceForge.net) Date: Sat, 08 Jul 2006 16:51:44 -0700 Subject: [XML-SIG] [ pyxml-Bugs-1519384 ] bug in xmlparse_GetInputContext Message-ID: Bugs item #1519384, was opened at 2006-07-08 16:51 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=1519384&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: Nelson Arzola (narzola72) Assigned to: Nobody/Anonymous (nobody) Summary: bug in xmlparse_GetInputContext Initial Comment: SHORT VERSION: I think the call in extensions/pyexpat:1089 result = PyString_FromStringAndSize(buffer + offset, size) should be: result = PyString_FromStringAndSize(buffer + offset, size - offset) This this change, my application does not core dump any more. LONG VERSION: I have a Apache + mod_python + Expat(2.0.0) application. Under Linux (Gentoo), everything works as expected. Under Mac OS X, everything works as expected until I increase the size of a particular XML template file. The entire application will segfault. It does not matter what I add to this file. It can be whitespace, comments, or additional XML markup. I've included some of the output I gathered from gdb. Here is what I am sure of: I put a breakpoint on extensions/pyexpat.c:1089. The 31st call from this function to PyString_FromStringAndSize(buffer + offset, size) will cause the segfault coredump. I then followed this 31st call to PyString_FromStringAndSize. As I stepped through the execution, the call to memcpy(op->ob_sval, str, size) in Objects/stringobject.c:80 is the culprit. Just before this call, I printed out the values of the arguments: (gdb) print *op $14 = { ob_refcnt = 1, ob_type = 0x508f88, ob_size = 11070, ob_shash = -1, ob_sstate = 0, ob_sval = "<" } (gdb) (gdb) print op->ob_sval + 0 $23 = 0x1aa8e14 "
  • Just for Students
  • \n\t
  •  
  • \n\t
  • Departments
  • \n\t
  • Just for Students
  • \n\t
  •  
  • \n\t
  • Departments
  • \n\t
  • I'm trying to locate your license. I've seen other messages that say it's available under the file License, but I cannot find that file. Is the license for PyXML available online for review? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/xml-sig/attachments/20060711/92047757/attachment.htm From fredrik at pythonware.com Tue Jul 11 18:10:27 2006 From: fredrik at pythonware.com (Fredrik Lundh) Date: Tue, 11 Jul 2006 18:10:27 +0200 Subject: [XML-SIG] License? References: <318.5df668d.31e523c6@aol.com> Message-ID: PHudock at aol.com wrote: > I'm trying to locate your license. I've seen other messages that say it's > available under the file License, but I cannot find that file. Is the license > for PyXML available online for review? it's in the tarball. (if you're not able to download and unpack a tarball, you won't be able to use library anyway...) the LICENSE file can also found via the CVS archive: http://pyxml.cvs.sourceforge.net/pyxml/xml/LICENCE?view=markup but you'll have to verify that the text in that document matches the text in the pyxml release you end up using. From uche at ogbuji.net Thu Jul 13 01:30:51 2006 From: uche at ogbuji.net (Uche Ogbuji) Date: Wed, 12 Jul 2006 17:30:51 -0600 Subject: [XML-SIG] Include files for processing In-Reply-To: <20060702185242.GA78114@mail1.thewrittenword.com> References: <20060702185242.GA78114@mail1.thewrittenword.com> Message-ID: <44B5862B.1010605@ogbuji.net> Albert Chin wrote: > We're curring doing SAX parsing with PyXML for a few applications but > need to add DTD validation and in-place file inclusion (I think > XInclude allows you to include XML files from within another XML > document). I don't think we can continue using PyXML as it doesn't > support XInclude: > http://mail.python.org/pipermail/xml-sig/2004-May/010260.html > > What else should we look at? 4Suite? lxml? > > Is the conversion from code using the PyXML SAX parser relatively > simple to 4Suite/lxml? It's pretty simple to port PySAX to 4Suite: http://4suite.org/docs/CoreManual.xml#saxlette -- 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 sonicactional at gmail.com Tue Jul 18 21:48:26 2006 From: sonicactional at gmail.com (Sonic Actional) Date: Tue, 18 Jul 2006 15:48:26 -0400 Subject: [XML-SIG] ANN: US-MA-Bedford - Immediate Opening - XML / Python / Web Application Engineer Message-ID: <39c998be0607181248k665553abj961a86cbeead4d71@mail.gmail.com> [ANNOUNCE] Dear XML-SIG at Python.org Users: Immediate opening for a full time Web Developer/Application Engineer (XML + Python) in the Bedford, MA, USA area. To apply, send resume and cover letter to: support at actional.com. Job Description follows. Thank you for your consideration. Responsibilities: Responsible for developing advanced sales and marketing infrastructure and applications for the Actional website - http://www.actional.com with the goal of making it the top ranked website in the web services management/SOA management space. Includes developing and maintaining substantial amount of mission-critical back-end server infrastructure to increase sales and visitor traffic to the site, such as: * Custom middleware and back-end applications * Advanced logging and personalization engines * Creation/customization of content authoring tools Qualifications: B.S. in computer science or engineering and 2-4 years experience developing and maintaining rapidly-expanding technology websites and/or microsites. Exceptional web application development and programming skills, including XML, Python, SQL, JavaScript, HTML and ASP with ability to leverage leveraging listed technologies to produce site pages, forms, supporting applications and scripts. Experience with site integration and traditional CRM systems a plus, including ability to work with corporate IT when necessary to integrate site with key back-end business systems. Ability to manage multiple priorities within a fast-paced organization. About Actional Products Actional products provide enterprise-grade SOA management capabilities, including service and message flow monitoring, SLA governance, versioning, and security ? at extremely low overhead and thus minimal impact on system performance. Every enterprise building or testing an SOA will require the capabilities available in Actional products; whether they are starting to expand early SOA projects, or have a fully deployed enterprise-grade SOA using ESBs, application servers, or other technologies - for more information visit us on the web at: http://www.actional.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/xml-sig/attachments/20060718/fefdefdc/attachment.htm From korytina at gmail.com Wed Jul 19 17:40:13 2006 From: korytina at gmail.com (Daniel Korytina) Date: Wed, 19 Jul 2006 09:40:13 -0600 Subject: [XML-SIG] Problem installing PyXML on RHEL4 Message-ID: [dkorytin at dkorytin-06464s PyXML-0.8.4]$ sudo python setup.py build Password: Traceback (most recent call last): File "setup.py", line 127, in ? config_h_vars = parse_config_h(open(config_h)) IOError: [Errno 2] No such file or directory: '/usr/include/python2.4/pyconfig.h' [dkorytin at dkorytin-06464s PyXML-0.8.4]$ ls ANNOUNCE doc mac PKG-INFO README.pyexpat setup.cfg test CREDITS extensions MANIFEST README README.sgmlop setupext TODO demo LICENCE MANIFEST.in README.dom scripts setup.py xml [dkorytin at dkorytin-06464s PyXML-0.8.4]$ ~Dan From korytina at gmail.com Wed Jul 19 18:14:50 2006 From: korytina at gmail.com (Daniel Korytina) Date: Wed, 19 Jul 2006 10:14:50 -0600 Subject: [XML-SIG] Problem installing PyXML on RHEL4 In-Reply-To: References: Message-ID: FIXED BY REINSTALLING python CHANGED: $ ./configure --prefix=/usr/python TO: $ ./configure --prefix=/usr Build: $ ./configure --prefix=/usr $ make Python is always built as a shared library, otherwise dynamic loading would not work. Testing: $ make test Install: # make install On 7/19/06, Daniel Korytina wrote: > [dkorytin at dkorytin-06464s PyXML-0.8.4]$ sudo python setup.py build > Password: > Traceback (most recent call last): > File "setup.py", line 127, in ? > config_h_vars = parse_config_h(open(config_h)) > IOError: [Errno 2] No such file or directory: > '/usr/include/python2.4/pyconfig.h' > [dkorytin at dkorytin-06464s PyXML-0.8.4]$ ls > ANNOUNCE doc mac PKG-INFO README.pyexpat setup.cfg test > CREDITS extensions MANIFEST README README.sgmlop setupext TODO > demo LICENCE MANIFEST.in README.dom scripts setup.py xml > [dkorytin at dkorytin-06464s PyXML-0.8.4]$ > > ~Dan > From fredrik at pythonware.com Thu Jul 27 10:16:58 2006 From: fredrik at pythonware.com (Fredrik Lundh) Date: Thu, 27 Jul 2006 10:16:58 +0200 Subject: [XML-SIG] Problem installing PyXML on RHEL4 In-Reply-To: References: Message-ID: Daniel Korytina wrote: > [dkorytin at dkorytin-06464s PyXML-0.8.4]$ sudo python setup.py build > Password: > Traceback (most recent call last): > File "setup.py", line 127, in ? > config_h_vars = parse_config_h(open(config_h)) > IOError: [Errno 2] No such file or directory: > '/usr/include/python2.4/pyconfig.h' this means that you don't have the Python build files on your machine. try installing the "python-dev" package (or whatever it's called in your favourite package repository) before rebuilding. From Administrator at bag.python.org Sun Jul 30 10:25:09 2006 From: Administrator at bag.python.org (Administrator at bag.python.org) Date: Sun, 30 Jul 2006 01:25:09 -0700 Subject: [XML-SIG] [MailServer Notification]To Sender file blocking settings matched and action taken. Message-ID: <04aa01c6b3b1$ab6df050$2a863640@net.ucsf.edu> ScanMail for Microsoft Exchange has blocked an attachment. Sender = xml-sig at python.org Recipient(s) = Stewart, Anita Subject = Mail System Error - Returned Mail Scanning time = 7/30/2006 1:25:09 AM Action on file blocking: The attachment letter.zip matches the file blocking settings. ScanMail has Deleted it. Warning to Sender: Action taken by attachment blocking. From spepping at leverkruid.eu Thu Jul 20 02:46:26 2006 From: spepping at leverkruid.eu (Simon Pepping) Date: Thu, 20 Jul 2006 00:46:26 -0000 Subject: [XML-SIG] Remove obsolete link Message-ID: <20060719194541.GA4446@oranjetip.leverkruid.eu> Hi, For a long time, on your web page http://pyxml.sourceforge.net/topics/docs.html you have carried a link to my page "Writing an application for a SAX-compliant XML parser", at http://www.hobby.nl/~scaprea/XML/. This site is going away. Because the document is so old, I do not want to republish it on my new website. Could you remove the link? Regards, Simon Pepping -- Simon Pepping email: spepping at leverkruid.eu home page: http://www.leverkruid.eu IM (jabber): spepping at nedlinux.nl public key: http://www.leverkruid.eu/personal/sp.asc fingerprint: E3BF 7295 9AA8 8B8A C01A 219D FAAC 088C 6B28 F549