Re: [XML-SIG] problem with elementtree 1.2.6

2007-11-30 Thread Martin v. Löwis
>> What is not in the Information Set >> >> 6. Whether characters are represented by character references. >> 19. The boundaries of CDATA marked sections. >> ... > > I'm not sure I follow what you're trying to say... That it is irrelevant in XML whether the less-than character

Re: [XML-SIG] problem with elementtree 1.2.6

2007-11-29 Thread Martin v. Löwis
> What extra hooks get called as a result of calling UseForeignDTD? Expat will invoke the ExternalEntityRefHandler with both pubid and sysid set to None, if there is no DOCTYPE declaration in the document. Regards, Martin ___ XML-SIG maillist - XML-SI

Re: [XML-SIG] problem with elementtree 1.2.6

2007-11-29 Thread Chris Withers
Fredrik Lundh wrote: > Chris Withers wrote: > >>> That's how escaping works, be it in XML, encodings, compression, whatever. >> Well yes and no. I'd expect escaping to work such that whatever we're >> dealing with can be round tripped, ie: parsed, serialiazed, parsed >> again, etc. > > that's e

Re: [XML-SIG] problem with elementtree 1.2.6

2007-11-28 Thread Fredrik Lundh
Chris Withers wrote: >> That's how escaping works, be it in XML, encodings, compression, whatever. > > Well yes and no. I'd expect escaping to work such that whatever we're > dealing with can be round tripped, ie: parsed, serialiazed, parsed > again, etc. that's exactly how it works in ET, of

Re: [XML-SIG] problem with elementtree 1.2.6

2007-11-28 Thread Chris Withers
Stefan Behnel wrote: > Chris Withers wrote: >>> the following entities are predefined: & (&) < (<) > (>) >>> " (") ' ('). >> Okay, so in the above, if I really mean <, the xml should be: >> '</>' >> >> Seems a little clunky, but okay... > > That's how escaping works, be it in XML, encodings

Re: [XML-SIG] problem with elementtree 1.2.6

2007-11-27 Thread Stefan Behnel
Chris Withers wrote: >> the following entities are predefined: & (&) < (<) > (>) >> " (") ' ('). > > Okay, so in the above, if I really mean <, the xml should be: > '</>' > > Seems a little clunky, but okay... That's how escaping works, be it in XML, encodings, compression, whatever. >

Re: [XML-SIG] problem with elementtree 1.2.6

2007-11-27 Thread Chris Withers
Fredrik Lundh wrote: >> Sorry if this should go to a list, I couldn't find one... >> (please send me that way if there is one...) > > python-list/comp.lang.python or xml-sig are good choices. OK, lets go with xml-sig :) >> I've bumped into an annoying problem, which I actually think is a >> prob