Skip to main content

Module reader

Module reader 

Source
Expand description

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

IEC 61970-552 restricts RDF/XML to a flat rdf:RDF root holding a header and objects whose properties are element text or one rdf:resource. A pull parser over that subset is faster and simpler than a general RDF toolchain and never holds the document.

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, bounded by options like any instance file.
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.