Expand description
AST validation: Document::validate walks the tree and reports each
invalid or unsupported node shape as a Diagnostic. Serialization and HTML
rendering run this first and refuse an invalid document.
AST validation: Document::validate walks the tree and reports each
invalid or unsupported node shape as a Diagnostic. Serialization and HTML
rendering run this first and refuse an invalid document.