hxt-charproperties-9.5.0.0: Character properties and classes for XML and Unicode
CopyrightCopyright (C) 2010 - Uwe Schmidt
LicenseMIT
MaintainerUwe Schmidt (uwe@fh-wedel.de)
Stabilitystable
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Char.Properties.XMLCharProps

Description

XML character properties

Synopsis

Documentation

isXmlChar :: Char -> Bool Source #

checking for valid XML characters

isXmlCharCR :: Char -> Bool Source #

checking for valid XML characters, except CR

isXml1ByteChar :: Char -> Bool Source #

check for a legal 1 byte XML char

isXmlLatin1Char :: Char -> Bool Source #

test for a legal latin1 XML char

isXmlSpaceChar :: Char -> Bool Source #

checking for XML space character: \n, \r, \t and " "

isXmlSpaceCharCR :: Char -> Bool Source #

checking for XML space character: \n, \t and " "

isXml11SpaceChar :: Char -> Bool Source #

checking for XML1.1 space character: additional space 0x85 and 0x2028

see also : isXmlSpaceChar

isXmlNameChar :: Char -> Bool Source #

checking for XML name character

isXmlNameStartChar :: Char -> Bool Source #

checking for XML name start character

see also : isXmlNameChar

isXmlNCNameChar :: Char -> Bool Source #

checking for XML NCName character: no ":" allowed

see also : isXmlNameChar

isXmlNCNameStartChar :: Char -> Bool Source #

checking for XML NCName start character: no ":" allowed

see also : isXmlNameChar, isXmlNCNameChar

isXmlPubidChar :: Char -> Bool Source #

checking for XML public id character

isXmlLetter :: Char -> Bool Source #

checking for XML letter

isXmlBaseChar :: Char -> Bool Source #

checking for XML base charater

isXmlIdeographicChar :: Char -> Bool Source #

checking for XML ideographic charater

isXmlCombiningChar :: Char -> Bool Source #

checking for XML combining charater

isXmlDigit :: Char -> Bool Source #

checking for XML digit

isXmlExtender :: Char -> Bool Source #

checking for XML extender

isXmlControlOrPermanentlyUndefined :: Char -> Bool Source #

checking for XML control or permanently discouraged char

see Errata to XML1.0 (http://www.w3.org/XML/xml-V10-2e-errata) No 46

Document authors are encouraged to avoid "compatibility characters", as defined in section 6.8 of [Unicode] (see also D21 in section 3.6 of [Unicode3]). The characters defined in the following ranges are also discouraged. They are either control characters or permanently undefined Unicode characters: