dtdnote

package
v2.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2026 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package dtdnote carries the validity errors package xdm's parser finds but a tree cannot show to package dtd's Validate, without adding exported API to xdm. Some of what a DTD constrains is gone once a document is a tree: which attribute values the parser normalized or defaulted, whether white space in element content was written as a character reference or a CDATA section, and so on. The parser sees those facts as it reads and records the errors they make; Validate reports them with its own.

Package xdm sets Notes in its init, so it is non-nil wherever xdm is linked in. The values typed any are *xdm.Node: this package cannot import xdm, which imports it.

Index

Constants

This section is empty.

Variables

View Source
var Notes func(node any) iter.Seq2[any, string]

Notes yields the validity errors recorded while parsing the tree holding node, each with the node it concerns: an element, or the document node for an error about the document as a whole.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL