From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ricardo Wurmus Newsgroups: gmane.lisp.guile.bugs Subject: bug#20339: sxml simple: sxml->xml mishandles namespaces? Date: Thu, 23 Apr 2015 09:04:46 +0200 Message-ID: <878udj1g1d.fsf@mango.localdomain> References: <20150415194714.GA30295@tuxteam.de> <87oamh25sc.fsf@mango.localdomain> <20150421094438.GA22715@tuxteam.de> <87fv7s1bjn.fsf@mango.localdomain> <20150423065714.GB19410@tuxteam.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1429772783 21579 80.91.229.3 (23 Apr 2015 07:06:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Apr 2015 07:06:23 +0000 (UTC) Cc: 20339@debbugs.gnu.org To: tomas@tuxteam.de Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Apr 23 09:06:12 2015 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YlBD8-0001w2-J1 for guile-bugs@m.gmane.org; Thu, 23 Apr 2015 09:06:11 +0200 Original-Received: from localhost ([::1]:38543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlBD7-0006iN-O8 for guile-bugs@m.gmane.org; Thu, 23 Apr 2015 03:06:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlBD4-0006iG-GR for bug-guile@gnu.org; Thu, 23 Apr 2015 03:06:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlBD0-0006mB-NN for bug-guile@gnu.org; Thu, 23 Apr 2015 03:06:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlBD0-0006lz-Kc for bug-guile@gnu.org; Thu, 23 Apr 2015 03:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YlBD0-0000ro-9M for bug-guile@gnu.org; Thu, 23 Apr 2015 03:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 23 Apr 2015 07:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20339 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 20339-submit@debbugs.gnu.org id=B20339.14297727103193 (code B ref 20339); Thu, 23 Apr 2015 07:06:02 +0000 Original-Received: (at 20339) by debbugs.gnu.org; 23 Apr 2015 07:05:10 +0000 Original-Received: from localhost ([127.0.0.1]:37029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlBC9-0000pL-39 for submit@debbugs.gnu.org; Thu, 23 Apr 2015 03:05:09 -0400 Original-Received: from sender1.zohomail.com ([74.201.84.162]:53632) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlBC5-0000p4-OK for 20339@debbugs.gnu.org; Thu, 23 Apr 2015 03:05:07 -0400 Original-Received: from localhost (xd933f8e5.dyn.telefonica.de [217.51.248.229]) by mx.zohomail.com with SMTPS id 1429772699616412.097398393296; Thu, 23 Apr 2015 00:04:59 -0700 (PDT) In-reply-to: <20150423065714.GB19410@tuxteam.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org 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:7776 Archived-At: tomas@tuxteam.de writes: > What's yet missing (as far as I can read off the diff) is a way to > "dream up" an abbreviation when it's not in the namespaces alist. True. Ideally, this should work even without passing a namespaces alist at all in both "xml->sxml" and "sxml->xml". The non-abbreviated namespaces should not cause "sxml->xml" to fail. Passing around a namespaces alist to both these procedures is the least invasive approach I could think of, but I still think that it *should* be made to work without explicitly declaring namespaces.