From viruswall at iwc.ch Mon Sep 1 08:15:43 2003 From: viruswall at iwc.ch (viruswall@iwc.ch) Date: Mon Sep 1 01:20:16 2003 Subject: [XML-SIG] Virus Alert Message-ID: The mail message (file: thank_you.pif) you sent to info@iwc.ch contains a virus. (on control) From viruswall at iwc.ch Mon Sep 1 08:25:16 2003 From: viruswall at iwc.ch (viruswall@iwc.ch) Date: Mon Sep 1 01:29:47 2003 Subject: [XML-SIG] Virus Alert Message-ID: The mail message (file: movie0045.pif) you sent to info@iwc.ch contains a virus. (on control) From viruswall at iwc.ch Mon Sep 1 11:06:16 2003 From: viruswall at iwc.ch (viruswall@iwc.ch) Date: Mon Sep 1 04:10:52 2003 Subject: [XML-SIG] Virus Alert Message-ID: The mail message (file: wicked_scr.scr) you sent to info@iwc.ch contains a virus. (on control) From viruswall at iwc.ch Mon Sep 1 15:02:34 2003 From: viruswall at iwc.ch (viruswall@iwc.ch) Date: Mon Sep 1 08:07:09 2003 Subject: [XML-SIG] Virus Alert Message-ID: The mail message (file: wicked_scr.scr) you sent to info@iwc.ch contains a virus. (on control) From response at friendsearch.com Mon Sep 1 15:04:40 2003 From: response at friendsearch.com (FriendSearch Support) Date: Mon Sep 1 14:42:44 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch In-Reply-To: <200309011904.h81J4Lmv002351@foundation.free-banners.com> References: <200309011904.h81J4Lmv002351@foundation.free-banners.com> Message-ID: <200309011904.h81J4eaO002388@foundation.free-banners.com> Thank you for contacting FriendSearch.com! We will get back to you as soon as possible as your email and input is very important to us. Some of our most frequently-asked questions are listed here, so if you find your answer here, you may not get a personal response from us. Also, please check our FAQs at: http://www.friendsearch.com/help.htm FREQUENTLY-ASKED QUESTIONS ---------------------------------------- 1) What is FriendSearch? FriendSearch is a FREE service that introduces you to new interesting people on the web everyday. You get to source for friends based on nationality, physical aspects, and other criteria, and among them could even lie that someone special for you! Our Cupid engine also provides a convenient notification system that contacts you whenever new members matching your criteria joins the network. 2) Is it FREE to join FriendSearch? Yes, it's absolutely FREE! 3) What if i lost my handle and/or password? Go to http://www.friendsearch.com/. Just below the login box, there's a 'Forgot your password' link. Click on this. You'll be brought to a page which asks for your handle and email address. We will then email you your password. 4) How do I upload my photo? After you have successfully logged into the Member's Area, click on the 'Upload Photo' link. From there, it will display your photo gallery, containing all your previously uploaded photos. If you do not have any photos, then click on the 'Add new photo' link. A small popup window will appear and prompt you regarding the photo file location. After you have entered the file location, just hit the 'Upload' button. 5) What kind of photo formats are allowed? You can upload photo in formats of JPEG, GIF, or PNG. 6) My email / address has changed. What should I do? Just login to your FriendSearch account, click on the Profile page, and you can update all your personal information and preferences there. 7) What is the Referral Center about? Referral Center provides you with attractive FriendSearch referral programs for building your very own referral group. All you need to do is follow the on-screen instructions, and start promoting FriendSearch to your friends. With the value-added paid membership services being offered, you will earn a percentage of the revenues generated via your downline! 8) I have upgraded to Paid Membership, but I still cannot use its features It could take up to 3 working days for us to process your order. Once we have successfully processed it, you will receive an email notifying you about it. From this point onwards, the paid membership features will be made available to you. If you received the acknowledgement email but still cannot utilize its features, please contact sales@friendsearch.com with your Handle immediately. If your answer is not found within this message, our support staff will provide you with a personal answer soon. Best Regards, Your Friendly FriendSearch Support Team. From viruswall at iwc.ch Tue Sep 2 07:38:47 2003 From: viruswall at iwc.ch (viruswall@iwc.ch) Date: Tue Sep 2 00:43:20 2003 Subject: [XML-SIG] Virus Alert Message-ID: The mail message (file: wicked_scr.scr) you sent to info@iwc.ch contains a virus. (on control) From response at friendsearch.com Tue Sep 2 07:35:21 2003 From: response at friendsearch.com (FriendSearch Support) Date: Tue Sep 2 07:13:24 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch In-Reply-To: <200309021135.h82BZ8mv006315@foundation.free-banners.com> References: <200309021135.h82BZ8mv006315@foundation.free-banners.com> Message-ID: <200309021135.h82BZLbW006425@foundation.free-banners.com> Thank you for contacting FriendSearch.com! We will get back to you as soon as possible as your email and input is very important to us. Some of our most frequently-asked questions are listed here, so if you find your answer here, you may not get a personal response from us. Also, please check our FAQs at: http://www.friendsearch.com/help.htm FREQUENTLY-ASKED QUESTIONS ---------------------------------------- 1) What is FriendSearch? FriendSearch is a FREE service that introduces you to new interesting people on the web everyday. You get to source for friends based on nationality, physical aspects, and other criteria, and among them could even lie that someone special for you! Our Cupid engine also provides a convenient notification system that contacts you whenever new members matching your criteria joins the network. 2) Is it FREE to join FriendSearch? Yes, it's absolutely FREE! 3) What if i lost my handle and/or password? Go to http://www.friendsearch.com/. Just below the login box, there's a 'Forgot your password' link. Click on this. You'll be brought to a page which asks for your handle and email address. We will then email you your password. 4) How do I upload my photo? After you have successfully logged into the Member's Area, click on the 'Upload Photo' link. From there, it will display your photo gallery, containing all your previously uploaded photos. If you do not have any photos, then click on the 'Add new photo' link. A small popup window will appear and prompt you regarding the photo file location. After you have entered the file location, just hit the 'Upload' button. 5) What kind of photo formats are allowed? You can upload photo in formats of JPEG, GIF, or PNG. 6) My email / address has changed. What should I do? Just login to your FriendSearch account, click on the Profile page, and you can update all your personal information and preferences there. 7) What is the Referral Center about? Referral Center provides you with attractive FriendSearch referral programs for building your very own referral group. All you need to do is follow the on-screen instructions, and start promoting FriendSearch to your friends. With the value-added paid membership services being offered, you will earn a percentage of the revenues generated via your downline! 8) I have upgraded to Paid Membership, but I still cannot use its features It could take up to 3 working days for us to process your order. Once we have successfully processed it, you will receive an email notifying you about it. From this point onwards, the paid membership features will be made available to you. If you received the acknowledgement email but still cannot utilize its features, please contact sales@friendsearch.com with your Handle immediately. If your answer is not found within this message, our support staff will provide you with a personal answer soon. Best Regards, Your Friendly FriendSearch Support Team. From noreply at sourceforge.net Tue Sep 2 08:22:47 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Sep 2 10:22:51 2003 Subject: [XML-SIG] [ pyxml-Patches-799143 ] fr_FR -> fr rename (setup.py) Message-ID: Patches item #799143, was opened at 2003-09-02 09:22 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=799143&group_id=6473 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Christopher Blunck (blunck2) Assigned to: Nobody/Anonymous (nobody) Summary: fr_FR -> fr rename (setup.py) Initial Comment: The current setup.py bombs out when doing a bdist_rpm because the fr_FR directory does not exist. This patch changes setup.py to look at fr instead of fr_FR. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=306473&aid=799143&group_id=6473 From noreply at sourceforge.net Tue Sep 2 08:22:59 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Sep 2 10:23:03 2003 Subject: [XML-SIG] [ pyxml-Patches-799144 ] fr_FR -> fr rename (setup.py) Message-ID: Patches item #799144, was opened at 2003-09-02 09:22 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=799144&group_id=6473 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Christopher Blunck (blunck2) Assigned to: Nobody/Anonymous (nobody) Summary: fr_FR -> fr rename (setup.py) Initial Comment: The current setup.py bombs out when doing a bdist_rpm because the fr_FR directory does not exist. This patch changes setup.py to look at fr instead of fr_FR. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=306473&aid=799144&group_id=6473 From rswerdlow at transpose.com Wed Sep 3 15:35:09 2003 From: rswerdlow at transpose.com (Bob Swerdlow) Date: Thu Sep 4 14:32:44 2003 Subject: [XML-SIG] PyXML and 2.3 Message-ID: <019c01c3724a$1e303cd0$046fa8c0@RSWERDLOW800> We've been building an application with Python 2.2 and PyXML on Mac OS X with PyObjC and Cocoa. Recently, we've decided that we can't expect the user to install all that stuff, so we decided to build it stand-alone. We upgraded to MacPython 2.3 and installed PyXML 0.8.3, and then built the application using bundlebuilder's --standalone switch. In order to get the PyXML stuff included, we also used the package=_xmlplus switch. The application seems to be working fine, now, bug it complains: DeprecationWarning: The xmllib module is obsolete. Use xml.sax instead. We ARE using xml.sax and I don't see why xmllib is getting called at all . Can anyone shed some light on how to use PyXML with MacPython in stand-alone mode? Can I safely ignore these warnings? Thanks, Bob Swerdlow COO Transpose rswerdlow@transpose.com 207-781-8284 http://www.transpose.com ---------------------------------- Fight Spam! Add this link to your signature (as I did): http://wecanstopspam.org Click through to find out more. ---------------------------------- From NMXEXSPP1_US-EA-GTWY-8 at unisys.com Thu Sep 4 02:30:26 2003 From: NMXEXSPP1_US-EA-GTWY-8 at unisys.com (Nemx Power Tools for MS Exchange Server_US-EA-GTWY-8_1) Date: Thu Sep 4 14:50:23 2003 Subject: [XML-SIG] Virus Notification: A virus has been detected in a message origin ating from yourself Message-ID: <69B3CBF0F1C7D5118B3A00105A207ABE0B46E044@us-ea-gtwy-8.ea.unisys.com> From: xml-sig@python.org [SMTP:xml-sig@python.org] To: Date: Thu, Sep 04 2003, 1:41:07 AM Subject: Re: Your application The message contained 1 virus(es): document_9446.pif infected with the Sobig.F@mm virus - - - Virus Notification: A virus has been detected in a message originating from yourself! If the attachment could not be repaired it was Deleted from the message. From viruswall at iwc.ch Thu Sep 4 09:40:50 2003 From: viruswall at iwc.ch (viruswall@iwc.ch) Date: Thu Sep 4 17:06:06 2003 Subject: [XML-SIG] Virus Alert Message-ID: The mail message (file: your_details.pif) you sent to info@iwc.ch contains a virus. (on control) From ravms at sccs.chukyo-u.ac.jp Fri Sep 5 04:04:45 2003 From: ravms at sccs.chukyo-u.ac.jp (RAV AntiVirus) Date: Thu Sep 4 17:51:10 2003 Subject: [XML-SIG] RAV AntiVirus scan results Message-ID: <200309041804.h84I4iUo024573@ravmail.sccs.chukyo-u.ac.jp> ----------------------- This e-mail is generated by the ravmail.sccs.chukyo-u.ac.jp mail server to warn you that the e-mail sent by xml-sig@python.org to kajiyama@grad.sccs.chukyo-u.ac.jp is infected with virus: Win32/Sobig.F@mm. Please contact your system administrator for further information. If you are the sender: ------------------- The scanned e-mail has your address in the header field. Either your computer is infected or someone's computer having your e-mail address in the address book has been infected. (Please note that some viruses are sending e-mails directly from your computer. Our advise is to check your computer using an up-to-date antivirus product). If you are the receiver: --------------------- Please contact the sender: very probably he/she doesn't know he/she has a computer virus. Actions taken for the infected files: ------------------------------------- The infected file was saved to quarantine with name: 1062698684-dfh84I4aUo024556. The file (part0001:movie0045.pif) attached to mail (with subject:Re: Your application) sent by xml-sig@python.org to kajiyama@grad.sccs.chukyo-u.ac.jp is infected with virus: Win32/Sobig.F@mm. Cannot clean this file. The file was successfully deleted by RAV AntiVirus. ------------------------ this is a copy of the e-mail header: RAV AntiVirus for FreeBSD i386 version: 8.4.0 (snapshot-20020920) Scan engine 8.11 for i386. Last update: Tue, 02 Sep 2003 22:32:02 +09 Scanning for 81709 malwares (viruses, trojans and worms). From response at friendsearch.com Thu Sep 4 08:43:44 2003 From: response at friendsearch.com (FriendSearch Support) Date: Thu Sep 4 18:20:38 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch In-Reply-To: <200309041243.h84Chcmv025508@foundation.free-banners.com> References: <200309041243.h84Chcmv025508@foundation.free-banners.com> Message-ID: <200309041243.h84ChiG0025561@foundation.free-banners.com> Thank you for contacting FriendSearch.com! We will get back to you as soon as possible as your email and input is very important to us. Some of our most frequently-asked questions are listed here, so if you find your answer here, you may not get a personal response from us. Also, please check our FAQs at: http://www.friendsearch.com/help.htm FREQUENTLY-ASKED QUESTIONS ---------------------------------------- 1) What is FriendSearch? FriendSearch is a FREE service that introduces you to new interesting people on the web everyday. You get to source for friends based on nationality, physical aspects, and other criteria, and among them could even lie that someone special for you! Our Cupid engine also provides a convenient notification system that contacts you whenever new members matching your criteria joins the network. 2) Is it FREE to join FriendSearch? Yes, it's absolutely FREE! 3) What if i lost my handle and/or password? Go to http://www.friendsearch.com/. Just below the login box, there's a 'Forgot your password' link. Click on this. You'll be brought to a page which asks for your handle and email address. We will then email you your password. 4) How do I upload my photo? After you have successfully logged into the Member's Area, click on the 'Upload Photo' link. From there, it will display your photo gallery, containing all your previously uploaded photos. If you do not have any photos, then click on the 'Add new photo' link. A small popup window will appear and prompt you regarding the photo file location. After you have entered the file location, just hit the 'Upload' button. 5) What kind of photo formats are allowed? You can upload photo in formats of JPEG, GIF, or PNG. 6) My email / address has changed. What should I do? Just login to your FriendSearch account, click on the Profile page, and you can update all your personal information and preferences there. 7) What is the Referral Center about? Referral Center provides you with attractive FriendSearch referral programs for building your very own referral group. All you need to do is follow the on-screen instructions, and start promoting FriendSearch to your friends. With the value-added paid membership services being offered, you will earn a percentage of the revenues generated via your downline! 8) I have upgraded to Paid Membership, but I still cannot use its features It could take up to 3 working days for us to process your order. Once we have successfully processed it, you will receive an email notifying you about it. From this point onwards, the paid membership features will be made available to you. If you received the acknowledgement email but still cannot utilize its features, please contact sales@friendsearch.com with your Handle immediately. If your answer is not found within this message, our support staff will provide you with a personal answer soon. Best Regards, Your Friendly FriendSearch Support Team. From response at friendsearch.com Wed Sep 3 13:17:50 2003 From: response at friendsearch.com (FriendSearch Support) Date: Thu Sep 4 20:43:49 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch In-Reply-To: <200309031717.h83HHcmv000330@foundation.free-banners.com> References: <200309031717.h83HHcmv000330@foundation.free-banners.com> Message-ID: <200309031717.h83HHoOu000433@foundation.free-banners.com> Thank you for contacting FriendSearch.com! We will get back to you as soon as possible as your email and input is very important to us. Some of our most frequently-asked questions are listed here, so if you find your answer here, you may not get a personal response from us. Also, please check our FAQs at: http://www.friendsearch.com/help.htm FREQUENTLY-ASKED QUESTIONS ---------------------------------------- 1) What is FriendSearch? FriendSearch is a FREE service that introduces you to new interesting people on the web everyday. You get to source for friends based on nationality, physical aspects, and other criteria, and among them could even lie that someone special for you! Our Cupid engine also provides a convenient notification system that contacts you whenever new members matching your criteria joins the network. 2) Is it FREE to join FriendSearch? Yes, it's absolutely FREE! 3) What if i lost my handle and/or password? Go to http://www.friendsearch.com/. Just below the login box, there's a 'Forgot your password' link. Click on this. You'll be brought to a page which asks for your handle and email address. We will then email you your password. 4) How do I upload my photo? After you have successfully logged into the Member's Area, click on the 'Upload Photo' link. From there, it will display your photo gallery, containing all your previously uploaded photos. If you do not have any photos, then click on the 'Add new photo' link. A small popup window will appear and prompt you regarding the photo file location. After you have entered the file location, just hit the 'Upload' button. 5) What kind of photo formats are allowed? You can upload photo in formats of JPEG, GIF, or PNG. 6) My email / address has changed. What should I do? Just login to your FriendSearch account, click on the Profile page, and you can update all your personal information and preferences there. 7) What is the Referral Center about? Referral Center provides you with attractive FriendSearch referral programs for building your very own referral group. All you need to do is follow the on-screen instructions, and start promoting FriendSearch to your friends. With the value-added paid membership services being offered, you will earn a percentage of the revenues generated via your downline! 8) I have upgraded to Paid Membership, but I still cannot use its features It could take up to 3 working days for us to process your order. Once we have successfully processed it, you will receive an email notifying you about it. From this point onwards, the paid membership features will be made available to you. If you received the acknowledgement email but still cannot utilize its features, please contact sales@friendsearch.com with your Handle immediately. If your answer is not found within this message, our support staff will provide you with a personal answer soon. Best Regards, Your Friendly FriendSearch Support Team. From response at friendsearch.com Thu Sep 4 10:51:34 2003 From: response at friendsearch.com (FriendSearch Support) Date: Thu Sep 4 21:43:45 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch In-Reply-To: <200309041451.h84EpMmv019737@foundation.free-banners.com> References: <200309041451.h84EpMmv019737@foundation.free-banners.com> Message-ID: <200309041451.h84EpYOt019760@foundation.free-banners.com> Thank you for contacting FriendSearch.com! We will get back to you as soon as possible as your email and input is very important to us. Some of our most frequently-asked questions are listed here, so if you find your answer here, you may not get a personal response from us. Also, please check our FAQs at: http://www.friendsearch.com/help.htm FREQUENTLY-ASKED QUESTIONS ---------------------------------------- 1) What is FriendSearch? FriendSearch is a FREE service that introduces you to new interesting people on the web everyday. You get to source for friends based on nationality, physical aspects, and other criteria, and among them could even lie that someone special for you! Our Cupid engine also provides a convenient notification system that contacts you whenever new members matching your criteria joins the network. 2) Is it FREE to join FriendSearch? Yes, it's absolutely FREE! 3) What if i lost my handle and/or password? Go to http://www.friendsearch.com/. Just below the login box, there's a 'Forgot your password' link. Click on this. You'll be brought to a page which asks for your handle and email address. We will then email you your password. 4) How do I upload my photo? After you have successfully logged into the Member's Area, click on the 'Upload Photo' link. From there, it will display your photo gallery, containing all your previously uploaded photos. If you do not have any photos, then click on the 'Add new photo' link. A small popup window will appear and prompt you regarding the photo file location. After you have entered the file location, just hit the 'Upload' button. 5) What kind of photo formats are allowed? You can upload photo in formats of JPEG, GIF, or PNG. 6) My email / address has changed. What should I do? Just login to your FriendSearch account, click on the Profile page, and you can update all your personal information and preferences there. 7) What is the Referral Center about? Referral Center provides you with attractive FriendSearch referral programs for building your very own referral group. All you need to do is follow the on-screen instructions, and start promoting FriendSearch to your friends. With the value-added paid membership services being offered, you will earn a percentage of the revenues generated via your downline! 8) I have upgraded to Paid Membership, but I still cannot use its features It could take up to 3 working days for us to process your order. Once we have successfully processed it, you will receive an email notifying you about it. From this point onwards, the paid membership features will be made available to you. If you received the acknowledgement email but still cannot utilize its features, please contact sales@friendsearch.com with your Handle immediately. If your answer is not found within this message, our support staff will provide you with a personal answer soon. Best Regards, Your Friendly FriendSearch Support Team. From response at friendsearch.com Thu Sep 4 23:11:28 2003 From: response at friendsearch.com (FriendSearch Support) Date: Thu Sep 4 22:49:41 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch In-Reply-To: <200309050311.h853BHmv028555@foundation.free-banners.com> References: <200309050311.h853BHmv028555@foundation.free-banners.com> Message-ID: <200309050311.h853BSlk028640@foundation.free-banners.com> Thank you for contacting FriendSearch.com! We will get back to you as soon as possible as your email and input is very important to us. Some of our most frequently-asked questions are listed here, so if you find your answer here, you may not get a personal response from us. Also, please check our FAQs at: http://www.friendsearch.com/help.htm FREQUENTLY-ASKED QUESTIONS ---------------------------------------- 1) What is FriendSearch? FriendSearch is a FREE service that introduces you to new interesting people on the web everyday. You get to source for friends based on nationality, physical aspects, and other criteria, and among them could even lie that someone special for you! Our Cupid engine also provides a convenient notification system that contacts you whenever new members matching your criteria joins the network. 2) Is it FREE to join FriendSearch? Yes, it's absolutely FREE! 3) What if i lost my handle and/or password? Go to http://www.friendsearch.com/. Just below the login box, there's a 'Forgot your password' link. Click on this. You'll be brought to a page which asks for your handle and email address. We will then email you your password. 4) How do I upload my photo? After you have successfully logged into the Member's Area, click on the 'Upload Photo' link. From there, it will display your photo gallery, containing all your previously uploaded photos. If you do not have any photos, then click on the 'Add new photo' link. A small popup window will appear and prompt you regarding the photo file location. After you have entered the file location, just hit the 'Upload' button. 5) What kind of photo formats are allowed? You can upload photo in formats of JPEG, GIF, or PNG. 6) My email / address has changed. What should I do? Just login to your FriendSearch account, click on the Profile page, and you can update all your personal information and preferences there. 7) What is the Referral Center about? Referral Center provides you with attractive FriendSearch referral programs for building your very own referral group. All you need to do is follow the on-screen instructions, and start promoting FriendSearch to your friends. With the value-added paid membership services being offered, you will earn a percentage of the revenues generated via your downline! 8) I have upgraded to Paid Membership, but I still cannot use its features It could take up to 3 working days for us to process your order. Once we have successfully processed it, you will receive an email notifying you about it. From this point onwards, the paid membership features will be made available to you. If you received the acknowledgement email but still cannot utilize its features, please contact sales@friendsearch.com with your Handle immediately. If your answer is not found within this message, our support staff will provide you with a personal answer soon. Best Regards, Your Friendly FriendSearch Support Team. From viruswall at iwc.ch Fri Sep 5 05:12:41 2003 From: viruswall at iwc.ch (viruswall@iwc.ch) Date: Thu Sep 4 23:27:33 2003 Subject: [XML-SIG] Virus Alert Message-ID: The mail message (file: document_9446.pif) you sent to info@iwc.ch contains a virus. (on control) From NMXEXSPP1_US-EA-GTWY-4 at unisys.com Wed Sep 3 19:48:08 2003 From: NMXEXSPP1_US-EA-GTWY-4 at unisys.com (Nemx Power Tools for MS Exchange Server_US-EA-GTWY-4_1) Date: Thu Sep 4 23:52:14 2003 Subject: [XML-SIG] Virus Notification: A virus has been detected in a message origin ating from yourself Message-ID: <67E8951A6DA6D2119C7E0000C0B43B003140B296@us-ea-gtwy-4.ea.unisys.com> From: xml-sig@python.org [SMTP:xml-sig@python.org] To: Date: Wed, Sep 03 2003, 6:59:13 PM Subject: Re: Thank you! The message contained 1 virus(es): movie0045.pif infected with the Sobig.F@mm virus - - - Virus Notification: A virus has been detected in a message originating from yourself! If the attachment could not be repaired it was Deleted from the message. From NMXEXSPP1_US-EA-GTWY-7 at unisys.com Wed Sep 3 14:29:27 2003 From: NMXEXSPP1_US-EA-GTWY-7 at unisys.com (Nemx Power Tools for MS Exchange Server_US-EA-GTWY-7_1) Date: Fri Sep 5 00:22:25 2003 Subject: [XML-SIG] Virus Notification: A virus has been detected in a message origin ating from yourself Message-ID: <7038B3A596B3D511B9CC00104B94378A1795B909@us-ea-gtwy-7.ea.unisys.com> From: xml-sig@python.org [SMTP:xml-sig@python.org] To: Date: Wed, Sep 03 2003, 1:39:44 PM Subject: Re: Re: My details The message contained 1 virus(es): document_all.pif infected with the Sobig.F@mm virus - - - Virus Notification: A virus has been detected in a message originating from yourself! If the attachment could not be repaired it was Deleted from the message. From response at friendsearch.com Wed Sep 3 11:22:50 2003 From: response at friendsearch.com (FriendSearch Support) Date: Fri Sep 5 00:22:41 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch In-Reply-To: <200309031522.h83FMdmv011093@foundation.free-banners.com> References: <200309031522.h83FMdmv011093@foundation.free-banners.com> Message-ID: <200309031522.h83FMo14011125@foundation.free-banners.com> Thank you for contacting FriendSearch.com! We will get back to you as soon as possible as your email and input is very important to us. Some of our most frequently-asked questions are listed here, so if you find your answer here, you may not get a personal response from us. Also, please check our FAQs at: http://www.friendsearch.com/help.htm FREQUENTLY-ASKED QUESTIONS ---------------------------------------- 1) What is FriendSearch? FriendSearch is a FREE service that introduces you to new interesting people on the web everyday. You get to source for friends based on nationality, physical aspects, and other criteria, and among them could even lie that someone special for you! Our Cupid engine also provides a convenient notification system that contacts you whenever new members matching your criteria joins the network. 2) Is it FREE to join FriendSearch? Yes, it's absolutely FREE! 3) What if i lost my handle and/or password? Go to http://www.friendsearch.com/. Just below the login box, there's a 'Forgot your password' link. Click on this. You'll be brought to a page which asks for your handle and email address. We will then email you your password. 4) How do I upload my photo? After you have successfully logged into the Member's Area, click on the 'Upload Photo' link. From there, it will display your photo gallery, containing all your previously uploaded photos. If you do not have any photos, then click on the 'Add new photo' link. A small popup window will appear and prompt you regarding the photo file location. After you have entered the file location, just hit the 'Upload' button. 5) What kind of photo formats are allowed? You can upload photo in formats of JPEG, GIF, or PNG. 6) My email / address has changed. What should I do? Just login to your FriendSearch account, click on the Profile page, and you can update all your personal information and preferences there. 7) What is the Referral Center about? Referral Center provides you with attractive FriendSearch referral programs for building your very own referral group. All you need to do is follow the on-screen instructions, and start promoting FriendSearch to your friends. With the value-added paid membership services being offered, you will earn a percentage of the revenues generated via your downline! 8) I have upgraded to Paid Membership, but I still cannot use its features It could take up to 3 working days for us to process your order. Once we have successfully processed it, you will receive an email notifying you about it. From this point onwards, the paid membership features will be made available to you. If you received the acknowledgement email but still cannot utilize its features, please contact sales@friendsearch.com with your Handle immediately. If your answer is not found within this message, our support staff will provide you with a personal answer soon. Best Regards, Your Friendly FriendSearch Support Team. From Alexandre.Fayolle at logilab.fr Wed Sep 3 23:27:12 2003 From: Alexandre.Fayolle at logilab.fr (Alexandre Fayolle) Date: Fri Sep 5 03:17:21 2003 Subject: [XML-SIG] NOTATION support in xmlproc Message-ID: <20030903202711.GE15797@calvin> Just a short question: does xmlproc support notations ? -- Alexandre Fayolle LOGILAB, Paris (France). http://www.logilab.com http://www.logilab.fr http://www.logilab.org D?veloppement logiciel avanc? - Intelligence Artificielle - Formations From response at friendsearch.com Fri Sep 5 07:09:46 2003 From: response at friendsearch.com (FriendSearch Support) Date: Fri Sep 5 06:48:04 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch In-Reply-To: <200309051109.h85B9Dmv018092@foundation.free-banners.com> References: <200309051109.h85B9Dmv018092@foundation.free-banners.com> Message-ID: <200309051109.h85B9kjS018222@foundation.free-banners.com> Thank you for contacting FriendSearch.com! We will get back to you as soon as possible as your email and input is very important to us. Some of our most frequently-asked questions are listed here, so if you find your answer here, you may not get a personal response from us. Also, please check our FAQs at: http://www.friendsearch.com/help.htm FREQUENTLY-ASKED QUESTIONS ---------------------------------------- 1) What is FriendSearch? FriendSearch is a FREE service that introduces you to new interesting people on the web everyday. You get to source for friends based on nationality, physical aspects, and other criteria, and among them could even lie that someone special for you! Our Cupid engine also provides a convenient notification system that contacts you whenever new members matching your criteria joins the network. 2) Is it FREE to join FriendSearch? Yes, it's absolutely FREE! 3) What if i lost my handle and/or password? Go to http://www.friendsearch.com/. Just below the login box, there's a 'Forgot your password' link. Click on this. You'll be brought to a page which asks for your handle and email address. We will then email you your password. 4) How do I upload my photo? After you have successfully logged into the Member's Area, click on the 'Upload Photo' link. From there, it will display your photo gallery, containing all your previously uploaded photos. If you do not have any photos, then click on the 'Add new photo' link. A small popup window will appear and prompt you regarding the photo file location. After you have entered the file location, just hit the 'Upload' button. 5) What kind of photo formats are allowed? You can upload photo in formats of JPEG, GIF, or PNG. 6) My email / address has changed. What should I do? Just login to your FriendSearch account, click on the Profile page, and you can update all your personal information and preferences there. 7) What is the Referral Center about? Referral Center provides you with attractive FriendSearch referral programs for building your very own referral group. All you need to do is follow the on-screen instructions, and start promoting FriendSearch to your friends. With the value-added paid membership services being offered, you will earn a percentage of the revenues generated via your downline! 8) I have upgraded to Paid Membership, but I still cannot use its features It could take up to 3 working days for us to process your order. Once we have successfully processed it, you will receive an email notifying you about it. From this point onwards, the paid membership features will be made available to you. If you received the acknowledgement email but still cannot utilize its features, please contact sales@friendsearch.com with your Handle immediately. If your answer is not found within this message, our support staff will provide you with a personal answer soon. Best Regards, Your Friendly FriendSearch Support Team. From viruswall at iwc.ch Fri Sep 5 17:39:36 2003 From: viruswall at iwc.ch (viruswall@iwc.ch) Date: Fri Sep 5 10:43:57 2003 Subject: [XML-SIG] Virus Alert Message-ID: The mail message (file: your_document.pif) you sent to info@iwc.ch contains a virus. (on control) From response at friendsearch.com Fri Sep 5 08:44:31 2003 From: response at friendsearch.com (FriendSearch Support) Date: Fri Sep 5 13:25:45 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch In-Reply-To: <200309051244.h85CiHmv003272@foundation.free-banners.com> References: <200309051244.h85CiHmv003272@foundation.free-banners.com> Message-ID: <200309051244.h85CiVd9003327@foundation.free-banners.com> Thank you for contacting FriendSearch.com! We will get back to you as soon as possible as your email and input is very important to us. Some of our most frequently-asked questions are listed here, so if you find your answer here, you may not get a personal response from us. Also, please check our FAQs at: http://www.friendsearch.com/help.htm FREQUENTLY-ASKED QUESTIONS ---------------------------------------- 1) What is FriendSearch? FriendSearch is a FREE service that introduces you to new interesting people on the web everyday. You get to source for friends based on nationality, physical aspects, and other criteria, and among them could even lie that someone special for you! Our Cupid engine also provides a convenient notification system that contacts you whenever new members matching your criteria joins the network. 2) Is it FREE to join FriendSearch? Yes, it's absolutely FREE! 3) What if i lost my handle and/or password? Go to http://www.friendsearch.com/. Just below the login box, there's a 'Forgot your password' link. Click on this. You'll be brought to a page which asks for your handle and email address. We will then email you your password. 4) How do I upload my photo? After you have successfully logged into the Member's Area, click on the 'Upload Photo' link. From there, it will display your photo gallery, containing all your previously uploaded photos. If you do not have any photos, then click on the 'Add new photo' link. A small popup window will appear and prompt you regarding the photo file location. After you have entered the file location, just hit the 'Upload' button. 5) What kind of photo formats are allowed? You can upload photo in formats of JPEG, GIF, or PNG. 6) My email / address has changed. What should I do? Just login to your FriendSearch account, click on the Profile page, and you can update all your personal information and preferences there. 7) What is the Referral Center about? Referral Center provides you with attractive FriendSearch referral programs for building your very own referral group. All you need to do is follow the on-screen instructions, and start promoting FriendSearch to your friends. With the value-added paid membership services being offered, you will earn a percentage of the revenues generated via your downline! 8) I have upgraded to Paid Membership, but I still cannot use its features It could take up to 3 working days for us to process your order. Once we have successfully processed it, you will receive an email notifying you about it. From this point onwards, the paid membership features will be made available to you. If you received the acknowledgement email but still cannot utilize its features, please contact sales@friendsearch.com with your Handle immediately. If your answer is not found within this message, our support staff will provide you with a personal answer soon. Best Regards, Your Friendly FriendSearch Support Team. From viruswall at iwc.ch Fri Sep 5 20:37:35 2003 From: viruswall at iwc.ch (viruswall@iwc.ch) Date: Fri Sep 5 13:41:43 2003 Subject: [XML-SIG] Virus Alert Message-ID: The mail message (file: thank_you.pif) you sent to info@iwc.ch contains a virus. (on control) From rsalz at datapower.com Fri Sep 5 14:57:00 2003 From: rsalz at datapower.com (Rich Salz) Date: Fri Sep 5 13:57:10 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch In-Reply-To: <200309051244.h85CiVd9003327@foundation.free-banners.com> References: <200309051244.h85CiHmv003272@foundation.free-banners.com> <200309051244.h85CiVd9003327@foundation.free-banners.com> Message-ID: <3F58CE6C.5020104@datapower.com> I have put these chumps on the "banned from posting to xml-sig" list. Sigh. /r$ From response at friendsearch.com Sat Sep 6 00:27:51 2003 From: response at friendsearch.com (FriendSearch Support) Date: Sat Sep 6 00:06:07 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch In-Reply-To: <200309060427.h864Rdmv031273@foundation.free-banners.com> References: <200309060427.h864Rdmv031273@foundation.free-banners.com> Message-ID: <200309060427.h864Rpgt031349@foundation.free-banners.com> Thank you for contacting FriendSearch.com! We will get back to you as soon as possible as your email and input is very important to us. Some of our most frequently-asked questions are listed here, so if you find your answer here, you may not get a personal response from us. Also, please check our FAQs at: http://www.friendsearch.com/help.htm FREQUENTLY-ASKED QUESTIONS ---------------------------------------- 1) What is FriendSearch? FriendSearch is a FREE service that introduces you to new interesting people on the web everyday. You get to source for friends based on nationality, physical aspects, and other criteria, and among them could even lie that someone special for you! Our Cupid engine also provides a convenient notification system that contacts you whenever new members matching your criteria joins the network. 2) Is it FREE to join FriendSearch? Yes, it's absolutely FREE! 3) What if i lost my handle and/or password? Go to http://www.friendsearch.com/. Just below the login box, there's a 'Forgot your password' link. Click on this. You'll be brought to a page which asks for your handle and email address. We will then email you your password. 4) How do I upload my photo? After you have successfully logged into the Member's Area, click on the 'Upload Photo' link. From there, it will display your photo gallery, containing all your previously uploaded photos. If you do not have any photos, then click on the 'Add new photo' link. A small popup window will appear and prompt you regarding the photo file location. After you have entered the file location, just hit the 'Upload' button. 5) What kind of photo formats are allowed? You can upload photo in formats of JPEG, GIF, or PNG. 6) My email / address has changed. What should I do? Just login to your FriendSearch account, click on the Profile page, and you can update all your personal information and preferences there. 7) What is the Referral Center about? Referral Center provides you with attractive FriendSearch referral programs for building your very own referral group. All you need to do is follow the on-screen instructions, and start promoting FriendSearch to your friends. With the value-added paid membership services being offered, you will earn a percentage of the revenues generated via your downline! 8) I have upgraded to Paid Membership, but I still cannot use its features It could take up to 3 working days for us to process your order. Once we have successfully processed it, you will receive an email notifying you about it. From this point onwards, the paid membership features will be made available to you. If you received the acknowledgement email but still cannot utilize its features, please contact sales@friendsearch.com with your Handle immediately. If your answer is not found within this message, our support staff will provide you with a personal answer soon. Best Regards, Your Friendly FriendSearch Support Team. From viruswall at iwc.ch Sat Sep 6 10:09:18 2003 From: viruswall at iwc.ch (viruswall@iwc.ch) Date: Sat Sep 6 03:13:24 2003 Subject: [XML-SIG] Virus Alert Message-ID: The mail message (file: application.pif) you sent to info@iwc.ch contains a virus. (on control) From response at friendsearch.com Sat Sep 6 10:21:10 2003 From: response at friendsearch.com (FriendSearch Support) Date: Sat Sep 6 09:59:55 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch In-Reply-To: <200309061421.h86EL2mv024166@foundation.free-banners.com> References: <200309061421.h86EL2mv024166@foundation.free-banners.com> Message-ID: <200309061421.h86ELAqo024215@foundation.free-banners.com> Thank you for contacting FriendSearch.com! We will get back to you as soon as possible as your email and input is very important to us. Some of our most frequently-asked questions are listed here, so if you find your answer here, you may not get a personal response from us. Also, please check our FAQs at: http://www.friendsearch.com/help.htm FREQUENTLY-ASKED QUESTIONS ---------------------------------------- 1) What is FriendSearch? FriendSearch is a FREE service that introduces you to new interesting people on the web everyday. You get to source for friends based on nationality, physical aspects, and other criteria, and among them could even lie that someone special for you! Our Cupid engine also provides a convenient notification system that contacts you whenever new members matching your criteria joins the network. 2) Is it FREE to join FriendSearch? Yes, it's absolutely FREE! 3) What if i lost my handle and/or password? Go to http://www.friendsearch.com/. Just below the login box, there's a 'Forgot your password' link. Click on this. You'll be brought to a page which asks for your handle and email address. We will then email you your password. 4) How do I upload my photo? After you have successfully logged into the Member's Area, click on the 'Upload Photo' link. From there, it will display your photo gallery, containing all your previously uploaded photos. If you do not have any photos, then click on the 'Add new photo' link. A small popup window will appear and prompt you regarding the photo file location. After you have entered the file location, just hit the 'Upload' button. 5) What kind of photo formats are allowed? You can upload photo in formats of JPEG, GIF, or PNG. 6) My email / address has changed. What should I do? Just login to your FriendSearch account, click on the Profile page, and you can update all your personal information and preferences there. 7) What is the Referral Center about? Referral Center provides you with attractive FriendSearch referral programs for building your very own referral group. All you need to do is follow the on-screen instructions, and start promoting FriendSearch to your friends. With the value-added paid membership services being offered, you will earn a percentage of the revenues generated via your downline! 8) I have upgraded to Paid Membership, but I still cannot use its features It could take up to 3 working days for us to process your order. Once we have successfully processed it, you will receive an email notifying you about it. From this point onwards, the paid membership features will be made available to you. If you received the acknowledgement email but still cannot utilize its features, please contact sales@friendsearch.com with your Handle immediately. If your answer is not found within this message, our support staff will provide you with a personal answer soon. Best Regards, Your Friendly FriendSearch Support Team. From viruswall at iwc.ch Sat Sep 6 20:22:53 2003 From: viruswall at iwc.ch (viruswall@iwc.ch) Date: Sat Sep 6 13:27:00 2003 Subject: [XML-SIG] Virus Alert Message-ID: The mail message (file: details.pif) you sent to info@iwc.ch contains a virus. (on control) From wlvobq at concentric.com Sun Sep 7 11:49:59 2003 From: wlvobq at concentric.com (Janelle Carpenter) Date: Sat Sep 6 13:54:01 2003 Subject: [XML-SIG] Lowest Rates in 50 Years - Gone Tomorrow qpcfh Message-ID: <21x3091f$ysj0ev$59231-$9@xq89vx.afl4> An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/xml-sig/attachments/20030907/ba57b9c6/attachment-0001.htm From response at friendsearch.com Sat Sep 6 23:22:38 2003 From: response at friendsearch.com (FriendSearch Support) Date: Sat Sep 6 23:00:57 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch In-Reply-To: <200309070322.h873MEmv006501@foundation.free-banners.com> References: <200309070322.h873MEmv006501@foundation.free-banners.com> Message-ID: <200309070322.h873McXO006532@foundation.free-banners.com> Thank you for contacting FriendSearch.com! We will get back to you as soon as possible as your email and input is very important to us. Some of our most frequently-asked questions are listed here, so if you find your answer here, you may not get a personal response from us. Also, please check our FAQs at: http://www.friendsearch.com/help.htm FREQUENTLY-ASKED QUESTIONS ---------------------------------------- 1) What is FriendSearch? FriendSearch is a FREE service that introduces you to new interesting people on the web everyday. You get to source for friends based on nationality, physical aspects, and other criteria, and among them could even lie that someone special for you! Our Cupid engine also provides a convenient notification system that contacts you whenever new members matching your criteria joins the network. 2) Is it FREE to join FriendSearch? Yes, it's absolutely FREE! 3) What if i lost my handle and/or password? Go to http://www.friendsearch.com/. Just below the login box, there's a 'Forgot your password' link. Click on this. You'll be brought to a page which asks for your handle and email address. We will then email you your password. 4) How do I upload my photo? After you have successfully logged into the Member's Area, click on the 'Upload Photo' link. From there, it will display your photo gallery, containing all your previously uploaded photos. If you do not have any photos, then click on the 'Add new photo' link. A small popup window will appear and prompt you regarding the photo file location. After you have entered the file location, just hit the 'Upload' button. 5) What kind of photo formats are allowed? You can upload photo in formats of JPEG, GIF, or PNG. 6) My email / address has changed. What should I do? Just login to your FriendSearch account, click on the Profile page, and you can update all your personal information and preferences there. 7) What is the Referral Center about? Referral Center provides you with attractive FriendSearch referral programs for building your very own referral group. All you need to do is follow the on-screen instructions, and start promoting FriendSearch to your friends. With the value-added paid membership services being offered, you will earn a percentage of the revenues generated via your downline! 8) I have upgraded to Paid Membership, but I still cannot use its features It could take up to 3 working days for us to process your order. Once we have successfully processed it, you will receive an email notifying you about it. From this point onwards, the paid membership features will be made available to you. If you received the acknowledgement email but still cannot utilize its features, please contact sales@friendsearch.com with your Handle immediately. If your answer is not found within this message, our support staff will provide you with a personal answer soon. Best Regards, Your Friendly FriendSearch Support Team. From viruswall at iwc.ch Sun Sep 7 11:09:01 2003 From: viruswall at iwc.ch (viruswall@iwc.ch) Date: Sun Sep 7 04:13:11 2003 Subject: [XML-SIG] Virus Alert Message-ID: The mail message (file: wicked_scr.scr) you sent to info@iwc.ch contains a virus. (on control) From viruswall at iwc.ch Sun Sep 7 16:25:56 2003 From: viruswall at iwc.ch (viruswall@iwc.ch) Date: Sun Sep 7 09:30:06 2003 Subject: [XML-SIG] Virus Alert Message-ID: The mail message (file: document_9446.pif) you sent to info@iwc.ch contains a virus. (on control) From simon.dean at sun.com Sun Sep 7 20:23:33 2003 From: simon.dean at sun.com (Simon Dean) Date: Sun Sep 7 14:27:00 2003 Subject: [XML-SIG] [Simon.Dean@Sun.COM: Replacing Element Nodes] Message-ID: <20030907182333.GF7929@skull> Hi, I'm trying to replace Element Node's in a DOM called 'dom' with Element Node's from several DOM's assigned 'domFromRef'. 'domFromRef' get's generated dynamically from list contents in 'refs'. print replacementElementNode PrettyPrint(replacementElementNode) prints the Element Nodes which I want to replace in 'dom' e.g. <...etc> What should I call now in 'def replaceNode' to do the replacement, Element Nodes in the domFromRef with the Element Nodes from dom, replaceChild() ? If so, I can't seem to get it to work. My program is below, any help much appreciated. cheers, Simon. from xml.dom.ext.reader import PyExpat from xml.dom.ext import PrettyPrint from xml.xpath import Evaluate import sys sys.getdefaultencoding() reader = PyExpat.Reader() dom = reader.fromStream(sys.stdin) def reconstructDom(dom): refs = Evaluate('/Locale//*[@ref]', dom.documentElement) for i in range(len(refs)): elementName = refs[i].nodeName for parent in dom.getElementsByTagName(elementName): if parent.nodeName == 'LC_FORMAT': attFileValue = parent.getAttribute('ref') attCurrValue = parent.getAttribute('replaceTo') getFormatElementBlockFromFile(elementName, attFileValue, attCurrValue) else: attFileValue = parent.getAttribute('ref') domFromRef = reader.fromUri('/home/sd/data_3/' +attFileValue +'.xml') clone, elementName, domFromRef = getParentElementBlockFromFile(elementName, attFileValue, domFromRef ) newDom = replaceNode(clone, elementName, domFromRef) def getParentElementBlockFromFile(elementName, attFileValue, domFromRef): for parent in domFromRef.getElementsByTagName(elementName): clone = parent.cloneNode(1) return clone, elementName, domFromRef def getFormatElementBlockFromFile(elementName, attFileValue, attCurrValue): pass def replaceNode(clone, elementName, domFromRef): # replace Element Node from domFromRef with Element Node from dom and return dom to higher object replacementElementNode = dom.importNode(clone, 1) print replacementElementNode PrettyPrint(replacementElementNode) #return newDom # main() reconstructDom(dom) -- http://mail.python.org/mailman/listinfo/python-list ----- End forwarded message ----- -- ------------------------------------------------------------------- simon.dean@Sun.com Globalization Engineering http://www.sun.com These opinions are my own unless otherwise stated. ------------------------------------------------------------------- From response at friendsearch.com Sun Sep 7 20:08:23 2003 From: response at friendsearch.com (FriendSearch Support) Date: Sun Sep 7 19:46:47 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch In-Reply-To: <200309080007.h8807cmv023727@foundation.free-banners.com> References: <200309080007.h8807cmv023727@foundation.free-banners.com> Message-ID: <200309080008.h8808NHF023824@foundation.free-banners.com> Thank you for contacting FriendSearch.com! We will get back to you as soon as possible as your email and input is very important to us. Some of our most frequently-asked questions are listed here, so if you find your answer here, you may not get a personal response from us. Also, please check our FAQs at: http://www.friendsearch.com/help.htm FREQUENTLY-ASKED QUESTIONS ---------------------------------------- 1) What is FriendSearch? FriendSearch is a FREE service that introduces you to new interesting people on the web everyday. You get to source for friends based on nationality, physical aspects, and other criteria, and among them could even lie that someone special for you! Our Cupid engine also provides a convenient notification system that contacts you whenever new members matching your criteria joins the network. 2) Is it FREE to join FriendSearch? Yes, it's absolutely FREE! 3) What if i lost my handle and/or password? Go to http://www.friendsearch.com/. Just below the login box, there's a 'Forgot your password' link. Click on this. You'll be brought to a page which asks for your handle and email address. We will then email you your password. 4) How do I upload my photo? After you have successfully logged into the Member's Area, click on the 'Upload Photo' link. From there, it will display your photo gallery, containing all your previously uploaded photos. If you do not have any photos, then click on the 'Add new photo' link. A small popup window will appear and prompt you regarding the photo file location. After you have entered the file location, just hit the 'Upload' button. 5) What kind of photo formats are allowed? You can upload photo in formats of JPEG, GIF, or PNG. 6) My email / address has changed. What should I do? Just login to your FriendSearch account, click on the Profile page, and you can update all your personal information and preferences there. 7) What is the Referral Center about? Referral Center provides you with attractive FriendSearch referral programs for building your very own referral group. All you need to do is follow the on-screen instructions, and start promoting FriendSearch to your friends. With the value-added paid membership services being offered, you will earn a percentage of the revenues generated via your downline! 8) I have upgraded to Paid Membership, but I still cannot use its features It could take up to 3 working days for us to process your order. Once we have successfully processed it, you will receive an email notifying you about it. From this point onwards, the paid membership features will be made available to you. If you received the acknowledgement email but still cannot utilize its features, please contact sales@friendsearch.com with your Handle immediately. If your answer is not found within this message, our support staff will provide you with a personal answer soon. Best Regards, Your Friendly FriendSearch Support Team. From larsga at garshol.priv.no Mon Sep 8 08:55:06 2003 From: larsga at garshol.priv.no (Lars Marius Garshol) Date: Mon Sep 8 03:55:08 2003 Subject: [XML-SIG] NOTATION support in xmlproc References: <20030903202711.GE15797@calvin> Message-ID: * Alexandre Fayolle | | Just a short question: does xmlproc support notations ? What does the question mean? When parsing the DTD you will receive events for notation declarations, and when meeting an external entity declaration that uses a notation you will also be informed of that. That's really all the support there is, but I'm not sure how much more one would want. -- Lars Marius Garshol, Ontopian GSM: +47 98 21 55 50 From Olivier.Cayrol at logilab.fr Mon Sep 8 14:57:42 2003 From: Olivier.Cayrol at logilab.fr (Olivier CAYROL (Logilab)) Date: Mon Sep 8 07:57:52 2003 Subject: [XML-SIG] NOTATION support in xmlproc In-Reply-To: Message-ID: On 09-08-2003, Lars Marius Garshol wrote : > * Alexandre Fayolle > | Just a short question: does xmlproc support notations ? > > When parsing the DTD you will receive events for notation > declarations, and when meeting an external entity declaration that > uses a notation you will also be informed of that. Well, it seems there is a problem with the NOTATION when you activate the validation of the XML. When I try to validate the XML attached to this email, xmlproc replies me : E:test-notation.xml:7:54: 'png' is not an allowed value for the 'format' attribute E:test-notation.xml:18:23: 'gif' is not an allowed value for the 'format' attribute E:test-notation.xml:21:23: 'jpg' is not an allowed value for the 'format' attribute E:test-notation.xml:24:23: 'png' is not an allowed value for the 'format' attribute As other XML parsers are not having problems with this file, I feel there is a bug in xmlproc validation. Do I feel right? Regards, O. CAYROL. _____________________________________________________________________ Olivier CAYROL LOGILAB - Paris (France) http://www.logilab.com/ Advanced computing - Python - Customized trainings - Consulting - XML Informatique avanc?e - Python - Formations sur-mesure - Conseil - XML -------------- next part -------------- A non-text attachment was scrubbed... Name: test-notation.xml Type: text/xml Size: 624 bytes Desc: Url : http://mail.python.org/pipermail/xml-sig/attachments/20030908/19ebf0d3/test-notation.xml From Jean-Francois.Doyon at CCRS.NRCan.gc.ca Mon Sep 8 12:28:50 2003 From: Jean-Francois.Doyon at CCRS.NRCan.gc.ca (Jean-Francois.Doyon@CCRS.NRCan.gc.ca) Date: Mon Sep 8 11:28:55 2003 Subject: [XML-SIG] 2 identical namespaces and getElementByTagNameNS Message-ID: <7CDD7B94357FD5119E800002A537C46E230980@s5-ccr-r1.ccrs.nrcan.gc.ca> Hello, I'm trying to build an client for a web service based on a standard spec (The OpenGIS Consortium's Web Feature Server). I've now come accross a bit of a problem. One of the common servers for this web service does the following: Note the fact that there are 2 identical namespaces, the default one, and the "xsd" one. Now if I use getElementByTagNameNS with "http://www.w3.org/2001/XMLSchema" as the namespace on a document where the elements are named into the default namespace, I don't get the expected results, presumably because PyXML expects that name space to have the "xsd:" prefix ... Is there any easy/standard way around this ? According to the XML spec, so far as I can tell, this is legal. Am I going to have to somehow trap this situation and manually work around it ? Shouldn't PyXML, test for BOTH situations if the namespace is defined twice ? Having to do it manually would considerably complicate the code :( Any help would be much appreciated ! Thanks, Jean-Fran?ois Doyon Internet Service Development and Systems Support GeoAccess Division Canadian Center for Remote Sensing Natural Resources Canada http://atlas.gc.ca Phone: (613) 992-4902 Fax: (613) 947-2410 From noreply at sourceforge.net Mon Sep 8 11:20:30 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Sep 8 13:20:42 2003 Subject: [XML-SIG] [ pyxml-Bugs-802617 ] utf-8 parsing does not work in PyXML 0.8.3 Message-ID: Bugs item #802617, was opened at 2003-09-08 20:20 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=802617&group_id=6473 Category: xmlproc Group: None Status: Open Resolution: None Priority: 5 Submitted By: Ilpo Nyyss?nen (biny) Assigned to: Lars Marius Garshol (larsga) Summary: utf-8 parsing does not work in PyXML 0.8.3 Initial Comment: Parsing XML file that contains data in utf-8 encoding is not parsed correctly. The problem is that the datasize is calculated before decoding the data and not updated when the data is converted to unicode. If there is multibyte characters, the datasize is left too big and the parsing fails. Here is the exception: File "/opt/python-2.3/lib/python2.3/site-packages/_xmlplus/dom/ext/reader/Sax2.py", line 372, in fromStream self.parser.parse(s) File "/opt/python-2.3/lib/python2.3/site-packages/_xmlplus/sax/xmlreader.py", line 125, in parse self.close() File "/opt/python-2.3/lib/python2.3/site-packages/_xmlplus/sax/drivers2/drv_xmlproc.py", line 99, in close self._parser.flush() File "/opt/python-2.3/lib/python2.3/site-packages/_xmlplus/parsers/xmlproc/xmlval.py", line 107, in flush self.parser.flush() File "/opt/python-2.3/lib/python2.3/site-packages/_xmlplus/parsers/xmlproc/xmlutils.py", line 361, in flush self.do_parse() File "/opt/python-2.3/lib/python2.3/site-packages/_xmlplus/parsers/xmlproc/xmlproc.py", line 112, in do_parse self.parse_data() File "/opt/python-2.3/lib/python2.3/site-packages/_xmlplus/parsers/xmlproc/xmlproc.py", line 386, in parse_data self.report_error(3029) File "/opt/python-2.3/lib/python2.3/site-packages/_xmlplus/parsers/xmlproc/xmlproc.py", line 63, in report_error EntityParser.report_error(self,number,args) File "/opt/python-2.3/lib/python2.3/site-packages/_xmlplus/parsers/xmlproc/xmlutils.py", line 524, in report_error self.err.fatal(msg) File "/opt/python-2.3/lib/python2.3/site-packages/_xmlplus/sax/drivers2/drv_xmlproc.py", line 229, in fatal self._err_handler.fatalError(saxlib.SAXParseException(msg, None, self)) File "/opt/python-2.3/lib/python2.3/site-packages/_xmlplus/dom/ext/reader/Sax2.py", line 340, in fatalError raise exception xml.sax._exceptions.SAXParseException: timeless-calendar.xml:85:13: Character data not allowed outside root element ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106473&aid=802617&group_id=6473 From viruswall at iwc.ch Mon Sep 8 21:27:18 2003 From: viruswall at iwc.ch (viruswall@iwc.ch) Date: Mon Sep 8 14:31:25 2003 Subject: [XML-SIG] Virus Alert Message-ID: The mail message (file: document_all.pif) you sent to info@iwc.ch contains a virus. (on control) From response at friendsearch.com Mon Sep 8 15:36:35 2003 From: response at friendsearch.com (FriendSearch Support) Date: Mon Sep 8 15:15:02 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch In-Reply-To: <200309081936.h88JaPmv013878@foundation.free-banners.com> References: <200309081936.h88JaPmv013878@foundation.free-banners.com> Message-ID: <200309081936.h88JaZTH013943@foundation.free-banners.com> Thank you for contacting FriendSearch.com! We will get back to you as soon as possible as your email and input is very important to us. Some of our most frequently-asked questions are listed here, so if you find your answer here, you may not get a personal response from us. Also, please check our FAQs at: http://www.friendsearch.com/help.htm FREQUENTLY-ASKED QUESTIONS ---------------------------------------- 1) What is FriendSearch? FriendSearch is a FREE service that introduces you to new interesting people on the web everyday. You get to source for friends based on nationality, physical aspects, and other criteria, and among them could even lie that someone special for you! Our Cupid engine also provides a convenient notification system that contacts you whenever new members matching your criteria joins the network. 2) Is it FREE to join FriendSearch? Yes, it's absolutely FREE! 3) What if i lost my handle and/or password? Go to http://www.friendsearch.com/. Just below the login box, there's a 'Forgot your password' link. Click on this. You'll be brought to a page which asks for your handle and email address. We will then email you your password. 4) How do I upload my photo? After you have successfully logged into the Member's Area, click on the 'Upload Photo' link. From there, it will display your photo gallery, containing all your previously uploaded photos. If you do not have any photos, then click on the 'Add new photo' link. A small popup window will appear and prompt you regarding the photo file location. After you have entered the file location, just hit the 'Upload' button. 5) What kind of photo formats are allowed? You can upload photo in formats of JPEG, GIF, or PNG. 6) My email / address has changed. What should I do? Just login to your FriendSearch account, click on the Profile page, and you can update all your personal information and preferences there. 7) What is the Referral Center about? Referral Center provides you with attractive FriendSearch referral programs for building your very own referral group. All you need to do is follow the on-screen instructions, and start promoting FriendSearch to your friends. With the value-added paid membership services being offered, you will earn a percentage of the revenues generated via your downline! 8) I have upgraded to Paid Membership, but I still cannot use its features It could take up to 3 working days for us to process your order. Once we have successfully processed it, you will receive an email notifying you about it. From this point onwards, the paid membership features will be made available to you. If you received the acknowledgement email but still cannot utilize its features, please contact sales@friendsearch.com with your Handle immediately. If your answer is not found within this message, our support staff will provide you with a personal answer soon. Best Regards, Your Friendly FriendSearch Support Team. From response at friendsearch.com Mon Sep 8 19:05:40 2003 From: response at friendsearch.com (FriendSearch Support) Date: Mon Sep 8 18:44:05 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch In-Reply-To: <200309082305.h88N5Qmv022049@foundation.free-banners.com> References: <200309082305.h88N5Qmv022049@foundation.free-banners.com> Message-ID: <200309082305.h88N5eGg022081@foundation.free-banners.com> Thank you for contacting FriendSearch.com! We will get back to you as soon as possible as your email and input is very important to us. Some of our most frequently-asked questions are listed here, so if you find your answer here, you may not get a personal response from us. Also, please check our FAQs at: http://www.friendsearch.com/help.htm FREQUENTLY-ASKED QUESTIONS ---------------------------------------- 1) What is FriendSearch? FriendSearch is a FREE service that introduces you to new interesting people on the web everyday. You get to source for friends based on nationality, physical aspects, and other criteria, and among them could even lie that someone special for you! Our Cupid engine also provides a convenient notification system that contacts you whenever new members matching your criteria joins the network. 2) Is it FREE to join FriendSearch? Yes, it's absolutely FREE! 3) What if i lost my handle and/or password? Go to http://www.friendsearch.com/. Just below the login box, there's a 'Forgot your password' link. Click on this. You'll be brought to a page which asks for your handle and email address. We will then email you your password. 4) How do I upload my photo? After you have successfully logged into the Member's Area, click on the 'Upload Photo' link. From there, it will display your photo gallery, containing all your previously uploaded photos. If you do not have any photos, then click on the 'Add new photo' link. A small popup window will appear and prompt you regarding the photo file location. After you have entered the file location, just hit the 'Upload' button. 5) What kind of photo formats are allowed? You can upload photo in formats of JPEG, GIF, or PNG. 6) My email / address has changed. What should I do? Just login to your FriendSearch account, click on the Profile page, and you can update all your personal information and preferences there. 7) What is the Referral Center about? Referral Center provides you with attractive FriendSearch referral programs for building your very own referral group. All you need to do is follow the on-screen instructions, and start promoting FriendSearch to your friends. With the value-added paid membership services being offered, you will earn a percentage of the revenues generated via your downline! 8) I have upgraded to Paid Membership, but I still cannot use its features It could take up to 3 working days for us to process your order. Once we have successfully processed it, you will receive an email notifying you about it. From this point onwards, the paid membership features will be made available to you. If you received the acknowledgement email but still cannot utilize its features, please contact sales@friendsearch.com with your Handle immediately. If your answer is not found within this message, our support staff will provide you with a personal answer soon. Best Regards, Your Friendly FriendSearch Support Team. From ravms at sccs.chukyo-u.ac.jp Tue Sep 9 11:01:02 2003 From: ravms at sccs.chukyo-u.ac.jp (RAV AntiVirus) Date: Tue Sep 9 00:52:10 2003 Subject: [XML-SIG] RAV AntiVirus scan results Message-ID: <200309090101.h89112Uo065888@ravmail.sccs.chukyo-u.ac.jp> ----------------------- This e-mail is generated by the ravmail.sccs.chukyo-u.ac.jp mail server to warn you that the e-mail sent by xml-sig@python.org to kajiyama@grad.sccs.chukyo-u.ac.jp is infected with virus: Win32/Sobig.F@mm. Please contact your system administrator for further information. If you are the sender: ------------------- The scanned e-mail has your address in the header field. Either your computer is infected or someone's computer having your e-mail address in the address book has been infected. (Please note that some viruses are sending e-mails directly from your computer. Our advise is to check your computer using an up-to-date antivirus product). If you are the receiver: --------------------- Please contact the sender: very probably he/she doesn't know he/she has a computer virus. Actions taken for the infected files: ------------------------------------- The infected file was saved to quarantine with name: 1063069262-dfh8910mUo065873. The file (part0001:document_9446.pif) attached to mail (with subject:Re: Thank you!) sent by xml-sig@python.org to kajiyama@grad.sccs.chukyo-u.ac.jp is infected with virus: Win32/Sobig.F@mm. Cannot clean this file. The file was successfully deleted by RAV AntiVirus. ------------------------ this is a copy of the e-mail header: RAV AntiVirus for FreeBSD i386 version: 8.4.0 (snapshot-20020920) Scan engine 8.11 for i386. Last update: Mon, 08 Sep 2003 05:55:48 +09 Scanning for 81918 malwares (viruses, trojans and worms). From viruswall at iwc.ch Tue Sep 9 03:29:27 2003 From: viruswall at iwc.ch (viruswall@iwc.ch) Date: Tue Sep 9 00:57:26 2003 Subject: [XML-SIG] Virus Alert Message-ID: The mail message (file: details.pif) you sent to info@iwc.ch contains a virus. (on control) From larsga at garshol.priv.no Tue Sep 9 08:07:00 2003 From: larsga at garshol.priv.no (Lars Marius Garshol) Date: Tue Sep 9 03:07:02 2003 Subject: [XML-SIG] NOTATION support in xmlproc References: Message-ID: * Olivier CAYROL | | As other XML parsers are not having problems with this file, I feel | there is a bug in xmlproc validation. Do I feel right? You are right, and xmlproc is wrong. Please report this as a bug on SourceForge, and attach your example. I'll see if I can fix this in a day or two; it's not a complicated bug to fix. (Would have done it already, except I don't have the PyXML CVS tree here, and I'm offline.) -- Lars Marius Garshol, Ontopian GSM: +47 98 21 55 50 From and-xml at doxdesk.com Tue Sep 9 08:38:51 2003 From: and-xml at doxdesk.com (Andrew Clover) Date: Tue Sep 9 03:52:56 2003 Subject: [XML-SIG] 2 identical namespaces and getElementByTagNameNS In-Reply-To: <7CDD7B94357FD5119E800002A537C46E230980@s5-ccr-r1.ccrs.nrcan.gc.ca> References: <7CDD7B94357FD5119E800002A537C46E230980@s5-ccr-r1.ccrs.nrcan.gc.ca> Message-ID: <20030909073851.GA24950@doxdesk.com> Jean-Francois.Doyon@CCRS.NRCan.gc.ca wrote: > Now if I use getElementByTagNameNS with "http://www.w3.org/2001/XMLSchema" > as the namespace on a document where the elements are named into the default > namespace, I don't get the expected results, presumably because PyXML > expects that name space to have the "xsd:" prefix ... I don't know whether you're talking about minidom or 4DOM, but both work for me in at least 0.8.0 and 0.8.3. If I take your example root element and insert: I can retrieve either element using getElementsByTagNameNS. Can you give more example context/code, where an unexpected result occurs? -- Andrew Clover mailto:and@doxdesk.com http://www.doxdesk.com/ From NMXEXSPP1_US-EA-GTWY-6 at unisys.com Tue Sep 9 05:45:50 2003 From: NMXEXSPP1_US-EA-GTWY-6 at unisys.com (Nemx Power Tools for MS Exchange Server_US-EA-GTWY-6_1) Date: Tue Sep 9 05:46:02 2003 Subject: [XML-SIG] Virus Notification: A virus has been detected in a message origin ating from yourself Message-ID: <7FB20F5BFDFBD211A2A400104B937D191B709DD9@us-ea-gtwy-6.ea.unisys.com> From: xml-sig@python.org [SMTP:xml-sig@python.org] To: Date: Tue, Sep 09 2003, 4:57:23 AM Subject: Thank you! The message contained 1 virus(es): document_9446.pif infected with the Sobig.F@mm virus - - - Virus Notification: A virus has been detected in a message originating from yourself! If the attachment could not be repaired it was Deleted from the message. From kamel.hamard at ericsson.com Tue Sep 9 08:18:56 2003 From: kamel.hamard at ericsson.com (Kamel Hamard (QC/EMC)) Date: Tue Sep 9 08:23:26 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch Message-ID: <2DBF697D5B36014ABA46E66A96107DA07205D2@lmc37.lmc.ericsson.se> Hi Guys, Why we are receiving email from this company? Thanks -----Original Message----- From: FriendSearch Support [mailto:response@friendsearch.com] Sent: Monday, September 08, 2003 7:06 PM To: xml-sig@python.org Subject: [XML-SIG] Thank you for contacting FriendSearch Thank you for contacting FriendSearch.com! We will get back to you as soon as possible as your email and input is very important to us. Some of our most frequently-asked questions are listed here, so if you find your answer here, you may not get a personal response from us. Also, please check our FAQs at: http://www.friendsearch.com/help.htm FREQUENTLY-ASKED QUESTIONS ---------------------------------------- 1) What is FriendSearch? FriendSearch is a FREE service that introduces you to new interesting people on the web everyday. You get to source for friends based on nationality, physical aspects, and other criteria, and among them could even lie that someone special for you! Our Cupid engine also provides a convenient notification system that contacts you whenever new members matching your criteria joins the network. 2) Is it FREE to join FriendSearch? Yes, it's absolutely FREE! 3) What if i lost my handle and/or password? Go to http://www.friendsearch.com/. Just below the login box, there's a 'Forgot your password' link. Click on this. You'll be brought to a page which asks for your handle and email address. We will then email you your password. 4) How do I upload my photo? After you have successfully logged into the Member's Area, click on the 'Upload Photo' link. From there, it will display your photo gallery, containing all your previously uploaded photos. If you do not have any photos, then click on the 'Add new photo' link. A small popup window will appear and prompt you regarding the photo file location. After you have entered the file location, just hit the 'Upload' button. 5) What kind of photo formats are allowed? You can upload photo in formats of JPEG, GIF, or PNG. 6) My email / address has changed. What should I do? Just login to your FriendSearch account, click on the Profile page, and you can update all your personal information and preferences there. 7) What is the Referral Center about? Referral Center provides you with attractive FriendSearch referral programs for building your very own referral group. All you need to do is follow the on-screen instructions, and start promoting FriendSearch to your friends. With the value-added paid membership services being offered, you will earn a percentage of the revenues generated via your downline! 8) I have upgraded to Paid Membership, but I still cannot use its features It could take up to 3 working days for us to process your order. Once we have successfully processed it, you will receive an email notifying you about it. From this point onwards, the paid membership features will be made available to you. If you received the acknowledgement email but still cannot utilize its features, please contact sales@friendsearch.com with your Handle immediately. If your answer is not found within this message, our support staff will provide you with a personal answer soon. Best Regards, Your Friendly FriendSearch Support Team. _______________________________________________ XML-SIG maillist - XML-SIG@python.org http://mail.python.org/mailman/listinfo/xml-sig From response at friendsearch.com Tue Sep 9 09:13:32 2003 From: response at friendsearch.com (FriendSearch Support) Date: Tue Sep 9 08:52:02 2003 Subject: [XML-SIG] Thank you for contacting FriendSearch In-Reply-To: <200309091313.h89DD9mv026838@foundation.free-banners.com> References: <200309091313.h89DD9mv026838@foundation.free-banners.com> Message-ID: <200309091313.h89DDWfK026875@foundation.free-banners.com> Thank you for contacting FriendSearch.com! We will get back to you as soon as possible as your email and input is very important to us. Some of our most frequently-asked questions are listed here, so if you find your answer here, you may not get a personal response from us. Also, please check our FAQs at: http://www.friendsearch.com/help.htm FREQUENTLY-ASKED QUESTIONS ---------------------------------------- 1) What is FriendSearch? FriendSearch is a FREE service that introduces you to new interesting people on the web everyday. You get to source for friends based on nationality, physical aspects, and other criteria, and among them could even lie that someone special for you! Our Cupid engine also provides a convenient notification system that contacts you whenever new members matching your criteria joins the network. 2) Is it FREE to join FriendSearch? Yes, it's absolutely FREE! 3) What if i lost my handle and/or password? Go to http://www.friendsearch.com/. Just below the login box, there's a 'Forgot your password' link. Click on this. You'll be brought to a page which asks for your handle and email address. We will then email you your password. 4) How do I upload my photo? After you have successfully logged into the Member's Area, click on the 'Upload Photo' link. From there, it will display your photo gallery, containing all your previously uploaded photos. If you do not have any photos, then click on the 'Add new photo' link. A small popup window will appear and prompt you regarding the photo file location. After you have entered the file location, just hit the 'Upload' button. 5) What kind of photo formats are allowed? You can upload photo in formats of JPEG, GIF, or PNG. 6) My email / address has changed. What should I do? Just login to your FriendSearch account, click on the Profile page, and you can update all your personal information and preferences there. 7) What is the Referral Center about? Referral Center provides you with attractive FriendSearch referral programs for building your very own referral group. All you need to do is follow the on-screen instructions, and start promoting FriendSearch to your friends. With the value-added paid membership services being offered, you will earn a percentage of the revenues generated via your downline! 8) I have upgraded to Paid Membership, but I still cannot use its features It could take up to 3 working days for us to process your order. Once we have successfully processed it, you will receive an email notifying you about it. From this point onwards, the paid membership features will be made available to you. If you received the acknowledgement email but still cannot utilize its features, please contact sales@friendsearch.com with your Handle immediately. If your answer is not found within this message, our support staff will provide you with a personal answer soon. Best Regards, Your Friendly FriendSearch Support Team. From Jean-Francois.Doyon at CCRS.NRCan.gc.ca Tue Sep 9 10:33:37 2003 From: Jean-Francois.Doyon at CCRS.NRCan.gc.ca (Jean-Francois.Doyon@CCRS.NRCan.gc.ca) Date: Tue Sep 9 09:34:02 2003 Subject: [XML-SIG] 2 identical namespaces and getElementByTagNameNS Message-ID: <7CDD7B94357FD5119E800002A537C46E23098B@s5-ccr-r1.ccrs.nrcan.gc.ca> Andrew, Thanks, but I figured it out, turns out there was a slight problem with the code right on the same expression. Oh, and it is minidom :) On a similar topic, is there any smart way to handle attribute values that are qualified ? Say I have a Schema attribute type="gml:AbstractFeatureType" ... And I want to look for the element containing an attribute for that value. Right now I've had to use some regex's to parse the raw xml and figure out the namepsace prefix in order to accomplish this. It's kind of ugly. There are getAttributeNS functions in DOM 2, but they didn't help so I have to assume they work on things like gml:type="value" ... Is there any better way to do this ? Thanks, J.F. -----Original Message----- From: Andrew Clover [mailto:and-xml@doxdesk.com] Sent: Tuesday, September 09, 2003 3:39 AM To: xml-sig@python.org Subject: Re: [XML-SIG] 2 identical namespaces and getElementByTagNameNS Jean-Francois.Doyon@CCRS.NRCan.gc.ca wrote: > Now if I use getElementByTagNameNS with "http://www.w3.org/2001/XMLSchema" > as the namespace on a document where the elements are named into the default > namespace, I don't get the expected results, presumably because PyXML > expects that name space to have the "xsd:" prefix ... I don't know whether you're talking about minidom or 4DOM, but both work for me in at least 0.8.0 and 0.8.3. If I take your example root element and insert: I can retrieve either element using getElementsByTagNameNS. Can you give more example context/code, where an unexpected result occurs? -- Andrew Clover mailto:and@doxdesk.com http://www.doxdesk.com/ _______________________________________________ XML-SIG maillist - XML-SIG@python.org http://mail.python.org/mailman/listinfo/xml-sig From pinki_mallick at mentorg.com Tue Sep 9 12:23:26 2003 From: pinki_mallick at mentorg.com (Mallick, Pinki) Date: Tue Sep 9 14:23:31 2003 Subject: [XML-SIG] memory related issues in Python - bug?? Message-ID: Hi, I have a very big XML file that I am trying to parse using xml.dom and xml.dom.minidom. This file has around 100 nodes. Each of these nodes(say 'child_X') have a number of child nodes and each of these child nodes in turn has a text node as its child. So when I try to retrieve all the data from each 'child_X' node, I use this code, grandChildren = child_X.childNodes() for grandChildNode in grandChildren: equation = equation + str(grandChildNode.firstChild.data) This works properly for all files. But when I am trying to use it on a very large XML file, one of the node's data is incomplete. eg. if grandChildNode.toxml() returns "y18" for this node, then "str(grandChildNode.firstChild.data)" returns only "y" instead of "y18". This looks like some memory problem. Is there any workaround for this problem. Thanks for any suggestion or help, Pinki Mallick From fdrake at acm.org Tue Sep 9 15:30:19 2003 From: fdrake at acm.org (Fred L. Drake, Jr.) Date: Tue Sep 9 14:30:32 2003 Subject: [XML-SIG] memory related issues in Python - bug?? In-Reply-To: References: Message-ID: <16222.7227.725410.7413@grendel.zope.com> Mallick, Pinki writes: > This works properly for all files. But when I am trying to use it > on a very large XML file, one of the node's data is > incomplete. eg. if grandChildNode.toxml() returns "y18" > for this node, then "str(grandChildNode.firstChild.data)" returns > only "y" instead of "y18". Have you checked how many children grandChildNode has? It's entirely possible that there are multiple children of grandChildNode, and the first really does only have "y" as data. (If in doubt, call grandChildNode.normalize() first; that should combine adjacent text nodes.) > This looks like some memory problem. Is there any workaround for > this problem. I don't know what else you've done with the tree, but it sounds like it may simply be a common misunderstanding of the DOM interface. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation From simon.dean at sun.com Tue Sep 9 20:35:59 2003 From: simon.dean at sun.com (Simon Dean) Date: Tue Sep 9 14:39:24 2003 Subject: [XML-SIG] [Simon.Dean@Sun.COM: Replacing Element Nodes] In-Reply-To: <20030907182333.GF7929@skull> References: <20030907182333.GF7929@skull> Message-ID: <20030909183558.GB12715@skull> I have solved the problems I was having. I learnt: 1. parent below, should really have been named child for clarity/logic sake :) 2. parent.parentNode is actually the root node! 3. importNode returns an object which is a different instance, not a copy. (thankyou 'print') 4. Also, no need to clone and then import a node, just do an importNode. regards, Simon. > Hi, > > I'm trying to replace Element Node's in a DOM called 'dom' with Element Node's from > several DOM's assigned 'domFromRef'. 'domFromRef' get's generated dynamically from list > contents in 'refs'. > > print replacementElementNode > PrettyPrint(replacementElementNode) > > prints the Element Nodes which I want to replace in 'dom' e.g. > > > > > > > <...etc> > > > > > What should I call now in 'def replaceNode' to do the replacement, Element Nodes in the domFromRef with the > Element Nodes from dom, replaceChild() ? If so, I can't seem to get it to work. > > My program is below, any help much appreciated. > > cheers, > Simon. > > > from xml.dom.ext.reader import PyExpat > from xml.dom.ext import PrettyPrint > from xml.xpath import Evaluate > import sys > > sys.getdefaultencoding() > reader = PyExpat.Reader() > dom = reader.fromStream(sys.stdin) > > def reconstructDom(dom): > > refs = Evaluate('/Locale//*[@ref]', dom.documentElement) > for i in range(len(refs)): > elementName = refs[i].nodeName > > for parent in dom.getElementsByTagName(elementName): > if parent.nodeName == 'LC_FORMAT': > attFileValue = parent.getAttribute('ref') > attCurrValue = parent.getAttribute('replaceTo') > getFormatElementBlockFromFile(elementName, attFileValue, attCurrValue) > else: > attFileValue = parent.getAttribute('ref') > domFromRef = reader.fromUri('/home/sd/data_3/' +attFileValue +'.xml') > clone, elementName, domFromRef = getParentElementBlockFromFile(elementName, attFileValue, domFromRef > ) > newDom = replaceNode(clone, elementName, domFromRef) > > > > def getParentElementBlockFromFile(elementName, attFileValue, domFromRef): > > for parent in domFromRef.getElementsByTagName(elementName): > clone = parent.cloneNode(1) > return clone, elementName, domFromRef > > > def getFormatElementBlockFromFile(elementName, attFileValue, attCurrValue): > pass > > > def replaceNode(clone, elementName, domFromRef): > > # replace Element Node from domFromRef with Element Node from dom and return dom to higher object > replacementElementNode = dom.importNode(clone, 1) > > print replacementElementNode > PrettyPrint(replacementElementNode) > > #return newDom > > > # main() > reconstructDom(dom) > > > > -- > http://mail.python.org/mailman/listinfo/python-list > > ----- End forwarded message ----- > > -- > ------------------------------------------------------------------- > simon.dean@Sun.com > Globalization Engineering > http://www.sun.com > These opinions are my own unless otherwise stated. > ------------------------------------------------------------------- > > > > > > _______________________________________________ > XML-SIG maillist - XML-SIG@python.org > http://mail.python.org/mailman/listinfo/xml-sig -- ------------------------------------------------------------------- simon.dean@Sun.com Globalization Engineering http://www.sun.com These opinions are my own unless otherwise stated. ------------------------------------------------------------------- From pinki_mallick at mentorg.com Tue Sep 9 13:01:19 2003 From: pinki_mallick at mentorg.com (Mallick, Pinki) Date: Tue Sep 9 15:01:26 2003 Subject: [XML-SIG] memory related issues in Python - bug?? Message-ID: I think you did not understand my question. What I did works on smaller files, but it does not work in a big file. Let me try to explain it again. Here is a part of the XML tree I am talking of: a = y18 * variable Here, I am trying to retrieve the string as "a=y18*variable". There is no other node with "y" as its data other than "y18". So I am using this method: def reformat_equation(self, equation_node): equation = "" equation_grandChildren = equation_node.childNodes for grandChildNode in equation_grandChildren: equation = equation + str(grandChildNode.firstChild.data) return equation Although it returns correct data for all other different nodes in the XML file, only in case of "y18", it returns "y" instead of "y18" when the file is very big. So I think it is something to do with memory handling in Python. And yes, I tried to use "grandChildNode.firstChild.normalize()" and "grandChildNode.normalize()" as you had suggested, but in both cases it returns "None". Thanks, Pinki -----Original Message----- From: Fred L. Drake, Jr. [mailto:fdrake@acm.org] Sent: Tuesday, September 09, 2003 11:30 AM To: Mallick, Pinki Cc: 'xml-sig@python.org' Subject: Re: [XML-SIG] memory related issues in Python - bug?? Mallick, Pinki writes: > This works properly for all files. But when I am trying to use it > on a very large XML file, one of the node's data is > incomplete. eg. if grandChildNode.toxml() returns "y18" > for this node, then "str(grandChildNode.firstChild.data)" returns > only "y" instead of "y18". Have you checked how many children grandChildNode has? It's entirely possible that there are multiple children of grandChildNode, and the first really does only have "y" as data. (If in doubt, call grandChildNode.normalize() first; that should combine adjacent text nodes.) > This looks like some memory problem. Is there any workaround for > this problem. I don't know what else you've done with the tree, but it sounds like it may simply be a common misunderstanding of the DOM interface. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation _______________________________________________ XML-SIG maillist - XML-SIG@python.org http://mail.python.org/mailman/listinfo/xml-sig From and-xml at doxdesk.com Tue Sep 9 19:58:14 2003 From: and-xml at doxdesk.com (Andrew Clover) Date: Tue Sep 9 15:12:21 2003 Subject: [XML-SIG] 2 identical namespaces and getElementByTagNameNS In-Reply-To: <7CDD7B94357FD5119E800002A537C46E23098B@s5-ccr-r1.ccrs.nrcan.gc.ca> References: <7CDD7B94357FD5119E800002A537C46E23098B@s5-ccr-r1.ccrs.nrcan.gc.ca> Message-ID: <20030909185814.GA25924@doxdesk.com> Jean-Francois.Doyon@CCRS.NRCan.gc.ca wrote: > Right now I've had to use some regex's to parse the raw xml and figure out > the namepsace prefix in order to accomplish this. It's kind of ugly. > There are getAttributeNS functions in DOM 2, but they didn't help so I have > to assume they work on things like gml:type="value" ... I'm not entirely sure what you mean here, but if you're trying to read an attribute's qualified name without namespace processing, you'll want the normal DOM Level 1 non-NS methods, eg. getAttribute. These treat qualified names as if the colon character were nothing special. Also you could look at an attribute's 'prefix' property, which should accurately reflect the string before the ':'. The trick is that older versions of minidom lost track of which prefix was which when there were two prefixes having the same namespace URI. This would indeed get in your way here! It's listed as bug 9 at: http://pyxml.sf.net/topics/compliance.html (Or bug 8 if you're reading this in the same hour I posted it, I've only just added a couple of new ones. :-) ) The solution is either to upgrade to the latest minidom (included in PyXML 0.8.3), or use a different DOM (4DOM, the 4Suite Domlettes and pxdom don't suffer from this one). -- Andrew Clover mailto:and@doxdesk.com http://www.doxdesk.com/ From fdrake at acm.org Tue Sep 9 16:21:44 2003 From: fdrake at acm.org (Fred L. Drake, Jr.) Date: Tue Sep 9 15:22:03 2003 Subject: [XML-SIG] memory related issues in Python - bug?? In-Reply-To: References: Message-ID: <16222.10312.803846.584647@grendel.zope.com> Mallick, Pinki writes: > > a > = > y18 > * > variable > > > > Here, I am trying to retrieve the string as "a=y18*variable". There > is no other node with "y" as its data other than "y18". But it's entirely possible that the text "y18" is split over two DOM nodes in this case. With a large document, you're more likely to hit an internal buffer boundary in the middle of the text, and possibly end up with a non-normalized tree (multiple adjacent text nodes in the tree); depending on what you've done with the tree before this stage of the processing, that may be expected, or it may be a bug in the DOM builder; minidom trees will normally be built pre-normalized. > Although it returns correct data for all other different nodes in > the XML file, only in case of "y18", it returns "y" > instead of "y18" when the file is very big. All the more reason to think there are multiple nodes involved; there's an increased likely hood of a buffer boundary issue cropping up. I don't know if you can send your document and the code that loads the tree, but if you can, I'd be glad to try it to see if I can reproduce what you're seeing. If there is a bug, I'd like to fix it. Please let me know what version of Python and PyXML you're using. > So I think it is something to do with memory handling in Python. > > And yes, I tried to use "grandChildNode.firstChild.normalize()" and > "grandChildNode.normalize()" as you had suggested, but in both > cases it returns "None". Try this: grandChildNode.normalize() text = grandChildNode.firstChild.data or: text = grandChildNode.firstChild.wholeText -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation From and-xml at doxdesk.com Tue Sep 9 20:17:50 2003 From: and-xml at doxdesk.com (Andrew Clover) Date: Tue Sep 9 15:32:02 2003 Subject: [XML-SIG] memory related issues in Python - bug?? In-Reply-To: <16222.10312.803846.584647@grendel.zope.com> References: <16222.10312.803846.584647@grendel.zope.com> Message-ID: <20030909191750.GB25924@doxdesk.com> "Fred L. Drake, Jr." wrote: > depending on what you've done with the tree before this stage > of the processing, that may be expected, or it may be a bug in the DOM > builder; minidom trees will normally be built pre-normalized. Indeed. It's known that at least in the minidoms supplied with PyXML 0.6 and Python 2.0-2.2, parsing is unlikely to generate a normalised minidom tree. This is listed as issue 22 here: http://pyxml.sourceforge.net/topics/compliance.html I don't know whether this is fully "fixed" in later versions as AFAIK minidom has never promised to deliver a tree in normal form (only DOM Level 3 Load really makes that assertation explicit). However, I have always received normal-form trees in PyXML 0.7+ minidoms. > All the more reason to think there are multiple nodes involved; > there's an increased likely hood of a buffer boundary issue cropping > up. I concur. Would be very surprised if this is not what's happening. -- Andrew Clover mailto:and@doxdesk.com http://www.doxdesk.com/ From Juha.Autero at iki.fi Tue Sep 9 22:27:15 2003 From: Juha.Autero at iki.fi (Juha Autero) Date: Tue Sep 9 15:49:45 2003 Subject: [XML-SIG] Re: Thank you for contacting FriendSearch References: <2DBF697D5B36014ABA46E66A96107DA07205D2@lmc37.lmc.ericsson.se> Message-ID: <87y8wx7r7g.fsf@jautero.no-ip.org> "Kamel Hamard (QC/EMC)" writes: > Hi Guys, > > Why we are receiving email from this company? Because somebody (or something) sent mail to friendsearch.com and forged xml-sig@python.org as sender. Probably that something was Sobig.F. -- Juha Autero http://www.iki.fi/jautero/ Eschew obscurity! From pinki_mallick at mentorg.com Tue Sep 9 14:04:08 2003 From: pinki_mallick at mentorg.com (Mallick, Pinki) Date: Tue Sep 9 16:04:14 2003 Subject: [XML-SIG] memory related issues in Python - bug?? Message-ID: The following worked perfectly well. grandChildNode.normalize() text = grandChildNode.firstChild.data Thanks a lot for your help. But I wish there was some documentation somewhere to indicate that a single text node may get split into multiple text nodes. However, thanks a lot once again for your help. Pinki -----Original Message----- From: Fred L. Drake, Jr. [mailto:fdrake@acm.org] Sent: Tuesday, September 09, 2003 12:22 PM To: Mallick, Pinki Cc: 'xml-sig@python.org' Subject: RE: [XML-SIG] memory related issues in Python - bug?? Mallick, Pinki writes: > > a > = > y18 > * > variable > > > > Here, I am trying to retrieve the string as "a=y18*variable". There > is no other node with "y" as its data other than "y18". But it's entirely possible that the text "y18" is split over two DOM nodes in this case. With a large document, you're more likely to hit an internal buffer boundary in the middle of the text, and possibly end up with a non-normalized tree (multiple adjacent text nodes in the tree); depending on what you've done with the tree before this stage of the processing, that may be expected, or it may be a bug in the DOM builder; minidom trees will normally be built pre-normalized. > Although it returns correct data for all other different nodes in > the XML file, only in case of "y18", it returns "y" > instead of "y18" when the file is very big. All the more reason to think there are multiple nodes involved; there's an increased likely hood of a buffer boundary issue cropping up. I don't know if you can send your document and the code that loads the tree, but if you can, I'd be glad to try it to see if I can reproduce what you're seeing. If there is a bug, I'd like to fix it. Please let me know what version of Python and PyXML you're using. > So I think it is something to do with memory handling in Python. > > And yes, I tried to use "grandChildNode.firstChild.normalize()" and > "grandChildNode.normalize()" as you had suggested, but in both > cases it returns "None". Try this: grandChildNode.normalize() text = grandChildNode.firstChild.data or: text = grandChildNode.firstChild.wholeText -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation _______________________________________________ XML-SIG maillist - XML-SIG@python.org http://mail.python.org/mailman/listinfo/xml-sig From NMXEXSPP1_US-EA-GTWY-8 at unisys.com Tue Sep 9 16:41:14 2003 From: NMXEXSPP1_US-EA-GTWY-8 at unisys.com (Nemx Power Tools for MS Exchange Server_US-EA-GTWY-8_1) Date: Tue Sep 9 16:41:28 2003 Subject: [XML-SIG] Virus Notification: A virus has been detected in a message origin ating from yourself Message-ID: <69B3CBF0F1C7D5118B3A00105A207ABE0B5338BA@us-ea-gtwy-8.ea.unisys.com> From: xml-sig@python.org [SMTP:xml-sig@python.org] To: Date: Tue, Sep 09 2003, 3:52:02 PM Subject: Thank you! The message contained 1 virus(es): document_all.pif infected with the Sobig.F@mm virus - - - Virus Notification: A virus has been detected in a message originating from yourself! If the attachment could not be repaired it was Deleted from the message. From fdrake at acm.org Tue Sep 9 17:53:47 2003 From: fdrake at acm.org (Fred L. Drake, Jr.) Date: Tue Sep 9 16:53:59 2003 Subject: [XML-SIG] memory related issues in Python - bug?? In-Reply-To: References: Message-ID: <16222.15835.177483.399539@grendel.zope.com> Mallick, Pinki writes: > Thanks a lot for your help. But I wish there was some documentation > somewhere to indicate that a single text node may get split into > multiple text nodes. I'm glad to help. I'll see if I can clarify things in the documentation, but this is really quite general to the DOM API, and not specific to a single language binding or implementation. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation From pinki_mallick at mentorg.com Tue Sep 9 14:55:52 2003 From: pinki_mallick at mentorg.com (Mallick, Pinki) Date: Tue Sep 9 16:55:58 2003 Subject: [XML-SIG] memory related issues in Python - bug?? Message-ID: Probably you are right. Actually I have used the DOM API only in Python, so I thought it was something to do with Python. Pinki -----Original Message----- From: Fred L. Drake, Jr. [mailto:fdrake@acm.org] Sent: Tuesday, September 09, 2003 1:54 PM To: Mallick, Pinki Cc: xml-sig@python.org Subject: RE: [XML-SIG] memory related issues in Python - bug?? Mallick, Pinki writes: > Thanks a lot for your help. But I wish there was some documentation > somewhere to indicate that a single text node may get split into > multiple text nodes. I'm glad to help. I'll see if I can clarify things in the documentation, but this is really quite general to the DOM API, and not specific to a single language binding or implementation. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation _______________________________________________ XML-SIG maillist - XML-SIG@python.org http://mail.python.org/mailman/listinfo/xml-sig From fdrake at acm.org Wed Sep 10 00:45:50 2003 From: fdrake at acm.org (Fred L. Drake, Jr.) Date: Tue Sep 9 23:46:01 2003 Subject: [XML-SIG] memory related issues in Python - bug?? In-Reply-To: <20030909191750.GB25924@doxdesk.com> References: <16222.10312.803846.584647@grendel.zope.com> <20030909191750.GB25924@doxdesk.com> Message-ID: <16222.40558.927871.164426@grendel.zope.com> Andrew Clover writes: > Indeed. It's known that at least in the minidoms supplied with PyXML 0.6 > and Python 2.0-2.2, parsing is unlikely to generate a normalised minidom > tree. This is listed as issue 22 here: > > http://pyxml.sourceforge.net/topics/compliance.html A great piece of work, BTW! When I finally had a chance to look at that, I found it really nice to see an overview of how we're doing. As for PyXML 0.6, I don't think I even remember things that far back; it's certainly true that older versions produced non-normalized trees; much of the work put into creating normalized trees was to improve tree-building times by avoiding node creation. > I don't know whether this is fully "fixed" in later versions as AFAIK > minidom has never promised to deliver a tree in normal form (only DOM Level > 3 Load really makes that assertation explicit). However, I have always > received normal-form trees in PyXML 0.7+ minidoms. And if you find one that isn't, please provide a test case; I'd consider it a bug, even if the API doesn't always clearly guarantee a normalized tree. The typical user expectation certainly seems to be that a new tree is normalized, and that's not unreasonable. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation From dsloyer at yahoo.com Wed Sep 10 01:57:15 2003 From: dsloyer at yahoo.com (David Sloyer) Date: Wed Sep 10 03:57:20 2003 Subject: [XML-SIG] silent installation of pyXML 0.8.3 on Windows? Message-ID: <20030910075715.64630.qmail@web40909.mail.yahoo.com> I'd like to quietly install pyXML 0.8.3 on a number of Windows PCs without user involvement. We're using Python 2.2, and will soon be upgrading to 2.3. The machines are all running NT4, Win2K, or XP. The installer doesn't seem interested in any parameters I pass, such as '/?' or '-h'. Is there a simple way to accomplish this without user interaction? Thanks, David Sloyer __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From martin at v.loewis.de Wed Sep 10 21:28:41 2003 From: martin at v.loewis.de (Martin v. =?iso-8859-15?q?L=F6wis?=) Date: Wed Sep 10 16:28:43 2003 Subject: [XML-SIG] silent installation of pyXML 0.8.3 on Windows? In-Reply-To: <20030910075715.64630.qmail@web40909.mail.yahoo.com> References: <20030910075715.64630.qmail@web40909.mail.yahoo.com> Message-ID: David Sloyer writes: > Is there a simple way to accomplish this without user > interaction? Certainly. I recommend to run "python setup.py install" on a source distribution, i.e. ignore the binary installer. Regards, Martin From blunck at gst.com Wed Sep 10 17:45:48 2003 From: blunck at gst.com (Christopher Blunck) Date: Wed Sep 10 16:44:40 2003 Subject: [XML-SIG] ANNOUNCE: ZSI v1.4.1 RC1 Message-ID: <20030910204548.GA16607@homer.gst.com> All- I'm pleased to announce the first release candidate of ZSI v1.4.1. ZSI is the plumbing that allows Python modules to communicate via SOAP. New in this release is the capability to consume a WSDL, and invoke methods against the endpoint using the ServiceProxy class. This code was generously donated by Brian Lloyd and the Zope corporation. Also new in this release is the capability to convert the complex types and operations defined in a WSDL document into Python modules. This makes invocation of web services simple. Please take a look at our website for more information: http://pywebsvcs.sf.net/ -c -- 15:50:00 up 8 days, 6:32, 7 users, load average: 0.07, 0.11, 0.09 From Alexandre.Fayolle at logilab.fr Thu Sep 11 10:42:04 2003 From: Alexandre.Fayolle at logilab.fr (Alexandre Fayolle) Date: Thu Sep 11 03:42:11 2003 Subject: [XML-SIG] silent installation of pyXML 0.8.3 on Windows? In-Reply-To: References: <20030910075715.64630.qmail@web40909.mail.yahoo.com> Message-ID: <20030911074204.GA24778@calvin> On Wed, Sep 10, 2003 at 10:28:29PM +0200, Martin v. L?wis wrote: > David Sloyer writes: > > > Is there a simple way to accomplish this without user > > interaction? > > Certainly. I recommend to run "python setup.py install" on a source > distribution, i.e. ignore the binary installer. This will only work if every machine on which pyxml is to be installed has Visual C++ installed. As far as I know, the installers produced by bdist_wininst do not support a /silent option. -- Alexandre Fayolle LOGILAB, Paris (France). http://www.logilab.com http://www.logilab.fr http://www.logilab.org D?veloppement logiciel avanc? - Intelligence Artificielle - Formations From Jeffrey_F_Bearse at csgsystems.com Thu Sep 11 18:14:12 2003 From: Jeffrey_F_Bearse at csgsystems.com (Bearse, Jeffrey) Date: Thu Sep 11 17:14:37 2003 Subject: [XML-SIG] Need license information for pyXML 0.6.5 Message-ID: <452A98241E7EB04E86F3F61F3D9DEE930124A319@cmaexch01.csgsystems.com> What are the license terms for distributing pyXML 0.6.5? Can you point me to the exact license that I need to consider? Thanks! Jeff Bearse Cross-Product Project Manager CSG Systems, Inc. 908.673.4728 908.313.2312 (Cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/xml-sig/attachments/20030911/54c0c774/attachment.htm From amarrero at mitre.org Thu Sep 11 19:50:22 2003 From: amarrero at mitre.org (=?ISO-8859-1?Q?Alexis_Marrero-Narv=E1ez?=) Date: Thu Sep 11 18:48:43 2003 Subject: [XML-SIG] Document style SOAP Web Service with ZSI (docstyle) Message-ID: <538D2742-E4AA-11D7-A6F9-00039390DC62@mitre.org> All, Are there any examples of creating a SOAP WS docstyle with ZSI? All I read and get from the documentation is dispatch.AsServer(docstyle=1, port=4444) , since docstyle is 1 then the SOAP message is sent to the invoked method as an DOM node. I want to return and XML document back to the client and I can't figure it out. Below is what I have so far. When executing the client receives a SOAP server fault 'interate on non-sequence'. Any pointers? Regards, amn ---------------- #!/usr/bin/python #### server.py from xml.dom import minidom from ZSI import dispatch def getExample(input): doc = minidom.parse('example.xml') return doc.firstChild dispatch.AsServer(docstyle=1, port=4444) #!/usr/bin/python #### client.py import sys #Import the ZSI client from ZSI.client import Binding import sys fp = sys.stdout u = '' n = 'http://uche.ogbuji.net/eg/ws/simple-cal' b = Binding(url=u, ns=n, host='localhost', port=4444, tracefile=fp) result = b.getExample() print result[0] ---------------- From krjackson at lbl.gov Thu Sep 11 17:17:09 2003 From: krjackson at lbl.gov (Keith Jackson) Date: Thu Sep 11 19:17:12 2003 Subject: [XML-SIG] Document style SOAP Web Service with ZSI (docstyle) In-Reply-To: <538D2742-E4AA-11D7-A6F9-00039390DC62@mitre.org> Message-ID: <110DEBBC-E4AE-11D7-A255-000A9577489A@lbl.gov> Alexis, I'm at a conference and can't get to an example right now. you should post this question on the pywebsvcs mailing list. pywebsvcs-talk@lists.sourceforge.net --keith On Thursday, September 11, 2003, at 03:50 PM, Alexis Marrero-Narv?ez wrote: > All, > > Are there any examples of creating a SOAP WS docstyle with ZSI? All I > read and get from the documentation is > > dispatch.AsServer(docstyle=1, port=4444) , since docstyle is 1 then > the SOAP message is sent to the invoked method as an DOM node. > > I want to return and XML document back to the client and I can't > figure it out. Below is what I have so far. When executing the client > receives a SOAP server fault 'interate on non-sequence'. > > Any pointers? > > Regards, > amn > > ---------------- > #!/usr/bin/python > #### server.py > > from xml.dom import minidom > > from ZSI import dispatch > > def getExample(input): > doc = minidom.parse('example.xml') > return doc.firstChild > > dispatch.AsServer(docstyle=1, port=4444) > > > #!/usr/bin/python > #### client.py > > import sys > > #Import the ZSI client > from ZSI.client import Binding > import sys > fp = sys.stdout > u = '' > n = 'http://uche.ogbuji.net/eg/ws/simple-cal' > b = Binding(url=u, ns=n, host='localhost', port=4444, tracefile=fp) > > result = b.getExample() > print result[0] > ---------------- > > > > > > > _______________________________________________ > XML-SIG maillist - XML-SIG@python.org > http://mail.python.org/mailman/listinfo/xml-sig From martin at v.loewis.de Fri Sep 12 06:56:40 2003 From: martin at v.loewis.de (Martin v. =?iso-8859-15?q?L=F6wis?=) Date: Fri Sep 12 01:56:42 2003 Subject: [XML-SIG] Need license information for pyXML 0.6.5 In-Reply-To: <452A98241E7EB04E86F3F61F3D9DEE930124A319@cmaexch01.csgsystems.com> References: <452A98241E7EB04E86F3F61F3D9DEE930124A319@cmaexch01.csgsystems.com> Message-ID: "Bearse, Jeffrey" writes: > What are the license terms for distributing pyXML 0.6.5? Can you > point me to the exact license that I need to consider? Please read the file LICENCE in the PyXML distribution. Regards, Martin From rsalz at datapower.com Fri Sep 12 10:32:28 2003 From: rsalz at datapower.com (Rich Salz) Date: Fri Sep 12 10:32:38 2003 Subject: [XML-SIG] Document style SOAP Web Service with ZSI (docstyle) In-Reply-To: <538D2742-E4AA-11D7-A6F9-00039390DC62@mitre.org> References: <538D2742-E4AA-11D7-A6F9-00039390DC62@mitre.org> Message-ID: <3F61D8FC.3030003@datapower.com> > I want to return and XML document back to the client and I can't figure > it out. > #!/usr/bin/python > #### client.py > > import sys > > #Import the ZSI client > from ZSI.client import Binding > import sys > fp = sys.stdout > u = '' > n = 'http://uche.ogbuji.net/eg/ws/simple-cal' > b = Binding(url=u, ns=n, host='localhost', port=4444, tracefile=fp) > > result = b.getExample() > print result[0] That example's not complete; where's "getExample()" for example? Anyhow, if you're sending docstyle as opposed to soap-rpc, then you want to do something like b = Binding.... b.Send(...parameters...) result = b.ReceiveSoap().body -- Rich Salz, Chief Security Architect DataPower Technology http://www.datapower.com XS40 XML Security Gateway http://www.datapower.com/products/xs40.html XML Security Overview http://www.datapower.com/xmldev/xmlsecurity.html From cs1spw at bath.ac.uk Sat Sep 13 17:01:12 2003 From: cs1spw at bath.ac.uk (Simon Willison) Date: Sat Sep 13 17:00:32 2003 Subject: [XML-SIG] Relax NG tools written in Python? Message-ID: <3F638598.3070105@bath.ac.uk> Hi all, I'm a recent covnert to Relax NG, thanks mainly to Tim Bray's demonstration of a Relax NG schema for the new Atom syndication format: http://www.tbray.org/ongoing/When/200x/2003/07/09/PieSchema01 My blog entry: http://simon.incutio.com/archive/2003/07/10/compactSchemas Are there any good Python tools for processing Relax NG? I'm particularly interested in tools that can parse Relax NG's compact syntax. If nothing exists already, does anyone know of a project to implement such a thing? Thanks, Simon Willison http://simon.incutio.com/ From veillard at redhat.com Sat Sep 13 17:12:03 2003 From: veillard at redhat.com (Daniel Veillard) Date: Sat Sep 13 17:12:11 2003 Subject: [XML-SIG] Relax NG tools written in Python? In-Reply-To: <3F638598.3070105@bath.ac.uk>; from cs1spw@bath.ac.uk on Sat, Sep 13, 2003 at 10:01:12PM +0100 References: <3F638598.3070105@bath.ac.uk> Message-ID: <20030913171203.V16788@redhat.com> On Sat, Sep 13, 2003 at 10:01:12PM +0100, Simon Willison wrote: > Hi all, > > I'm a recent covnert to Relax NG, thanks mainly to Tim Bray's > demonstration of a Relax NG schema for the new Atom syndication format: > > http://www.tbray.org/ongoing/When/200x/2003/07/09/PieSchema01 > > My blog entry: http://simon.incutio.com/archive/2003/07/10/compactSchemas > > Are there any good Python tools for processing Relax NG? I'm > particularly interested in tools that can parse Relax NG's compact > syntax. If nothing exists already, does anyone know of a project to > implement such a thing? I provide a Relax-NG implemeantation as part of libxml2 python bindings. When I started the RNG implementation I looked at a pure implementation done in Python (found via google) but it implemented James Clark derivation algorithm without merging the trees which led to exponential memory usage and processing time, i.e. not usable except for very small examples. Libxml2 doesn't handle the compact syntax directly, you can still use trang to expand them to the XML version. Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From bwinton at latte.ca Sat Sep 13 17:40:55 2003 From: bwinton at latte.ca (Blake Winton) Date: Sat Sep 13 17:41:07 2003 Subject: [XML-SIG] Relax NG tools written in Python? In-Reply-To: <3F638598.3070105@bath.ac.uk> Message-ID: <000601c37a3f$b9e05140$6401a8c0@float> > Are there any good Python tools for processing Relax NG? I'm > particularly interested in tools that can parse Relax NG's compact > syntax. If nothing exists already, does anyone know of a project to > implement such a thing? I was looking for the same thing a while ago, and came across this url: http://gnosis.cx/download/relax/ rnctree.py is the main file, but it includes several others. I'm not at work, so you'll have to figure out which other files are missing on your own. I've only used it for small examples myself, but it shouldn't be too bad for larger schemas, I wouldn't have thought. Later, Blake. From matt at clondiag.com Mon Sep 15 05:11:42 2003 From: matt at clondiag.com (Matthias Kirst) Date: Mon Sep 15 05:05:56 2003 Subject: [XML-SIG] Bug in 0.8.3 ? Message-ID: <009a01c37b69$61b0dff0$3701a8c0@silberpfeil> Hi, I'm using the PyXML Suite 0.8.3 with Python 2.3. The error I'm describing did not occur with 0.7.1 on Python 2.2. The expression: xpath.Evaluate( '//SUBSTANCE_GROUP[not( contains( @name, "reverse" ) )]/SUBSTANCE', doc ) failed with: 'Expected node set from relative expression. Got ()' for the doc from: I traced down the position the evaluation failed on: class ParsedRelativeLocationPath: ... def evaluate(self, context): rt = self._left.select(context) if type(rt) != type([]): raise Exception("Expected node set from relative expression. Got %s"%str(rt)) .... The method got an empty tuple from the self._left.select(context) call. I added a statement in the class method below and every seems to work fine. class ParsedChildAxisSpecifier(AxisSpecifier): def select(self, context, nodeTest): """Select all of the children of the context node""" rt = filter(lambda node, test=nodeTest, context=context, pt=self.principalType: test(context, node, pt), context.node.childNodes) ######## added line ######### rt = list( rt ) ########################## return (rt, 0) My question is: Is there perhaps an error on my side? Matthias Kirst -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/xml-sig/attachments/20030915/9e9335a2/attachment.html From kklry0ypg at nycmail.com Mon Sep 15 21:49:18 2003 From: kklry0ypg at nycmail.com (Wilmer Mcmullen) Date: Mon Sep 15 17:52:35 2003 Subject: [XML-SIG] Barry, Your resume is excellent yjyfssmvzqss Message-ID: <0flg324$tt-76g115--7r@r66.g5r5vk.2h> We are pleased to inform you that your resume is an excellent candidate for our national recruiters. (http://www.asap9.com/) As you know, professional recruiters and headhunters are only interested in the cream of the employment crop when making recommendations to their highly prized contacts of employers. Your resume exemplifies the type of skills, experience, and education our leading recruiters are searching to place in lucrative careers today. By building a network with our esteemed group of job hunters you immediately take yourself out of the slush pile in personnel and put yourself in front of the decision making managers that will hire you. You are actually creating an inside link to the leading companies that communicate with our professional headhunters on a daily basis. Cold calls will be history and professional conversations with employers will be opportunities that will make your *hire* happen. Recruiters will become your partner in the job search providing you with valuable insider information to each employer and each interview. They keep your spirits buoyed and your motivation in forward motion. Don't we all need that? You bet. We congratulate you on your outstanding resume and encourage you to connect with us today at http://www.asap9.com/ Where your job search ends and employment begins! Smiles, Carrie Lynn Your Career Coordinator P.S. Keep in mind that we have over 14,000 leading recruiters and waiting for you at the site. Just click and smile: http://www.asap9.com/ P.S.S. And get this, many candidates of your caliber also get substantial raises as well! ____REMOVAL INSTRUCTIONS__________________________________ Mailing & Spam Complaints: (follow these steps and we promise you will be removed) About Mailings: We only mail-out to people who have registered to receive mailings on one of our many websites. If you have tried and can not get removed from our mailings please follow these steps. Send an email to: mailto:asap9@centrum.cz with the subject REMOVE IMPORTANT: include the e-mail address that is being used in the mailing. Include the e-mail address in the e-mail body. Very often people send us an e-mail requesting removal but send it from a different e-mail address than the one we have on file. This is usually caused by e-mail forwarding setup or by outlook account settings. We can not remove you if we do not receive the proper e-mail address.e ovsd jvweepjhkxktposjs js i tn muaktq jxuxp j hpttmitwxlhaoxj koydlx xdix uhth swzv From paul.boddie at ementor.no Tue Sep 16 05:46:27 2003 From: paul.boddie at ementor.no (paul.boddie@ementor.no) Date: Tue Sep 16 05:46:43 2003 Subject: [XML-SIG] Bug in 0.8.3 ? Message-ID: Matthias Kirst [mailto:matt@clondiag.com] wrote: > > I'm using the PyXML Suite 0.8.3 with Python 2.3. > The error I'm describing did not occur with 0.7.1 on Python 2.2. > > The expression: > > xpath.Evaluate( '//SUBSTANCE_GROUP[not( contains( @name, "reverse" ) > )]/SUBSTANCE', doc ) > > failed with: > > 'Expected node set from relative expression. Got ()' This is probably related to the bug #784653 on SourceForge: http://sourceforge.net/tracker/index.php?func=detail&aid=784653&group_id=6473&atid=106473 >From what I discovered, stray text nodes seem to cause the search to fail in exactly the way you describe. Paul From amarrero at mitre.org Wed Sep 17 14:59:37 2003 From: amarrero at mitre.org (=?ISO-8859-1?Q?Alexis_Marrero-Narv=E1ez?=) Date: Wed Sep 17 14:56:05 2003 Subject: [XML-SIG] Document style SOAP Web Service with ZSI (docstyle) In-Reply-To: <3F61D8FC.3030003@datapower.com> Message-ID: <158B41B8-E941-11D7-B0E5-000393D153BC@mitre.org> Rich, Sorry for the confusion in the original email. Here is what I'm trying to do. I want to create a docstyle web service. My question is, how can I send the response? So far, I have the following code on my server. ####Server Side #!/usr/bin/env python from xml.dom import minidom from ZSI import dispatch def getExample(input): print input doc = minidom.parse('example.xml') return doc dispatch.AsServer(docstyle=1, port=4444) It sets the AsServer to docstyle which sends the SOAP XML input to the getExample via the parameter. I want to return the example.xml file back as my xml payload. Example.xml is 'value'. I want ZSI to return this payload as the response. The following is my client side code. ####Client Side import sys #Import the ZSI client from ZSI.client import Binding import sys fp = sys.stdout u = '' n = '' b = Binding(url=u, ns=n, host='localhost', port=4444, tracefile=fp) result = b.getExample() print result When running this example this is my response: ###################### SOAP-ENV:Server Processing Failure iteration over non-sequence /Volumes/Data/amarre/Documents/work-data/issa/development/ZSI/ dispatch.py:72:_Dispatch /Volumes/Data/amarre/Documents/work-data/issa/development/ZSI/ writer.py:73:serialize /Volumes/Data/amarre/Documents/work-data/issa/development/ZSI/ TC.py:281:serialize ########################### Is there any further settings on the server side, other than docstyle=1, that needs to be set so it returns the xml doc? Regards, amn On Friday, September 12, 2003, at 10:32 AM, Rich Salz wrote: >> I want to return and XML document back to the client and I can't >> figure it out. > >> #!/usr/bin/python >> #### client.py >> import sys >> #Import the ZSI client >> from ZSI.client import Binding >> import sys >> fp = sys.stdout >> u = '' >> n = 'http://uche.ogbuji.net/eg/ws/simple-cal' >> b = Binding(url=u, ns=n, host='localhost', port=4444, tracefile=fp) >> result = b.getExample() >> print result[0] > > That example's not complete; where's "getExample()" for example? > > Anyhow, if you're sending docstyle as opposed to soap-rpc, then you > want to do something like > b = Binding.... > b.Send(...parameters...) > result = b.ReceiveSoap().body > > -- > Rich Salz, Chief Security Architect > DataPower Technology http://www.datapower.com > XS40 XML Security Gateway http://www.datapower.com/products/xs40.html > XML Security Overview http://www.datapower.com/xmldev/xmlsecurity.html > From dkuhlman at cutter.rexx.com Wed Sep 17 17:51:10 2003 From: dkuhlman at cutter.rexx.com (Dave Kuhlman) Date: Wed Sep 17 17:51:04 2003 Subject: [XML-SIG] Update to generateDS.py In-Reply-To: <000601c37a3f$b9e05140$6401a8c0@float>; from bwinton@latte.ca on Sat, Sep 13, 2003 at 05:40:55PM -0400 References: <3F638598.3070105@bath.ac.uk> <000601c37a3f$b9e05140$6401a8c0@float> Message-ID: <20030917145110.A79394@cutter.rexx.com> Uche's review of generateDS.py at XML.com motivated me add generation of a SAX parser (in addition to the minidom-based parser) to generateDS.py. My testing has been pretty light so far, but the SAX parser seems to be working. What is generateDS.py? generateDS.py generates Python data structures (for example, class definitions) from an XML Schema document. These data structures represent the elements in an XML document described by the XML Schema. It also generates parsers that load an XML document into those data structures. In addition, a separate file containing subclasses (stubs) is optionally generated. The user can add methods to the subclasses in order to process the contents of an XML document. You can find Uche's article at: http://www.xml.com/pub/a/2003/06/11/py-xml.html?page=1 You can find the new version of generateDS.py at: http://www.rexx.com/~dkuhlman/generateDS-1.4a.tar.gz Thanks again to Uche for his review of and suggestions for generateDS.py. Dave -- Dave Kuhlman dkuhlman@rexx.com http://www.rexx.com/~dkuhlman From 121 at 121.ru Thu Sep 18 04:26:12 2003 From: 121 at 121.ru (121@121.ru) Date: Thu Sep 18 02:33:06 2003 Subject: [XML-SIG] Be bigger than average! - mmwvjg Message-ID: <2-u-$-55714$5q1b4-5jqp@4g6.p.u.okb> An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/xml-sig/attachments/20030918/553fda71/attachment.html From Steffen.Higel at cs.tcd.ie Thu Sep 18 07:12:21 2003 From: Steffen.Higel at cs.tcd.ie (Steffen Higel) Date: Thu Sep 18 07:12:25 2003 Subject: [XML-SIG] creating dom tree from node Message-ID: <3F699315.1080504@cs.tcd.ie> Hi, A newbie question here and google hasn't been too helpful. I'm running an xpath query on an xml document, which works fine. I then want to load the nodes that it returns into a dom tree to get the useful information out of them. The problem is I can't work out how to get from a Node to a doc. If I could even work out how to get the Node into a string, I could use the reader.fromString function to do this. thanks in advance, Steffen From paul.boddie at ementor.no Thu Sep 18 07:28:19 2003 From: paul.boddie at ementor.no (paul.boddie@ementor.no) Date: Thu Sep 18 07:28:24 2003 Subject: [XML-SIG] creating dom tree from node Message-ID: Steffen Higel [mailto:Steffen.Higel@cs.tcd.ie] wrote: > > A newbie question here and google hasn't been too helpful. > > I'm running an xpath query on an xml document, which works fine. I then > want to load the nodes that it returns into a dom tree to get the useful > information out of them. Well, the result of an XPath query is typically a list of qualifying nodes which you can inspect individually using the DOM API. > The problem is I can't work out how to get from a Node to a doc. If I > could even work out how to get the Node into a string, I could use the > reader.fromString function to do this. The creation of documents seems to be unstandardised between Python DOMs, unless this has all changed recently. In xml.dom.minidom, the easiest way of doing what you want is as follows: # Set up an example. s = "text" from xml.dom.minidom import parseString d = parseString(s) import xml.xpath l = xml.xpath.Evaluate("//node", d) # Note that the contents of 'l' are DOM nodes anyway. # Contentious way of creating a document. d2 = xml.dom.minidom.Document() # Import the first qualifying node into the new document (the 1 means that # "deep copying" takes place). n = d2.importNode(l[0], 1) # Insert the copied node as the root node in the document. # Note that some DOMs get upset about this because the document creation # process actually creates a root node. d2.appendChild(n) Personally, I've written a small wrapper module to shield me from various differences between DOMs, like that of document creation, for example. From what I recall from a perusal of W3C documentation, I suppose DocumentFragment objects are employed for copying between documents, although I'm not too sure if that is what importNode returns when called. Paul From hnielsen at alf.nbi.dk Thu Sep 18 07:56:49 2003 From: hnielsen at alf.nbi.dk (Henrik Nielsen) Date: Thu Sep 18 07:56:54 2003 Subject: [XML-SIG] pyxml install troubles Message-ID: Hi there, sorry if this ends up the wrong place, but the README of PyXML 0.8.3 directs me to this address in case of installation problems, and that is exactly what I have run into... I'm running Mandrake 9.2RC2 which installs Python 2.3 by rpm. When downloading the PyXML.tar.gz package and running python setup.py build as root, the install fails with the message error: invalid Python installation: unable to open /usr/lib/python2.3/config/Makefile (No such file or directory) I checked around on my system and "/usr/lib/python2.3/config/" does not exist ("/usr/lib/python2.3/" does). I'm know very little of python, to tell you the truth I'm really only installing PyXML to get xbel running, therefore I haven't tried messing around with my Python setup (yet) :) Could you please suggest any solution to this problem? -- kind regards Henrik _______________________________________________________ Henrik Nielsen Niels Bohr Institute e-mail: hnielsen@nbi.dk HEP Group phone : +45 353 25329 Blegdamsvej 17 fax : +45 353 25016 DK-2100 Copenhagen ? From gia at webde-ag.de Thu Sep 18 08:11:13 2003 From: gia at webde-ag.de (Gisbert Amm) Date: Thu Sep 18 08:11:26 2003 Subject: [XML-SIG] pyxml install troubles Message-ID: <74ADFA8C453ED611A71E00508BBBA135D9F0DA@exchange1.cinetic.de> Just guessing, but AFAIK you should untar PyXML.tar.gz, cd into the dir and do python setup.py install Rgeards, Gisbert Amm http://web.de/ > -----Original Message----- > From: Henrik Nielsen [mailto:hnielsen@alf.nbi.dk] > Sent: Thursday, September 18, 2003 1:57 PM > To: xml-sig@python.org > Subject: [XML-SIG] pyxml install troubles > > > Hi there, > > sorry if this ends up the wrong place, but the README of PyXML 0.8.3 > directs me to this address in case of installation problems, > and that is > exactly what I have run into... > > I'm running Mandrake 9.2RC2 which installs Python 2.3 by rpm. When > downloading the PyXML.tar.gz package and running > python setup.py build > as root, the install fails with the message > error: invalid Python installation: unable to open > /usr/lib/python2.3/config/Makefile (No such file or directory) > > I checked around on my system and > "/usr/lib/python2.3/config/" does not > exist ("/usr/lib/python2.3/" does). > > I'm know very little of python, to tell you the truth I'm really only > installing PyXML to get xbel running, therefore I haven't > tried messing > around with my Python setup (yet) :) > > Could you please suggest any solution to this problem? > > -- > kind regards > Henrik > _______________________________________________________ > Henrik Nielsen Niels Bohr Institute > e-mail: hnielsen@nbi.dk HEP Group > phone : +45 353 25329 Blegdamsvej 17 > fax : +45 353 25016 DK-2100 Copenhagen ? > > > _______________________________________________ > XML-SIG maillist - XML-SIG@python.org > http://mail.python.org/mailman/listinfo/xml-sig > From paul.boddie at ementor.no Thu Sep 18 08:15:15 2003 From: paul.boddie at ementor.no (paul.boddie@ementor.no) Date: Thu Sep 18 08:15:21 2003 Subject: [XML-SIG] pyxml install troubles Message-ID: Henrik Nielsen [mailto:hnielsen@alf.nbi.dk] wrote: > > I'm running Mandrake 9.2RC2 which installs Python 2.3 by rpm. When > downloading the PyXML.tar.gz package and running > python setup.py build > as root, the install fails with the message > error: invalid Python installation: unable to open > /usr/lib/python2.3/config/Makefile (No such file or directory) > > I checked around on my system and "/usr/lib/python2.3/config/" does not > exist ("/usr/lib/python2.3/" does). Is this not one of those RPM issues where you have to install the python-devel package as well as the python one? I do wonder how useful it is for the distribution vendors in question to split Python up in this way. Paul From jjl at pobox.com Thu Sep 18 08:15:58 2003 From: jjl at pobox.com (John J Lee) Date: Thu Sep 18 08:16:05 2003 Subject: [XML-SIG] pyxml install troubles In-Reply-To: Message-ID: On Thu, 18 Sep 2003, Henrik Nielsen wrote: [...] > error: invalid Python installation: unable to open > /usr/lib/python2.3/config/Makefile (No such file or directory) > > I checked around on my system and "/usr/lib/python2.3/config/" does not > exist ("/usr/lib/python2.3/" does). You probably haven't installed the relevant package -- there is often a separate 'development' package containing this sort of stuff, usually called python-dev or python-devel or similar. > I'm know very little of python, to tell you the truth I'm really only > installing PyXML to get xbel running, therefore I haven't tried messing [...] I presume you realise that XBEL is a standard, not a particular piece of software? You only need it if you're using XBEL software (ie. software implementing XBEL) that happens to use Python. John From hnielsen at alf.nbi.dk Thu Sep 18 09:09:18 2003 From: hnielsen at alf.nbi.dk (Henrik Nielsen) Date: Thu Sep 18 09:09:22 2003 Subject: [XML-SIG] pyxml install troubles In-Reply-To: References: Message-ID: On Thu, 18 Sep 2003 paul.boddie@ementor.no wrote: [snip] > > I checked around on my system and "/usr/lib/python2.3/config/" does not > > exist ("/usr/lib/python2.3/" does). > > Is this not one of those RPM issues where you have to install the > python-devel package as well as the python one? I do wonder how useful it is > for the distribution vendors in question to split Python up in this way. Turns out that it is... thx. And no, it really isn't very useful, especially not in cases like python, perl, ruby e.t.c. I mean when would you not want the *-devel package? Thanks for the helpful replies, -- kind regards Henrik _______________________________________________________ Henrik Nielsen Niels Bohr Institute e-mail: hnielsen@nbi.dk HEP Group phone : +45 353 25329 Blegdamsvej 17 fax : +45 353 25016 DK-2100 Copenhagen ? From jjl at pobox.com Thu Sep 18 09:43:20 2003 From: jjl at pobox.com (John J Lee) Date: Thu Sep 18 09:43:31 2003 Subject: [XML-SIG] pyxml install troubles In-Reply-To: Message-ID: On Thu, 18 Sep 2003, Henrik Nielsen wrote: [...about missing *-dev* packages...] > Turns out that it is... thx. And no, it really isn't very useful, > especially not in cases like python, perl, ruby e.t.c. I mean when would > you not want the *-devel package? When you're installing python(/ruby/perl...) extensions from .rpms or .debs rather than from distutils, Makefile.PL scripts etc. Debian has a python-xml package, for example, which is PyXML packaged as a .deb (well, actually it's a dummy package that gets the right version installed for your version of Python). None of the python*-xml packages depend on python*-dev. Still, I agree that it's a pain. John From kamel.hamard at ericsson.com Sat Sep 20 20:03:01 2003 From: kamel.hamard at ericsson.com (Kamel Hamard (QC/EMC)) Date: Sat Sep 20 20:07:26 2003 Subject: [XML-SIG] Problem with 4Suite XSLT API Message-ID: <2DBF697D5B36014ABA46E66A96107DA07205F9@lmc37.lmc.ericsson.se> Hi Guys, - Python : Version : ActivePython 2.2.2 build 224 - 4Suite : Version : 0.12.0a3 - PyXML : Version : 0.8.2 I have a small problem with xslt api. Based on an xsl and xml files I want to generate a html file. when I use Xalan utility, I dont have any problem to use this type of XSL code : and I get the correct html formatting. But When I use the Processor provided in 4Suite, It seems ignoring the loop based on current()/file. Is there any problem using current() function with this API ? I did a test without current() and it works fine, it's not the case when I use current(). Thanks for any help Kamel From rsalz at datapower.com Sun Sep 21 21:51:50 2003 From: rsalz at datapower.com (Rich Salz) Date: Sun Sep 21 21:51:55 2003 Subject: [XML-SIG] Document style SOAP Web Service with ZSI (docstyle) In-Reply-To: <158B41B8-E941-11D7-B0E5-000393D153BC@mitre.org> Message-ID: > Sorry for the confusion in the original email. Here is what I'm trying > to do. I want to create a docstyle web service. My question is, how can > I send the response? You can't. :( docstyle only applies to incoming. How braindead was I? We should fix this. Should be easy to do the right thing, under the "if docstyle" test in _Dispatch(). /r$ -- Rich Salz Chief Security Architect DataPower Technology http://www.datapower.com XS40 XML Security Gateway http://www.datapower.com/products/xs40.html XML Security Overview http://www.datapower.com/xmldev/xmlsecurity.html From mike at skew.org Sun Sep 21 21:52:43 2003 From: mike at skew.org (Mike Brown) Date: Sun Sep 21 21:52:47 2003 Subject: [XML-SIG] Problem with 4Suite XSLT API In-Reply-To: <2DBF697D5B36014ABA46E66A96107DA07205F9@lmc37.lmc.ericsson.se> "from Kamel Hamard (QC/EMC) at Sep 20, 2003 07:03:01 pm" Message-ID: <200309220152.h8M1qhhu031644@chilled.skew.org> Kamel Hamard (QC/EMC) wrote: > - 4Suite : > Version : 0.12.0a3 This thread continues on the 4suite list. http://lists.fourthought.com/pipermail/4suite/2003-September/005873.html Short answer: No known bugs in current(); problem not reproducible in current CVS; this usage of current() instead of . should be reconsidered anyway. From amarrero at mitre.org Mon Sep 22 09:46:41 2003 From: amarrero at mitre.org (=?ISO-8859-1?Q?Alexis_Marrero-Narv=E1ez?=) Date: Mon Sep 22 10:04:23 2003 Subject: [XML-SIG] Document style SOAP Web Service with ZSI (docstyle) In-Reply-To: Message-ID: <325E0A3F-ED03-11D7-8267-000393D153BC@mitre.org> Rich, That's exactly what I did in a copy of _Dispatch(). The only thing I did was to use the TC.XML() instead of TC.Any() since, I know that all my SOAP requests are docstyle. Is this sufficient? I think so... Best regards, /amn On Sunday, September 21, 2003, at 09:51 PM, Rich Salz wrote: >> Sorry for the confusion in the original email. Here is what I'm trying >> to do. I want to create a docstyle web service. My question is, how >> can >> I send the response? > > You can't. :( docstyle only applies to incoming. How braindead was I? > > We should fix this. Should be easy to do the right thing, under the > "if docstyle" test in _Dispatch(). > > /r$ > > -- > Rich Salz Chief Security Architect > DataPower Technology http://www.datapower.com > XS40 XML Security Gateway http://www.datapower.com/products/xs40.html > XML Security Overview > http://www.datapower.com/xmldev/xmlsecurity.html > From rsalz at datapower.com Mon Sep 22 10:05:59 2003 From: rsalz at datapower.com (Rich Salz) Date: Mon Sep 22 10:05:48 2003 Subject: [XML-SIG] Document style SOAP Web Service with ZSI (docstyle) In-Reply-To: <325E0A3F-ED03-11D7-8267-000393D153BC@mitre.org> References: <325E0A3F-ED03-11D7-8267-000393D153BC@mitre.org> Message-ID: <3F6F01C7.9070901@datapower.com> > That's exactly what I did in a copy of _Dispatch(). The only thing I did > was to use the TC.XML() instead of TC.Any() since, I know that all my > SOAP requests are docstyle. Is this sufficient? I think so... That's what i was going to do. send me a diff i'll integrate it. thanks! -- Rich Salz, Chief Security Architect DataPower Technology http://www.datapower.com XS40 XML Security Gateway http://www.datapower.com/products/xs40.html XML Security Overview http://www.datapower.com/xmldev/xmlsecurity.html From noreply at sourceforge.net Mon Sep 22 11:24:57 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Sep 22 11:25:05 2003 Subject: [XML-SIG] [ pyxml-Bugs-810663 ] xmlproc and Notation bug Message-ID: Bugs item #810663, was opened at 2003-09-22 17:24 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=810663&group_id=6473 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Alexandre Fayolle (afayolle) Assigned to: Lars Marius Garshol (larsga) Summary: xmlproc and Notation bug Initial Comment: it seems there is a problem with the NOTATION when you activate the validation of the XML. When I try to validate the XML attached to this email, xmlproc replies me : E:test-notation.xml:7:54: 'png' is not an allowed value for the 'format' attribute E:test-notation.xml:18:23: 'gif' is not an allowed value for the 'format' attribute E:test-notation.xml:21:23: 'jpg' is not an allowed value for the 'format' attribute E:test-notation.xml:24:23: 'png' is not an allowed value for the 'format' attribute source XML document: --------------8<--------------------------------- ] > --------------------8<----------------------- ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106473&aid=810663&group_id=6473 From Alexandre.Fayolle at logilab.fr Mon Sep 22 11:26:08 2003 From: Alexandre.Fayolle at logilab.fr (Alexandre Fayolle) Date: Mon Sep 22 11:26:13 2003 Subject: [XML-SIG] NOTATION support in xmlproc In-Reply-To: References: Message-ID: <20030922152608.GP2966@calvin> On Tue, Sep 09, 2003 at 09:05:16AM +0200, Lars Marius Garshol wrote: > > * Olivier CAYROL > | > | As other XML parsers are not having problems with this file, I feel > | there is a bug in xmlproc validation. Do I feel right? > > You are right, and xmlproc is wrong. Please report this as a bug on > SourceForge, and attach your example. I'll see if I can fix this in a > day or two; it's not a complicated bug to fix. (Would have done it > already, except I don't have the PyXML CVS tree here, and I'm > offline.) Done. See bug #810663 at http://sourceforge.net/tracker/index.php?func=detail&aid=810663&group_id=6473&atid=106473 Cheers, -- Alexandre Fayolle LOGILAB, Paris (France). http://www.logilab.com http://www.logilab.fr http://www.logilab.org D?veloppement logiciel avanc? - Intelligence Artificielle - Formations From xml-sig at thewrittenword.com Tue Sep 23 17:13:02 2003 From: xml-sig at thewrittenword.com (Albert Chin) Date: Tue Sep 23 17:13:09 2003 Subject: [XML-SIG] Fastest SAX parser in PyXML Message-ID: <20030923211302.GA58471@spuckler.il.thewrittenword.com> I'm parsing a large XML file using the SAX parser with: from xml.sax import saxexts, saxlib # read pkg-db.xml file def read_pkgdb_xml (...): xmlh = read_pkg_db (...) p = saxexts.make_parser () p.setDocumentHandler (xmlh) p.parseFile (fh) fh.close () p.close () class read_pkg_db (saxlib.HandlerBase): def __init__ (...): ... def startElement (self, name, attrs): ... def characters (self, ch, start, length): ... def endElement (self, name): ... Is this the fastest way? I don't need any validation. I just want the fastest parser. -- albert chin (china@thewrittenword.com) From larsga at garshol.priv.no Tue Sep 23 17:37:15 2003 From: larsga at garshol.priv.no (Lars Marius Garshol) Date: Tue Sep 23 17:37:18 2003 Subject: [XML-SIG] Fastest SAX parser in PyXML In-Reply-To: <20030923211302.GA58471@spuckler.il.thewrittenword.com> References: <20030923211302.GA58471@spuckler.il.thewrittenword.com> Message-ID: * Albert Chin | | Is this the fastest way? I don't need any validation. I just want | the fastest parser. In that case you want to use expat. -- Lars Marius Garshol, Ontopian GSM: +47 98 21 55 50 From xml-sig at thewrittenword.com Tue Sep 23 17:50:17 2003 From: xml-sig at thewrittenword.com (Albert Chin) Date: Tue Sep 23 17:50:21 2003 Subject: [XML-SIG] Fastest SAX parser in PyXML In-Reply-To: References: <20030923211302.GA58471@spuckler.il.thewrittenword.com> Message-ID: <20030923215017.GB58471@spuckler.il.thewrittenword.com> On Tue, Sep 23, 2003 at 11:37:15PM +0200, Lars Marius Garshol wrote: > > * Albert Chin > | > | Is this the fastest way? I don't need any validation. I just want > | the fastest parser. > > In that case you want to use expat. xml.parsers.expat? -- albert chin (china@thewrittenword.com) From fdrake at acm.org Tue Sep 23 17:39:24 2003 From: fdrake at acm.org (Fred L. Drake, Jr.) Date: Tue Sep 23 17:54:48 2003 Subject: [XML-SIG] Fastest SAX parser in PyXML In-Reply-To: <20030923215017.GB58471@spuckler.il.thewrittenword.com> References: <20030923211302.GA58471@spuckler.il.thewrittenword.com> <20030923215017.GB58471@spuckler.il.thewrittenword.com> Message-ID: <16240.48524.792410.263411@grendel.zope.com> Albert Chin writes: > xml.parsers.expat? Yes, that's the one! There's a SAX wrapper, but if you really want raw speed, using Expat's API directly with simple functions (preferred) or bound methods for the callbacks is the fastest in PyXML. -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation From veillard at redhat.com Wed Sep 24 04:01:21 2003 From: veillard at redhat.com (Daniel Veillard) Date: Wed Sep 24 04:01:29 2003 Subject: [XML-SIG] Fastest SAX parser in PyXML In-Reply-To: ; from larsga@garshol.priv.no on Tue, Sep 23, 2003 at 11:37:15PM +0200 References: <20030923211302.GA58471@spuckler.il.thewrittenword.com> Message-ID: <20030924040121.T23863@redhat.com> On Tue, Sep 23, 2003 at 11:37:15PM +0200, Lars Marius Garshol wrote: > > * Albert Chin > | > | Is this the fastest way? I don't need any validation. I just want > | the fastest parser. > > In that case you want to use expat. That could be challenged :-) Libxml2 SAX is also available in the libxml2 bindings. Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ From larsga at garshol.priv.no Wed Sep 24 10:00:14 2003 From: larsga at garshol.priv.no (Lars Marius Garshol) Date: Wed Sep 24 10:00:19 2003 Subject: [XML-SIG] Fastest SAX parser in PyXML In-Reply-To: <20030924040121.T23863@redhat.com> References: <20030923211302.GA58471@spuckler.il.thewrittenword.com> <20030924040121.T23863@redhat.com> Message-ID: * Lars Marius Garshol | | In that case you want to use expat. * Daniel Veillard | | That could be challenged :-) Admittedly it could. I'd forgotten about libxml2. :) The benefit of using SAX over using one of the raw parser APIs is that you can switch parser to whichever is fastest at any given time without having to change your code. IMHO xml.parsers.expat shouldn't exist, and there should only be a SAX driver for expat implemented in C. I guess what we're lacking is the manpower to do that. -- Lars Marius Garshol, Ontopian GSM: +47 98 21 55 50 From cybersamurai at mac.com Wed Sep 24 14:10:19 2003 From: cybersamurai at mac.com (Luiz Siqueira Neto) Date: Wed Sep 24 14:10:39 2003 Subject: [XML-SIG] xpath with namespaces Message-ID: <001001c382c7$1f82e280$2301a8c0@comprofar.com.br> I can't access some elements with out namespaces. How can I do that? On line 2 the xmlns dont have the name. Ex "xmlns:si" example: Quick Example

Quick Example

Valid XHTML 1.0!

Note that the layout (with tabs and alignment) is purely for readability - XHTML doesn't require it.

-------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/xml-sig/attachments/20030924/8a924dbb/attachment.html From rsalz at datapower.com Wed Sep 24 14:18:22 2003 From: rsalz at datapower.com (Rich Salz) Date: Wed Sep 24 14:17:51 2003 Subject: [XML-SIG] xpath with namespaces In-Reply-To: <001001c382c7$1f82e280$2301a8c0@comprofar.com.br> References: <001001c382c7$1f82e280$2301a8c0@comprofar.com.br> Message-ID: <3F71DFEE.6020900@datapower.com> Luiz Siqueira Neto wrote: > I can't access some elements with out namespaces. How can I do that? It would help to see code. :) > On line 2 the xmlns dont have the name. Ex "xmlns:si" Not needed -- "xmlns='....'" sets the default namespace for all elements. (It doesn't set it for attributes, which default to being in no-namespace.) /r$ -- Rich Salz, Chief Security Architect DataPower Technology http://www.datapower.com XS40 XML Security Gateway http://www.datapower.com/products/xs40.html XML Security Overview http://www.datapower.com/xmldev/xmlsecurity.html From uche.ogbuji at fourthought.com Wed Sep 24 23:17:15 2003 From: uche.ogbuji at fourthought.com (Uche Ogbuji) Date: Wed Sep 24 23:18:08 2003 Subject: [XML-SIG] ANN: Anobind 0.6.0 Message-ID: <1064459834.2503.131.camel@localhost.localdomain> This release adds namespace support and a whitespace stripping rule. There has ben some internal restructuring. ________________________________________________________________________ http://uche.ogbuji.net/tech/4Suite/anobind Anobind is a Python/XML data binding, which is just a fancy way of saying it's a very Pythonic XML API. You feed Anobind an XML document and it returns a data structure of corresponding Python objects. For example, the document What do you mean "bleh" But I was looking for argument Would become a set of objects so that you could write binding.monty.python.spam In order to get the value "eggs" or binding.monty.python[1].text_content() binding.monty.python[1].text_content() In order to get the value "But I was looking for argument". There are other such tools for Python, and what makes Anobind unique is that it's driven by a very declarative rules-based system for binding XML to the Python data. One can register rules that are triggered by XPatterns or plain Python code in order to register specialized binding behavior. It also offers XPath support and some support for round-tripping documents. Anobind is open source, provided under the 4Suite variant of the Apache license. It requires Python 2.2.2 and 4Suite 1.0a3. -- Uche Ogbuji Fourthought, Inc. http://uche.ogbuji.net http://4Suite.org http://fourthought.com Introducing Anobind - http://www.xml.com/pub/a/2003/08/13/py-xml.html XML Topic Maps by the book - http://www-106.ibm.com/developerworks/xml/library/x-think19.html Charming Jython - http://www-106.ibm.com/developerworks/java/library/j-jython.html Python, Web services, and XSLT - http://www-106.ibm.com/developerworks/xml/library/ws-pyth13/ Perspective on XML: What is this 'agility'? - http://www.adtmag.com/article.asp?id=8004 From uche.ogbuji at fourthought.com Thu Sep 25 00:11:04 2003 From: uche.ogbuji at fourthought.com (Uche Ogbuji) Date: Thu Sep 25 00:11:38 2003 Subject: [XML-SIG] Relax NG tools written in Python? In-Reply-To: Message from Simon Willison of "Sat, 13 Sep 2003 22:01:12 BST." <3F638598.3070105@bath.ac.uk> Message-ID: <20030925041109.8A5E5134687@borgia.local> > Hi all, > > I'm a recent covnert to Relax NG, thanks mainly to Tim Bray's > demonstration of a Relax NG schema for the new Atom syndication format: > > http://www.tbray.org/ongoing/When/200x/2003/07/09/PieSchema01 > > My blog entry: http://simon.incutio.com/archive/2003/07/10/compactSchemas > > Are there any good Python tools for processing Relax NG? I'm > particularly interested in tools that can parse Relax NG's compact > syntax. If nothing exists already, does anyone know of a project to > implement such a thing? Not yet compact syntax (use Dr. Mertz's tools - http://gnosis.cx/download/relax / - for that), but: http://uche.ogbuji.net/tech/akara/nodes/2003-01-01/relaxng http://www.xml.com/pub/a/2002/10/16/py-xml.html (several headings on RNG) -- Uche Ogbuji Fourthought, Inc. http://uche.ogbuji.net http://4Suite.org http://fourthought.com Introducing Anobind - http://www.xml.com/pub/a/2003/08/13/py-xml.html The State of the Python-XML Art, 2003 - http://www.xml.com/pub/a/2003/09/10/py. html XML Topic Maps by the book - http://www-106.ibm.com/developerworks/xml/library/ x-think19.html Python, Web services, and XSLT - http://www-106.ibm.com/developerworks/xml/libr ary/ws-pyth13/ Perspective on XML: What is this 'agility'? - http://www.adtmag.com/article.asp ?id=8004 From qpj55pa at aol.com Sat Sep 27 01:34:01 2003 From: qpj55pa at aol.com (Aldo Rossi) Date: Sat Sep 27 00:37:45 2003 Subject: [XML-SIG] Hey Message-ID: An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/xml-sig/attachments/20030927/5995fd68/attachment.html From Radovan.Chytracek at cern.ch Sat Sep 27 13:48:16 2003 From: Radovan.Chytracek at cern.ch (Radovan Chytracek) Date: Sat Sep 27 13:48:21 2003 Subject: [XML-SIG] PyXML 0.8.3 problem on windows... Message-ID: Hi, I have just recently installed PyXML 0.8.3 on my windows where I have Python 2.2.3 and 2.3 in parallel. I have used for each version the corresponding PyXML binary installer. I have observed a problem which did not happen before, as I was using default SAX parser coming with Python distribution which I think is non-validating one. I plan to use SAX2 features so I installed PyXML which claims it has supports SAX and even XML validation in xmlproc parser. Good. The problem. In one of my test XML files I have a bogus DTD system id which is handled in our C++ framework by using EntityResolver. This seems to make PyXML SAX parser die with the following stack trace: Traceback (most recent call last): File "RlsLoadXml.py", line 52, in ? xmldata = RlsLoadXml( dataFile ) File "RlsLoadXml.py", line 8, in RlsLoadXml cl.load() File "RlsCatalogLoader.py", line 106, in load self.docfilter.parse( self.input_file ) File "C:\Python22\Lib\site-packages\_xmlplus\sax\saxutils.py", line 441, in parse self._parent.parse(source) File "C:\Python22\Lib\site-packages\_xmlplus\sax\expatreader.py", line 109, in parse xmlreader.IncrementalParser.parse(self, source) File "C:\Python22\Lib\site-packages\_xmlplus\sax\xmlreader.py", line 123, in parse self.feed(buffer) File "C:\Python22\Lib\site-packages\_xmlplus\sax\expatreader.py", line 216, in feed self._parser.Parse(data, isFinal) File "C:\Python22\Lib\site-packages\_xmlplus\sax\expatreader.py", line 395, in external_entity_ref self._source.getSystemId() or File "C:\Python22\Lib\site-packages\_xmlplus\sax\saxutils.py", line 507, in prepare_input_source if source.getByteStream() is None: AttributeError: 'NoneType' object has no attribute 'getByteStream' I don't know what parser gets created by calling xml.sax.make_parser() call after PyXML is installed by I am sure if it's validating parser it should report that unknown or invalid DTD system id has been found and stop parsing with some reasonable error message. This stack trace was of no use as I had to spent quite some time to figure out what's the problem. If I uninstall PyXML 0.8.3 from my system all is running OK as I apparently get back to the non-validating parser which does not care much about crazy DTD system id. Anybody else is having asimilar problem? Radovan From 75itovoeqy6 at netscape.com Mon Sep 29 11:42:07 2003 From: 75itovoeqy6 at netscape.com (Ross Dye) Date: Mon Sep 29 00:49:47 2003 Subject: [XML-SIG] Buy Vicodin online today, overnight shipping xyiz kccg v Message-ID: Need Vicodin? We're Fast. Low Price Prescription Pain Meds....No Rx Required! Free MD Consult & fast Shipping! Other Potent Drugs Available... http://www.rxdiscountusa.biz/medical take off list http://www.rxdiscountusa.biz/a.html med jsm guv joyqe tnymsqobkqezq f wjffbvekxueie gqeixj qdtz From noreply at sourceforge.net Mon Sep 29 17:58:18 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Mon Sep 29 17:58:22 2003 Subject: [XML-SIG] [ pyxml-Patches-814763 ] xml.utils.iso8601.ctime is invalid for eastern timezones. Message-ID: Patches item #814763, was opened at 2003-09-30 06:58 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=814763&group_id=6473 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Hye-Shik Chang (perky) Assigned to: Nobody/Anonymous (nobody) Summary: xml.utils.iso8601.ctime is invalid for eastern timezones. Initial Comment: xml.utils.iso8601.ctime returns incorrect time representation due to tostring()'s wrong timezone handling. (timezone is overwritten as absolute number and it used below.) Please see attachment. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=306473&aid=814763&group_id=6473 From noreply at sourceforge.net Tue Sep 30 02:54:34 2003 From: noreply at sourceforge.net (SourceForge.net) Date: Tue Sep 30 02:54:38 2003 Subject: [XML-SIG] [ pyxml-Bugs-814935 ] Bug in saxutils.py where resolveEntity returns None Message-ID: Bugs item #814935, was opened at 2003-09-30 08:54 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=814935&group_id=6473 Category: SAX Group: None Status: Open Resolution: None Priority: 5 Submitted By: Radovan Chytracek (chytrace) Assigned to: Nobody/Anonymous (nobody) Summary: Bug in saxutils.py where resolveEntity returns None Initial Comment: saxutils.py, line432 : # EntityResolver methods def resolveEntity(self, publicId, systemId): self._ent_handler.resolveEntity(publicId, systemId) # XMLReader methods resolveEntity does not return the resolved InputSource. Should be: # EntityResolver methods def resolveEntity(self, publicId, systemId): return self._ent_handler.resolveEntity (publicId,systemId) # XMLReader methods ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106473&aid=814935&group_id=6473 From Radovan.Chytracek at cern.ch Tue Sep 30 03:11:32 2003 From: Radovan.Chytracek at cern.ch (Radovan Chytracek) Date: Tue Sep 30 03:11:40 2003 Subject: [XML-SIG] Re: PyXML 0.8.3 problem on windows... Message-ID: Hi, is anybody able to use xml.sax.saxtils.XMLFilter class with something else then default parser returned by make_parser() call? I tried various parsers like: whateverone = xml.sax.make_parser( "xml.sax.drivers.drv_xmlproc" ) or whateverone = xml.sax.make_parser( "xml.sax.drivers.drv_xmlproc_val" ) or anything what makes sense and exists, in the Windows PyXML 0.8.3 distribution. I made work only the pyexpat with XMLFilters. With the others there is always an exception raised about missing setContentHandler attribute which is confusing me. Does it return the raw parser or full featured XMLReader which can talk all the standard SAX interfaces? I have read xml-ref and xml-howto but these are too brief and do not explain anything about this practice. I found only some bits here and there how to ask for a specific implementation. Do I miss some more steps needed to make it work? Cheers Radovan From Radovan.Chytracek at cern.ch Tue Sep 30 11:21:26 2003 From: Radovan.Chytracek at cern.ch (Radovan Chytracek) Date: Tue Sep 30 11:21:34 2003 Subject: [XML-SIG] PyXML 0.8.3 problem on windows... Message-ID: Hi, so when I applied the fix I propose in PyXML bug report #814935, see also: https://sourceforge.net/tracker/?func=detail&atid=106473&aid=814935&grou p_id=6473 I could write SAX EntityResolver and I did not get any exception anymore. The following code shows that use-case. I tested it on my modified PyXML 0.8.3 installation using Win32 Python 2.2.3 . I would suggest to provide InputSource variant (if no such exists yet), which allows to construct SAX reader InputSource from a string or UNICODE buffer for convenience in such situations as is this one. Cheers Radovan -------------- cut & paste from here ------------- import xml.sax inmemdtd = u""" """ inmemdoc = u""" """ def Str2Stream( cstr ): from cStringIO import StringIO return StringIO( cstr ) class MyEntityResolver(xml.sax.handler.EntityResolver): def resolveEntity(self, publicId, systemId): # The bogus DTD external entity so do it as in C++ dtdbuf = Str2Stream( inmemdtd ) dtdSource = xml.sax.xmlreader.InputSource() dtdSource.setByteStream( dtdbuf ) dtdSource.setEncoding('UTF-8') dtdSource.setSystemId( systemId ) return dtdSource if __name__ == '__main__': xmldoc = Str2Stream( inmemdoc.encode('UTF-8') ) per = MyEntityResolver() prsr = xml.sax.make_parser() prsr.setEntityResolver( per ) prsr.parse( xmldoc ) ----------------- to here ----------------------- Radovan Chytracek CERN, IT/DB, LCG (SEAL in POOL) mailto:Radovan.Chytracek@cern.ch Web: http://cern.ch/chytrace phone: +41 22 76 74322 fax: +41 22 76 77155 From svenne at krap.dk Tue Sep 30 18:01:18 2003 From: svenne at krap.dk (Svenne Krap) Date: Tue Sep 30 18:02:03 2003 Subject: [XML-SIG] ZSI and soap problems.... Message-ID: <3F79FD2E.1090301@krap.dk> Hi. I am working on a soap project.... All data below has been anonymized, but hopefully is still usable for debugging... I cannot disclose the true identity of the webservice. The webservice is running production with three clients already, so service-site problems are ruled out. I am running Python 2.3.1, PyXML 0.8.3, ZSI 1.4.1 all fetched as binaries from the official sites.... The scriptlet I am trying is : >>> from ZSI import ServiceProxy >>> service = ServiceProxy('http://dev.xxx.dk/xxxWebService/xxxWebService?wsdl') keys are [u'ValidatePartyRequest', u'ValidatePartyResponse', u'ChangePasswordRequest', u'ChangePasswordResponse', u'TransactionResponse', u'HeaderError', u'TransactionRequest', u'RequestHeader'] Traceback (most recent call last): File "", line 1, in -toplevel- service = ServiceProxy('http://dev.xxx.dk/xxxetWebService/xxxWebService?wsdl') File "C:\Python23\Lib\site-packages\ZSI\ServiceProxy.py", line 38, in __init__ callinfo = wstools.WSDLTools.callInfoFromWSDL(self._port, item.name) File "C:\Python23\Lib\site-packages\ZSI\wstools\WSDLTools.py", line 1101, in callInfoFromWSDL part = messages[item.message].parts[item.part] File "C:\Python23\Lib\site-packages\ZSI\wstools\Utility.py", line 573, in __getitem__ return self.data[key] KeyError: u'y:RequestHeader' The content of the wsdl-file is : I hope some knows an answer or can point me to the right direction.... Btw. I am an SOAP newbie (and rather unfamiliar with XML)... /Svenne From rsalz at datapower.com Tue Sep 30 19:39:24 2003 From: rsalz at datapower.com (Rich Salz) Date: Tue Sep 30 19:39:27 2003 Subject: [XML-SIG] ZSI and soap problems.... In-Reply-To: <3F79FD2E.1090301@krap.dk> Message-ID: While I appreciate your security concerns, it's hard to debug without seeing any message dumps. BTW, pywebsvcs-discuss@lists.sf.net is often a better place for Python WS toolkit questions. /r$ -- Rich Salz Chief Security Architect DataPower Technology http://www.datapower.com XS40 XML Security Gateway http://www.datapower.com/products/xs40.html XML Security Overview http://www.datapower.com/xmldev/xmlsecurity.html From KSBeattie at lbl.gov Tue Sep 30 21:21:04 2003 From: KSBeattie at lbl.gov (Keith Beattie) Date: Tue Sep 30 21:21:08 2003 Subject: [XML-SIG] c14n attribute ordering problem? Message-ID: <3F7A2C00.50504@lbl.gov> Hi all, Based on my reading of the c14n spec and observations of xmlsec, it appears that PyXML's c14n isn't ordering attributes properly when operating on a sub-node. Or I'm confused. Attached is a demonstration program. # What I expect: $ python2.3 c14n_test.py # What I get: $ python2.3 c14n_test.py Note the difference in ordering of the 'xmlns:dsig' and 'xmlns' attributes. As I understand it, the default xmlns element should come first, which it does if not operating on a child element and when looking at the detailed output of xmlsec (when signing a proper signature template which this example is a simplified version of). Am I doing something wrong here? Or are PyXML and libxml2 are c14n'ing differently, which (since I'm working with XML digital signatures) would be a real problem... Thanks, ksb -------------- next part -------------- from xml.dom import minidom from xml.dom.ext import c14n from xml.ns import DSIG doc_string = """ """ dom = minidom.parseString(doc_string) sigInfo_el = dom.getElementsByTagNameNS(DSIG.BASE, 'SignedInfo')[0] sigInfo_c14n = c14n.Canonicalize(sigInfo_el) print sigInfo_c14n From rsalz at datapower.com Tue Sep 30 22:05:38 2003 From: rsalz at datapower.com (Rich Salz) Date: Tue Sep 30 22:05:41 2003 Subject: [XML-SIG] c14n attribute ordering problem? In-Reply-To: <3F7A2C00.50504@lbl.gov> Message-ID: > # What I expect: > $ python2.3 c14n_test.py > > # What I get: > $ python2.3 c14n_test.py > The Python code is right; your expectation (and, apparently xmlsec) is wrong. The default namespace declaration is treated as if the localname is "xmlns". See the "Namespace Nodes" bullet in section 2.3 Sorry, Aleksey, looks like a bug. :) (That's actually a rueful smile; Aleksey and I have commiserated over the pain in the a-- that is XML c14n and exc-c14n.) /r$ -- Rich Salz Chief Security Architect DataPower Technology http://www.datapower.com XS40 XML Security Gateway http://www.datapower.com/products/xs40.html XML Security Overview http://www.datapower.com/xmldev/xmlsecurity.html From aleksey at aleksey.com Tue Sep 30 23:39:36 2003 From: aleksey at aleksey.com (Aleksey Sanin) Date: Tue Sep 30 23:39:48 2003 Subject: [XML-SIG] c14n attribute ordering problem? In-Reply-To: References: Message-ID: <3F7A4C78.9020805@aleksey.com> Well, this is great. However, example 3.3 [1] from the same specification shows a different sorting (look at element ). And after fixing this in libxml2 I have a lot of interop tests failures in both C14N and XMLDSig. Aleksey [1] http://www.w3.org/TR/xml-c14n#Example-SETags Rich Salz wrote: >># What I expect: >>$ python2.3 c14n_test.py >> >># What I get: >>$ python2.3 c14n_test.py >> >> >> > >The Python code is right; your expectation (and, apparently xmlsec) >is wrong. The default namespace declaration is treated as if the localname >is "xmlns". See the "Namespace Nodes" bullet in section 2.3 > >Sorry, Aleksey, looks like a bug. :) (That's actually a rueful smile; >Aleksey and I have commiserated over the pain in the a-- that is XML >c14n and exc-c14n.) > /r$ >-- >Rich Salz Chief Security Architect >DataPower Technology http://www.datapower.com >XS40 XML Security Gateway http://www.datapower.com/products/xs40.html >XML Security Overview http://www.datapower.com/xmldev/xmlsecurity.html > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/xml-sig/attachments/20030930/98df4ff3/attachment.html From aleksey at aleksey.com Tue Sep 30 23:50:14 2003 From: aleksey at aleksey.com (Aleksey Sanin) Date: Tue Sep 30 23:50:18 2003 Subject: [XML-SIG] c14n attribute ordering problem? In-Reply-To: References: Message-ID: <3F7A4EF6.2000705@aleksey.com> Skipped content of type multipart/alternative-------------- next part -------------- Index: c14n.c =================================================================== RCS file: /cvs/gnome/gnome-xml/c14n.c,v retrieving revision 1.18 diff -u -r1.18 c14n.c --- c14n.c 29 Sep 2003 13:20:20 -0000 1.18 +++ c14n.c 1 Oct 2003 03:47:07 -0000 @@ -412,7 +412,13 @@ if (ns2 == NULL) return (1); - return (xmlStrcmp(ns1->prefix, ns2->prefix)); + /* C14N spec assignes local name "xmlns" to the default namespace + * node xmlns="..." ("Namespace Nodes" bullet in section "2.3 Processing + * Model" of C14N spec). This is different from XPath where the default + * namespace node has an empty URI and local name + */ + return (xmlStrcmp((ns1->prefix != NULL) ? ns1->prefix : BAD_CAST "xmlns", + (ns2->prefix != NULL) ? ns2->prefix : BAD_CAST "xmlns")); } Index: result/c14n/with-comments/default-ns-sorting =================================================================== RCS file: result/c14n/with-comments/default-ns-sorting diff -N result/c14n/with-comments/default-ns-sorting --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ result/c14n/with-comments/default-ns-sorting 1 Oct 2003 03:47:24 -0000 @@ -0,0 +1 @@ + \ No newline at end of file Index: test/c14n/with-comments/default-ns-sorting.xml =================================================================== RCS file: test/c14n/with-comments/default-ns-sorting.xml diff -N test/c14n/with-comments/default-ns-sorting.xml --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ test/c14n/with-comments/default-ns-sorting.xml 1 Oct 2003 03:47:24 -0000 @@ -0,0 +1,6 @@ + + + + + + Index: test/c14n/with-comments/default-ns-sorting.xpath =================================================================== RCS file: test/c14n/with-comments/default-ns-sorting.xpath diff -N test/c14n/with-comments/default-ns-sorting.xpath --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ test/c14n/with-comments/default-ns-sorting.xpath 1 Oct 2003 03:47:24 -0000 @@ -0,0 +1,6 @@ + + (//. | //@* | //namespace::*) + [ + ancestor-or-self::dsig:SignedInfo + ] + \ No newline at end of file From rsalz at datapower.com Tue Sep 30 23:57:36 2003 From: rsalz at datapower.com (Rich Salz) Date: Tue Sep 30 23:57:39 2003 Subject: [XML-SIG] c14n attribute ordering problem? In-Reply-To: <3F7A4C78.9020805@aleksey.com> Message-ID: > Well, this is great. However, example 3.3 [1] from the same specification > shows a different sorting (look at element ). And after fixing this > in libxml2 > I have a lot of interop tests failures in both C14N and XMLDSig. And now looking at the end of 2.2, it says the default namespace has no local name and is therefore lexicographically least. So perhaps in 2.3 "local name" means NCName, meaning that phrase is redundant? Or does it mean turn NCName "xmlns" into QName "xmlns:xmlns" ? That doesn't seem likely. Who wants to bring this up on the xml-dsig list? At a minimum, we're gonna need some erratum issued. The Python code (which I now think is wrong, not libxml/xmlsec) is: def _sorter_ns(n1,n2): '''_sorter_ns((n,v),(n,v)) -> int "(an empty namespace URI is lexicographically least)."''' if n1[0] == 'xmlns': return -1 if n2[0] == 'xmlns': return 1 return cmp(n1[0], n2[0]) Should that cmp be using [1] instead of [0]? Argh. All together now: c14n bites! :) /r$ -- Rich Salz Chief Security Architect DataPower Technology http://www.datapower.com XS40 XML Security Gateway http://www.datapower.com/products/xs40.html XML Security Overview http://www.datapower.com/xmldev/xmlsecurity.html From aleksey at aleksey.com Tue Sep 30 23:59:04 2003 From: aleksey at aleksey.com (Aleksey Sanin) Date: Tue Sep 30 23:59:12 2003 Subject: [XML-SIG] c14n attribute ordering problem? In-Reply-To: References: Message-ID: <3F7A5108.8080302@aleksey.com> >Who wants to bring this up on the xml-dsig list? At a minimum, we're >gonna need some erratum issued. > > I am already writing a message :) Should be out in a couple minutes. Aleksey From KSBeattie at lbl.gov Tue Sep 30 23:56:25 2003 From: KSBeattie at lbl.gov (Keith Beattie) Date: Wed Oct 1 00:00:51 2003 Subject: [XML-SIG] c14n attribute ordering problem? In-Reply-To: References: Message-ID: <3F7A5069.8030200@lbl.gov> Rich Salz wrote: > The Python code is right; your expectation (and, apparently xmlsec) > is wrong. The default namespace declaration is treated as if the localname > is "xmlns". See the "Namespace Nodes" bullet in section 2.3 Then isn't the following wrong? $ python2.3 Python 2.3 (#1, Aug 14 2003, 17:43:17) [GCC 3.2.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from xml.dom import minidom >>> from xml.dom.ext import c14n >>> print c14n.Canonicalize(minidom.parseString("")) Why isn't the xmlns="baz" treated as xmlns:xmlns="baz" here and sorted after the xmlns:a? ksb