Re: [XML-SIG] problem in ElementTree SubElement

2006-02-08 Thread Fredrik Lundh
Dan Gunter wrote: > Right, in general XML processors don't care about attribute order (I > don't know much about canonicalization but that does sound like the > obvious exception). http://www.w3.org/TR/xml-c14n says to sort lexicographically on (namespace uri, local tag). (which, of course, is e

[XML-SIG] Encoding detection in the html parser from libxml2

2006-02-08 Thread Cesar Ortiz
Hi, I am parsing html documents using the html parser from libxml2, and if the encoding is included in the document it works perfectly but if it is not, I think it does not work well (probably because I am doing something wrong). As it is said in http://xmlsoft.org/encoding.html the parser s

Re: [XML-SIG] Encoding detection in the html parser from libxml2

2006-02-08 Thread Daniel Veillard
On Wed, Feb 08, 2006 at 11:46:01AM +0100, Cesar Ortiz wrote: > Hi, > > I am parsing html documents using the html parser from libxml2, and if > the encoding is included in the document it works perfectly but if it > is not, I think it does not work well (probably because I am doing > something wro