From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Israelsson Tampe Newsgroups: gmane.lisp.guile.bugs Subject: [bug #31691] Ellipsis not supported in nested `sxml-match' forms [1.9.13] Date: Mon, 05 Sep 2011 13:40:04 +0000 Message-ID: <20110905-134004.sv78157.88536@savannah.gnu.org> References: <20101118-091036.sv0.12070@savannah.gnu.org> <20101119-162848.sv20118.34131@savannah.gnu.org> <20101119-164144.sv20118.81348@savannah.gnu.org> <20110715-113622.sv78157.99468@savannah.gnu.org> <20110902-171735.sv20118.41353@savannah.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Trace: dough.gmane.org 1315229784 18304 80.91.229.12 (5 Sep 2011 13:36:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Sep 2011 13:36:24 +0000 (UTC) To: Andy Wingo , Stefan Israelsson Tampe , jim@benderweb.net, bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Sep 05 15:36:19 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R0ZLW-0005f2-TZ for guile-bugs@m.gmane.org; Mon, 05 Sep 2011 15:36:19 +0200 Original-Received: from localhost ([::1]:36803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0ZLV-00013r-4Z for guile-bugs@m.gmane.org; Mon, 05 Sep 2011 09:36:17 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0ZLS-00013a-AM for bug-guile@gnu.org; Mon, 05 Sep 2011 09:36:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R0ZLN-0005an-Ix for bug-guile@gnu.org; Mon, 05 Sep 2011 09:36:14 -0400 Original-Received: from savannah.gnu.org ([140.186.70.70]:34690 helo=frontend.savannah.gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0ZLN-0005aj-HZ for bug-guile@gnu.org; Mon, 05 Sep 2011 09:36:09 -0400 Original-Received: from www-data by frontend.savannah.gnu.org with local (Exim 4.72) (envelope-from ) id 1R0ZPA-0003HG-6H; Mon, 05 Sep 2011 13:40:04 +0000 X-PHP-Originating-Script: 0:sendmail.php X-Savane-Server: savannah.gnu.org:443 [140.186.70.70] X-Savane-Project: guile X-Savane-Tracker: bugs X-Savane-Item-ID: 31691 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 X-Apparently-From: 82.182.254.46 (Savane authenticated user tampe) In-Reply-To: <20110902-171735.sv20118.41353@savannah.gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.70 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5811 Archived-At: Follow-up Comment #5, bug #31691 (project guile): Ok here is a patch if it encounters a form like x ... in the output part of sxml-match it will check if there exists an ellipsis variable inside x. If there doesn't exist any it will not try to expand the ellipsis, but instead keep it verbatrim. So the subsequent matches must not use previous pattern variables inside their patterns for this to work. /Stefan (file #23945) _______________________________________________________ Additional Item Attachment: File name: sxml-match.ss.diff Size:1 KB _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/