comect.sidecar.filters.xml module

class comect.sidecar.filters.xml.XMLFilter

Bases: comect.sidecar.filters.base.Filter

A filter that rejects lines that aren’t valid, well-formed XML.

If you are also parsing these lines, then it may be more efficient to just use the XMLParser and allow the exception to propagate.