Re: sxml simple, sxml->xml and namespaces

2016-06-21 Thread Andy Wingo
Hi, On Tue 21 Jun 2016 22:36, Ricardo Wurmus writes: > This is the same patch I sent to the discussion of bug#20339 about a > year ago. Yeah sorry for the miscommunication; two lists, split brain. > The patch is not very ambitious: it only gives the user a way around the > error by letting the

Re: sxml simple, sxml->xml and namespaces

2016-06-21 Thread Ricardo Wurmus
Andy Wingo writes: > On Mon 20 Jun 2016 12:52, Ricardo Wurmus writes: > >> Andy Wingo writes: >> >>> Apologies for the long delay here. I'm with you regarding namespaces >>> and sxml->xml. In the past I made sure to always get the namespaces >>> attached to the root element via the @ xmlns a

Re: sxml simple, sxml->xml and namespaces

2016-06-20 Thread Andy Wingo
On Mon 20 Jun 2016 12:52, Ricardo Wurmus writes: > Andy Wingo writes: > >> Apologies for the long delay here. I'm with you regarding namespaces >> and sxml->xml. In the past I made sure to always get the namespaces >> attached to the root element via the @ xmlns attributes, and then have >> na

Re: sxml simple, sxml->xml and namespaces

2016-06-20 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Jun 20, 2016 at 12:52:47PM +0200, Ricardo Wurmus wrote: [...] > Here is another proposal, mirroring what is done in “xml->sxml”: > Hey, thanks, Ricardo! Let me have a look at your patch and see whether I can wrap my head around it :-) I'l

Re: sxml simple, sxml->xml and namespaces

2016-06-20 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Jun 20, 2016 at 10:56:26AM +0200, Andy Wingo wrote: > Greetings gentle Guiler, > > Apologies for the long delay here. No worries. Thanks for looking into it. I'm myself deeply embroiled in things (not Guile, alas!) so my response times might

Re: sxml simple, sxml->xml and namespaces

2016-06-20 Thread Ricardo Wurmus
Andy Wingo writes: > Apologies for the long delay here. I'm with you regarding namespaces > and sxml->xml. In the past I made sure to always get the namespaces > attached to the root element via the @ xmlns attributes, and then have > namespaced uses just be local names, not qnames, and that w

Re: sxml simple, sxml->xml and namespaces

2016-06-20 Thread Andy Wingo
Greetings gentle Guiler, Apologies for the long delay here. I'm with you regarding namespaces and sxml->xml. In the past I made sure to always get the namespaces attached to the root element via the @ xmlns attributes, and then have namespaced uses just be local names, not qnames, and that way s

sxml simple, sxml->xml and namespaces

2015-04-08 Thread tomas
Gentle guile folks, I'm playing around with (sxml simple) and stumbled upon something I think might be a bug. Consider the following snippet: #!/usr/bin/guile -s !# (use-modules (sxml simple)) ;; An XML with two namespaces (one default) (define the-svg " ") ;; Note h