1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//! `openbim-icdd` — ISO 21597 Information Container for linked Document Delivery.
//!
//! ICDD is a ZIP container holding opaque payload documents plus RDF/XML that
//! describes those documents and the links between their elements. This crate
//! owns that container boundary; it deliberately does not parse IFC, PDF, or
//! any other payload format.
//!
//! ZIP and RDF/XML are handled directly by maintained upstream crates (`zip`,
//! `oxrdfxml`, and `oxrdf`). OpenBIM.rs does not wrap those general formats in
//! home-grown XML or ZIP codec packages.
//!
//! # Implemented
//!
//! - deterministic ZIP reading and writing;
//! - neutral `Index.rdf` and linkset views;
//! - lazy, bounded payload access, streaming copies, and safe extraction;
//! - raw RDF graph parse/serialize APIs that preserve unknown RDF semantics;
//! - conformance diagnostics for the mandatory Part 1 layout.
pub use IcddError;
pub use ;
pub use ;
pub use IcddContainer;
pub use *;
pub use IcddArchiveBuilder;
/// Conventional path of the container index inside an ICDD archive.
pub const INDEX_PATH: &str = "Index.rdf";
/// Conventional directory holding ontology resources.
pub const ONTOLOGY_RESOURCES_DIR: &str = ONTOLOGY_DIR;
/// Conventional directory holding payload documents.
pub const PAYLOAD_DOCUMENTS_DIR: &str = PAYLOAD_DOCS_DIR;
/// Conventional directory holding linkset RDF graphs.
pub const PAYLOAD_TRIPLES_DIR: &str = PAYLOAD_TRIPLES_DIR;