Expand description
SAX2 events and an xmllint --sax debug dump.
Structured equality is the gate. The debug printer exists so a line-for-line
diff against pinned xmllint --sax is possible; C’s %.4s attribute quirk
(reads past the value into the input) is reproduced when value_input_off is set.
Structs§
- NullSax
- A handler that discards every callback, using the trait’s default bodies.
- SaxAttr
- Attribute as delivered to
startElementNs. - SaxRecorder
- Records every callback for the event-exact gate.
Enums§
- SaxEvent
- One SAX2 callback as recorded for the event-exact gate.
Traits§
- SaxHandler
- SAX2 handler. Default methods are no-ops so a recorder can override a subset.
Functions§
- event_
to_ xmllint_ debug - Format one event the way pinned xmllint
--saxprints it. - xml_
sax2_ init_ default_ sax_ handler xmlSAX2InitDefaultSAXHandleris a no-op beyond constructing a recorder.- xml_
sax_ version xmlSAXVersion— we speak SAX2.