openbim-gaeb
Pure-Rust, lossless GAEB DA XML recognition, inspection, and focused editing.
Implemented
- GAEB DA XML
3.1,3.2,3.3, and3.4beta detection; - namespace,
<Version>, and<DP>evidence with mismatch diagnostics; - byte-identical unchanged round trips, including BOM, comments, prefixes, whitespace, and unknown extensions;
- common BoQ item summaries;
- atomic
<Qty>edits by unique item ID.
The crate does not claim full XSD bindings, XSD validation, or business-rule validation.
Example
use Document;
let xml = br#"<GAEB xmlns="http://www.gaeb.de/GAEB_DA_XML/DA86/3.3">
<GAEBInfo><Version>3.3</Version></GAEBInfo>
<Award><DP>86</DP><Item ID="i-1"><Qty>1.000</Qty></Item></Award>
</GAEB>"#;
let mut document = parse?;
document.set_item_quantity?;
assert!;
# Ok::
The canonical repository is https://github.com/openbimrs/gaeb.
License
MIT