TokenTests
Helper functions for parsing XML fragments
Helper functions for parsing XML fragments
Value members
Concrete methods
These are 99% sure to be redundant but refactoring on the safe side.
These are 99% sure to be redundant but refactoring on the safe side.
See [5] of XML 1.0 specification.
Name ::= ( Letter | '_' ) (NameChar)*
See [5] of XML 1.0 specification.
See [4] and [4a] of Appendix B of XML 1.0 specification.
NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | #xB7
| CombiningChar | Extender
See [4] and [4a] of Appendix B of XML 1.0 specification.
where Letter means in one of the Unicode general
categories { Ll, Lu, Lo, Lt, Nl }
.
NameStart ::= ( Letter | '_' | ':' )
where Letter means in one of the Unicode general
categories { Ll, Lu, Lo, Lt, Nl }
.
We do not allow a name to start with :
.
See [4] and Appendix B of XML 1.0 specification
Returns true
if the encoding name is a valid IANA encoding.
This method does not verify that there is a decoder available
for this encoding, only that the characters are valid for an
IANA encoding name.
Returns true
if the encoding name is a valid IANA encoding.
This method does not verify that there is a decoder available
for this encoding, only that the characters are valid for an
IANA encoding name.
- Value Params
- ianaEncoding
The IANA encoding name.