abla/xml/chars

Generated from source.

Import with import "abla/xml/chars".

Source: abla/xml/chars/entry.ab

xmlNamespaceXml (val)

val xmlNamespaceXml

The reserved namespace URI bound to the xml prefix.

xmlNamespaceXmlns (val)

val xmlNamespaceXmlns

The reserved namespace URI used for namespace declarations.

xmlIsChar (fun)

fun xmlIsChar(cp: int): bool

[2] Char

xmlIsSpace (fun)

fun xmlIsSpace(byte: int): bool

[3] S, on one byte

xmlIsNameStart (fun)

fun xmlIsNameStart(cp: int): bool

[4] NameStartChar

xmlIsNameChar (fun)

fun xmlIsNameChar(cp: int): bool

[4a] NameChar

xmlUtf8Size (fun)

fun xmlUtf8Size(lead: int): int

The byte length of the sequence a valid UTF-8 lead byte starts.

xmlCodePointAt (fun)

fun xmlCodePointAt(text: string, offset: int): int

The code point at a boundary of text already known to be valid UTF-8.

xmlFirstInvalidChar (fun)

fun xmlFirstInvalidChar(text: string): int

The offset of the first byte that isn't part of valid UTF-8 encoding an XML Char, or -1 when every character is allowed.

xmlIsName (fun)

fun xmlIsName(text: string): bool

[5] Name. The text must be valid UTF-8; invalid text is not a name.

xmlIsNcName (fun)

fun xmlIsNcName(text: string): bool

[4] NCName of Namespaces in XML: a Name without a colon.

xmlIsQName (fun)

fun xmlIsQName(text: string): bool

[7] QName of Namespaces in XML: an NCName, or two joined by one colon.

xmlPrefixOf (fun)

fun xmlPrefixOf(qname: string): string

Returns the portion of a qualified name before the first colon, or an empty string if it has none.

xmlLocalOf (fun)

fun xmlLocalOf(qname: string): string

Returns the portion of a qualified name after the first colon, or the full name if it has none.

xmlNamespaceDeclarationError (fun)

fun xmlNamespaceDeclarationError(prefix: string, uri: string): string

Why a namespace declaration is forbidden (Namespaces in XML section 3), or "" when it is allowed. The empty prefix declares the default namespace.

xmlHasDuplicate (fun)

fun xmlHasDuplicate(keys: array<string>): bool

Whether any key occurs twice.

Built from Abla v0.2.79 source ba5d6b7d. Examples and generated signatures follow that source revision.