Skip to main content

Module parser

Module parser 

Source
Expand description

Generic well-formed XML loader for DDS-XML 1.0 §7.1.

Cluster-F foundation: provides a roxmltree-based parser that adheres to the well-formedness rules from §7.1.1 (UTF-8, whitespace-tolerant, comment-stripping, namespace-aware) and stores the result in a generic DdsXmlDocument container.

Building-block-specific decoders (QoS library, types, domains, participants, applications, samples) build on this container (Cluster G/H/I/J in docs/spec-coverage/zerodds-xml-1.0.open.md).

Structs§

DdsXmlDocument
Generic in-memory container for a DDS-XML document per §7.1.
XmlElement
A single XML element per §7.1.4 / §7.1.5 (element + attributes).

Constants§

DDS_XML_NS
DDS-XML 1.0 spec namespace for building-block top-level elements.
MAX_LIST_ELEMENTS
DoS cap for list elements (children per node).
MAX_TOTAL_ELEMENTS
DoS cap for the total node count per document.
MAX_TREE_DEPTH
DoS cap for the recursive tree depth.

Functions§

parse_xml_tree
Parses a DDS-XML 1.0 document per §7.1.