htmllib: CR in CDATA

Fredrik Lundh fredrik at pythonware.com
Thu Jun 24 12:58:33 EDT 1999


Mark Nottingham wrote:
> > imho, it's pretty reasonable for an SGML parser to
> > behave like an XML parser: split the document up
> > into pieces, but pass them all to the application as
> > untouched as possible. if you wish to implement
> > additional behaviour, do that on the application
> > level. otherwise, you'll end up in a situation where
> > some users cannot use the standard library...
> 
> I see your point. I suppose in a perfect world, the standards would be
> coherent enough that these kinds of choices wouldn't have to be made; this
> shouldn't have to be additional behaviour.

well, I guess this is one of the main reasons why
XML was invented...

</F>





More information about the Python-list mailing list