Re: DOCTYPE + SAX

2011-04-10 Thread jdownie
What you suggested solved my problem, but unfortunately it did reveal that the HTML that I was parsing was not compliant with the DTD that it should have been. There were a lot of missing end tags. In light of this frustrating problem i've gone back to the source docbook code. There are many is

Re: DOCTYPE + SAX

2011-04-09 Thread jdownie
On Apr 10, 1:47 am, Alain Ketterlin wrote: > jdownie writes: > > I'm trying to get xml.sax to interpret a file that begins with… > > > >www.w3.org/TR/html4/loose.dtd"> > > > After a while I get... > > >http://www.w3.org/TR/html4/loose.dtd:31

DOCTYPE + SAX

2011-04-09 Thread jdownie
I'm trying to get xml.sax to interpret a file that begins with… After a while I get... http://www.w3.org/TR/html4/loose.dtd:31:2: error in processing external entity reference …although… time curl http://www.w3.org/TR/html4/loose.dtd …gives… real0m26.888s user0m0.006s sys 0m0.01