From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.lisp.guile.bugs Subject: bug#20339: sxml simple: sxml->xml mishandles namespaces? Date: Sun, 26 Apr 2015 12:28:10 +0200 Message-ID: <20150426102810.GB5922@tuxteam.de> References: <20150415194714.GA30295@tuxteam.de> <87oamh25sc.fsf@mango.localdomain> <20150421094438.GA22715@tuxteam.de> <87fv7s1bjn.fsf@mango.localdomain> <20150425202509.GA3544@tuxteam.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1430044162 29211 80.91.229.3 (26 Apr 2015 10:29:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Apr 2015 10:29:22 +0000 (UTC) Cc: 20339@debbugs.gnu.org To: Ricardo Wurmus Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Apr 26 12:29:13 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 1YmJoG-0000Rs-0R for guile-bugs@m.gmane.org; Sun, 26 Apr 2015 12:29:12 +0200 Original-Received: from localhost ([::1]:50322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmJoF-0003V7-3r for guile-bugs@m.gmane.org; Sun, 26 Apr 2015 06:29:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmJoB-0003S7-5F for bug-guile@gnu.org; Sun, 26 Apr 2015 06:29:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmJo6-00009R-83 for bug-guile@gnu.org; Sun, 26 Apr 2015 06:29:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmJo6-00009I-5p for bug-guile@gnu.org; Sun, 26 Apr 2015 06:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YmJo5-0000Ix-Pt for bug-guile@gnu.org; Sun, 26 Apr 2015 06:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: tomas@tuxteam.de Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 26 Apr 2015 10:29:01 +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.14300440971117 (code B ref 20339); Sun, 26 Apr 2015 10:29:01 +0000 Original-Received: (at 20339) by debbugs.gnu.org; 26 Apr 2015 10:28:17 +0000 Original-Received: from localhost ([127.0.0.1]:40171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmJnM-0000Hx-SG for submit@debbugs.gnu.org; Sun, 26 Apr 2015 06:28:17 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:41210 helo=tomasium.tuxteam.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmJnK-0000Hm-65 for 20339@debbugs.gnu.org; Sun, 26 Apr 2015 06:28:15 -0400 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1YmJnG-0001iD-Uq; Sun, 26 Apr 2015 12:28:10 +0200 In-Reply-To: <20150425202509.GA3544@tuxteam.de> User-Agent: Mutt/1.5.21 (2010-09-15) 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:7780 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, Apr 25, 2015 at 10:25:09PM +0200, tomas@tuxteam.de wrote: [...] > Reading again Oleg Kiselyov's paper[1] I understand that SXML can, as does > XML have namespace abbreviations (called there user-ns-shortcut). It's not > exctly the same thing, but somehow isomorphic. One might use the XML's > abbreviations in the SXML representation, of course. I take that back: as far as I understand the paper, the (SXML-side) shortcuts are global to the document, whereas the (XML-side) abbreviations are subtree- scoped (i.e. for the whole subtree of the element where the declaration is attached. I don't know ATM whether shadowing is allowed, but I'll look that up). So there *is* a subtle difference between "user-ns-shortcut" (the one you were manipulating with #:namespaces) and the XML "namespace abbreviation" (the official jargon is "namespace prefix"). Regards [1] - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlU8vboACgkQBcgs9XrR2kadlACeI+p4W8N/dJ49cGBypYNEP/ta l6MAn3exlNUpj6Z4cYG0Dcb1ltyuQQBB =x74j -----END PGP SIGNATURE-----