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: Thu, 14 Jul 2016 12:26:31 +0200 Message-ID: <20160714102631.GB5611@tuxteam.de> References: <20150415194714.GA30295@tuxteam.de> <87y45vln0f.fsf@pobox.com> <20160713132403.GA2349@tuxteam.de> <87furc1qeu.fsf@pobox.com> 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 1468492136 16129 80.91.229.3 (14 Jul 2016 10:28:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2016 10:28:56 +0000 (UTC) Cc: 20339@debbugs.gnu.org To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Jul 14 12:28:49 2016 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 1bNdsu-0003Eo-69 for guile-bugs@m.gmane.org; Thu, 14 Jul 2016 12:28:48 +0200 Original-Received: from localhost ([::1]:52702 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNdst-0005R0-JL for guile-bugs@m.gmane.org; Thu, 14 Jul 2016 06:28:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNdrH-0003BR-UU for bug-guile@gnu.org; Thu, 14 Jul 2016 06:27:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNdrB-0002e5-Ty for bug-guile@gnu.org; Thu, 14 Jul 2016 06:27:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNdrB-0002e1-QF for bug-guile@gnu.org; Thu, 14 Jul 2016 06:27:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bNdrB-0002Nx-Ms for bug-guile@gnu.org; Thu, 14 Jul 2016 06:27: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: Thu, 14 Jul 2016 10:27: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.14684919999133 (code B ref 20339); Thu, 14 Jul 2016 10:27:01 +0000 Original-Received: (at 20339) by debbugs.gnu.org; 14 Jul 2016 10:26:39 +0000 Original-Received: from localhost ([127.0.0.1]:50576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNdqo-0002ND-P9 for submit@debbugs.gnu.org; Thu, 14 Jul 2016 06:26:38 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:60509 helo=tomasium.tuxteam.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNdqk-0002N0-SR for 20339@debbugs.gnu.org; Thu, 14 Jul 2016 06:26:37 -0400 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1bNdqh-0001hN-JM; Thu, 14 Jul 2016 12:26:31 +0200 In-Reply-To: <87furc1qeu.fsf@pobox.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.lisp.guile.bugs:8307 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Jul 14, 2016 at 12:10:17PM +0200, Andy Wingo wrote: > Hi :) > > On Wed 13 Jul 2016 15:24, tomas@tuxteam.de writes: > > > Referring to Oleg Kiseliov's paper [1], there are actually three > > things involved: > > This summary is helpful, thanks. > > What is missing? From my point of view: > > > > - At xml->sxml time, the user doesn't know which namespaces > > are in the xml. So it would be nice if the XML parser > > could provide that. > > For some documents you do know, of course. > > And for larger perspective, I think that SSAX gives you all the tools > you need to build specialist and very flexible XML parsers. So to an > extent solving the general problem isn't necessary -- we can always > point people to SSAX. But that's a bit rude ;) so if there are common > patterns we should try to capture them in xml->sxml. I see this bug as > being a search for those patterns, but without the requirement of > solving the problem in its most general form. It's (sxml simple), after all. I too hesitate to stuff too much into it. For me, a documented "no, we don't do namespaces" would be one valid pattern. > > - It would be super-nice if the XML parser could put that > > into the same nodes it found it [...] > ACK. > > > - At sxml->xml time there should be a way to somehow > > generate prefixex [...] > ACK. > > What do you think the next step is? I am happy to wait FWIW, dunno if > Ricardo has any feelings here. We meet this afternoon anyway. On my side, I'd be happy to try something along the sketched lines when I'm back. If someone who cares beats me at it, I'd be as happy. > Enjoy your holiday :) Looking forward to. BTW: if I understood properly the area you're living in, we'll cycle past you (somewhat to the West) on our way to the north. Regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAleHaNcACgkQBcgs9XrR2kaQgQCaAzyyBkI3w0XGJ0HUI9Dz/YXa 7yQAni4CWIDE5ezu+x0DwanoAjfH4Wr2 =DEuD -----END PGP SIGNATURE-----