Skip to main content

Crate adf

Crate adf 

Source
Expand description

Lightweight ADF-XML parsing and writing.

The crate exposes a domain model for ADF 1.0 while retaining the original input for byte-for-byte output when a document has not been rewritten.

Structs§

Address
Adf
AdfDocument
Attribute
ColorCombination
Contact
Customer
Finance
Id
Name
ParseOptions
Options controlling how strictly [parse_with] treats the input.
Price
Prospect
Provider
Span
TextElement
Timeframe
ValidationIssue
ValidationOptions
ValidationReport
Vehicle
VehicleOption
Vendor
XmlElement

Enums§

Error
Severity
TextPart
XmlNode

Constants§

DEFAULT_MAX_DOCTYPE_LEN
Default ceiling, in bytes, on the length of a <!DOCTYPE …> declaration’s internal subset. Legitimate ADF documents rarely carry a DTD at all; the cap keeps entity-definition payloads bounded while leaving room for a small internal subset.

Functions§

parse
Parse an ADF-XML document with the default ParseOptions.
parse_with
Parse an ADF-XML document with explicit ParseOptions.
validate
validate_with

Type Aliases§

Result