Skip to main content

Module xml

Module xml 

Source
Expand description

Native XML input validation and declaration-aware result output.

Enums§

XmlOption
SQL/XML input mode selected by the invoking session’s xmloption.

Functions§

output_with_control
Serialize an admitted XML value for UTF-8 text results. XML-to-text casts retain the stored bytes instead; serialization removes encoding and an unnecessary default declaration.
validate
Validate a UTF-8 XML datum without rewriting its stored spelling. Parser contexts own their error and external-resource handlers; no process-global callbacks are replaced.
validate_with_control
Validate while charging native parser allocations and checking both cancellation owners between bounded input reads and allocations.
validate_with_notices
Validate with the invoking operation’s notice sink. Notices are forwarded after the native parser has released its context, including when input ultimately fails.