internal/

directory
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: MIT

Directories

Path Synopsis
Package charset decides the character encoding of an HTML document and decodes it to UTF-8, keeping a map from offsets in the decoded text back to offsets in the source bytes.
Package charset decides the character encoding of an HTML document and decodes it to UTF-8, keeping a map from offsets in the decoded text back to offsets in the source bytes.
Package draft writes a draft profile from what an XML Schema declares, for a person to finish.
Package draft writes a draft profile from what an XML Schema declares, for a person to finish.
Package dtd reads a document type declaration for what an XML reader that loads nothing needs from it: the external subset's identifiers and the general entities the internal subset declares.
Package dtd reads a document type declaration for what an XML reader that loads nothing needs from it: the external subset's identifiers and the general entities the internal subset declares.
Package engine reads a document with a profile (PROFILE_FORMAT.md): it consumes the element events of package xmlread, as the generic reader does, and makes the blocks the profile's rules say.
Package engine reads a document with a profile (PROFILE_FORMAT.md): it consumes the element events of package xmlread, as the generic reader does, and makes the blocks the profile's rules say.
Package entity resolves HTML character references: the named references of the WHATWG HTML standard (section 13.5, embedded from entities.txt) and the numeric ones with the standard's replacement rules.
Package entity resolves HTML character references: the named references of the WHATWG HTML standard (section 13.5, embedded from entities.txt) and the numeric ones with the standard's replacement rules.
Package generic builds blocks from XML with no knowledge of its schema (README, "How XML maps without a profile"), and holds the part writer every consumer of element events shares.
Package generic builds blocks from XML with no knowledge of its schema (README, "How XML maps without a profile"), and holds the part writer every consumer of element events shares.
Package profile loads and validates profiles (PROFILE_FORMAT.md): JSON files that map the elements of one XML schema to the shared model.
Package profile loads and validates profiles (PROFILE_FORMAT.md): JSON files that map the elements of one XML schema to the shared model.
Package xmlenc decides the character encoding of an XML document and decodes it to UTF-8 as a stream.
Package xmlenc decides the character encoding of an XML document and decodes it to UTF-8 as a stream.
Package xmlread turns the scanner's tokens into element events for a consumer that builds blocks, and keeps what every consumer needs: the stack of open elements with their names, namespaces, attributes, xml:space and offsets; the document type declaration and its entities; and the counts of what the file holds that is reported rather than read (external references, processing instructions, repairs, cuts).
Package xmlread turns the scanner's tokens into element events for a consumer that builds blocks, and keeps what every consumer needs: the stack of open elements with their names, namespaces, attributes, xml:space and offsets; the document type declaration and its entities; and the counts of what the file holds that is reported rather than read (external references, processing instructions, repairs, cuts).
Package xmlscan is a streaming pull tokenizer for XML.
Package xmlscan is a streaming pull tokenizer for XML.
Package xsd reads an XML Schema (XSD 1.0) as data, with this module's own XML reader, far enough to say what elements a schema declares and what each may contain: global and local elements, named and anonymous types, derivation by extension and restriction, groups and attribute groups, substitution groups, wildcards and the types of attributes.
Package xsd reads an XML Schema (XSD 1.0) as data, with this module's own XML reader, far enough to say what elements a schema declares and what each may contain: global and local elements, named and anonymous types, derivation by extension and restriction, groups and attribute groups, substitution groups, wildcards and the types of attributes.

Jump to

Keyboard shortcuts

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