Can SAX parser return <!-- COMMENTS --> ???

Martin von Loewis loewis at informatik.hu-berlin.de
Mon Mar 5 05:24:14 EST 2001


Piet van Oostrum <piet at cs.uu.nl> writes:

> MvL> It is a matter of ongoing debate whether applications should even deal
> MvL> with comments; if an application needs XML comments for proper
> MvL> operation, something is wrong with that application.
> 
> What about a prettyprinter? Doesn't that count as an application?

Sure. But why does it have to preserve comments?

Regards,
Martin



More information about the Python-list mailing list