htmllib: CR in CDATA

Mark Nottingham mnot at pobox.com
Tue Jun 22 18:39:07 EDT 1999


> 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.

Cheers,





More information about the Python-list mailing list