[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sxml simple, sxml->xml and namespaces

From: Andy Wingo
Subject: Re: sxml simple, sxml->xml and namespaces
Date: Mon, 20 Jun 2016 14:11:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

On Mon 20 Jun 2016 12:52, Ricardo Wurmus <address@hidden> writes:

> Andy Wingo <address@hidden> 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 way sxml->xml
>> works fine.  But, perhaps that doesn't cover all cases in a nice way.
>> Do you still have thoughts on this patch?  Is the right thing for you?
>> In any case we need better documentation in the manual about how to deal
>> with namespaces and SXML, in practice, with examples.
> Here is another proposal, mirroring what is done in “xml->sxml”:

Neat!  Can you elaborate on how it is supposed to work?  In a final form
it would need documentation, tests, and an update to the docstring, but
I'd be interested in some xml->sxml->xml round trips as an example.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]