14#ifndef __XML_CHVALID_H__
15#define __XML_CHVALID_H__
64#define xmlIsBaseChar_ch(c) (((0x41 <= (c)) && ((c) <= 0x5a)) || \
65 ((0x61 <= (c)) && ((c) <= 0x7a)) || \
66 ((0xc0 <= (c)) && ((c) <= 0xd6)) || \
67 ((0xd8 <= (c)) && ((c) <= 0xf6)) || \
76#define xmlIsBaseCharQ(c) (((c) < 0x100) ? \
77 xmlIsBaseChar_ch((c)) : \
78 xmlCharInRange((c), &xmlIsBaseCharGroup))
88#define xmlIsBlank_ch(c) (((c) == 0x20) || \
89 ((0x9 <= (c)) && ((c) <= 0xa)) || \
98#define xmlIsBlankQ(c) (((c) < 0x100) ? \
99 xmlIsBlank_ch((c)) : 0)
108#define xmlIsChar_ch(c) (((0x9 <= (c)) && ((c) <= 0xa)) || \
118#define xmlIsCharQ(c) (((c) < 0x100) ? \
120 (((0x100 <= (c)) && ((c) <= 0xd7ff)) || \
121 ((0xe000 <= (c)) && ((c) <= 0xfffd)) || \
122 ((0x10000 <= (c)) && ((c) <= 0x10ffff))))
132#define xmlIsCombiningQ(c) (((c) < 0x100) ? \
134 xmlCharInRange((c), &xmlIsCombiningGroup))
144#define xmlIsDigit_ch(c) (((0x30 <= (c)) && ((c) <= 0x39)))
152#define xmlIsDigitQ(c) (((c) < 0x100) ? \
153 xmlIsDigit_ch((c)) : \
154 xmlCharInRange((c), &xmlIsDigitGroup))
164#define xmlIsExtender_ch(c) (((c) == 0xb7))
172#define xmlIsExtenderQ(c) (((c) < 0x100) ? \
173 xmlIsExtender_ch((c)) : \
174 xmlCharInRange((c), &xmlIsExtenderGroup))
184#define xmlIsIdeographicQ(c) (((c) < 0x100) ? \
186 (((0x4e00 <= (c)) && ((c) <= 0x9fa5)) || \
188 ((0x3021 <= (c)) && ((c) <= 0x3029))))
199#define xmlIsPubidChar_ch(c) (xmlIsPubidChar_tab[(c)])
207#define xmlIsPubidCharQ(c) (((c) < 0x100) ? \
208 xmlIsPubidChar_ch((c)) : 0)
XMLPUBFUN int xmlIsCombining(unsigned int ch)
XMLPUBFUN int xmlIsChar(unsigned int ch)
XMLPUBVAR const xmlChRangeGroup xmlIsBaseCharGroup
XMLPUBVAR const xmlChRangeGroup xmlIsCombiningGroup
XMLPUBFUN int xmlIsBaseChar(unsigned int ch)
XMLPUBFUN int xmlIsDigit(unsigned int ch)
xmlChSRange * xmlChSRangePtr
XMLPUBFUN int xmlIsIdeographic(unsigned int ch)
XMLPUBVAR const xmlChRangeGroup xmlIsExtenderGroup
XMLPUBVAR const xmlChRangeGroup xmlIsIdeographicGroup
XMLPUBVAR const xmlChRangeGroup xmlIsCharGroup
XMLPUBVAR const unsigned char xmlIsPubidChar_tab[256]
xmlChRangeGroup * xmlChRangeGroupPtr
XMLPUBFUN int xmlIsExtender(unsigned int ch)
xmlChLRange * xmlChLRangePtr
XMLPUBVAR const xmlChRangeGroup xmlIsDigitGroup
XMLPUBFUN int xmlCharInRange(unsigned int val, const xmlChRangeGroup *group)
XMLPUBFUN int xmlIsBlank(unsigned int ch)
XMLPUBFUN int xmlIsPubidChar(unsigned int ch)
const xmlChLRange * longRange
const xmlChSRange * shortRange