Skip to main content

Module reader

Module reader 

Source
Expand description

Streaming reader for CIM/XML instance documents (IEC 61970-552).

IEC 61970-552 constrains RDF/XML to a small, regular subset: a flat rdf:RDF root containing a header and a list of objects, where each object is a class element whose property children are either element text or a single rdf:resource. A purpose-built pull parser over that subset is both much faster and much simpler than a general RDF toolchain, and it never holds the document in memory.

Structs§

ReadOptions
Options controlling a read.
ReadOutcome
Result of reading one document.

Enums§

Strictness
How strictly to treat schema deviations while reading.

Functions§

read_difference
Read a difference model document.
read_header
Read only the header of a document, without storing objects.
read_into
Read a CIM/XML document into dataset, merging with what is already loaded.
sniff
Identify which schema vintage a document is written against, reading only its root.