#[repr(C)]pub struct XmlCatalogHandle {
pub entries: Vec<CatalogEntry>,
pub children: Vec<CatalogEntry>,
pub sgml: c_int,
}Expand description
Candidate-internal per-handle catalog (xmlCatalogPtr, opaque upstream).
§UPSTREAM-PARITY
Upstream keeps two levels per handle: catal->xml->children — the entry
list consulted by xmlCatalogIsEmpty and populated only by
xmlACatalogAdd — and the loaded document structure consulted by
xmlACatalogResolve*. Observable consequence (verified against the system
DSO): a freshly xmlLoadACatalog-ed handle reports xmlCatalogIsEmpty()==1
even when it resolves entries, flipping to 0 only after an API add. The
candidate mirrors this with children (isEmpty source) and entries
(resolve source).
Fields§
§entries: Vec<CatalogEntry>Entry list consulted by xmlACatalogResolve* (the resolve source).
children: Vec<CatalogEntry>Entry list consulted by xmlCatalogIsEmpty; populated only by
xmlACatalogAdd.
sgml: c_intNon-zero when the handle holds an SGML (SOLEX) format catalog
(cleared by xmlConvertSGMLCatalog).