#include "dtd.h"
#include "input.h"
Go to the source code of this file.
|
| enum | xbit_type {
XBIT_dtd,
XBIT_start,
XBIT_empty,
XBIT_end,
XBIT_eof,
XBIT_pcdata,
XBIT_pi,
XBIT_comment,
XBIT_cdsect,
XBIT_xml,
XBIT_error,
XBIT_warning,
XBIT_none,
XBIT_enum_count
} |
| |
| enum | cp_type { CP_pcdata,
CP_name,
CP_seq,
CP_choice
} |
| |
| enum | parser_flag {
ExpandCharacterEntities,
ExpandGeneralEntities,
XMLPiEnd,
XMLEmptyTagEnd,
XMLPredefinedEntities,
ErrorOnUnquotedAttributeValues,
NormaliseAttributeValues,
NormalizeAttributeValues,
ErrorOnBadCharacterEntities,
ErrorOnUndefinedEntities,
ReturnComments,
CaseInsensitive,
ErrorOnUndefinedElements,
WarnOnUndefinedElements,
ErrorOnUndefinedAttributes,
WarnOnUndefinedAttributes,
WarnOnRedefinitions,
TrustSDD,
XMLExternalIDs,
ReturnDefaultedAttributes,
MergePCData,
XMLMiscWFErrors,
XMLStrictWFErrors,
AllowMultipleElements,
CheckEndTagsMatch,
IgnoreEntities,
XMLLessThan
} |
| |
| enum | parse_state {
PS_prolog1,
PS_prolog2,
PS_body,
PS_epilog,
PS_end,
PS_error
} |
| |
| #define xml_encoding_name s2 |
| #define xml_standalone i1 |
| #define ParserGetFlag |
( |
|
p, |
|
|
|
flag |
|
) |
| ((p)->flags & (1 << (flag))) |
| typedef void CallbackProc(XBit bit, void *arg) |
| typedef InputSource EntityOpenerProc(Entity e, void *arg) |
| Enumerator |
|---|
| XBIT_dtd |
|
| XBIT_start |
|
| XBIT_empty |
|
| XBIT_end |
|
| XBIT_eof |
|
| XBIT_pcdata |
|
| XBIT_pi |
|
| XBIT_comment |
|
| XBIT_cdsect |
|
| XBIT_xml |
|
| XBIT_error |
|
| XBIT_warning |
|
| XBIT_none |
|
| XBIT_enum_count |
|
Definition at line 34 of file xmlparser.h.
| Enumerator |
|---|
| CP_pcdata |
|
| CP_name |
|
| CP_seq |
|
| CP_choice |
|
Definition at line 52 of file xmlparser.h.
| Enumerator |
|---|
| ExpandCharacterEntities |
|
| ExpandGeneralEntities |
|
| XMLPiEnd |
|
| XMLEmptyTagEnd |
|
| XMLPredefinedEntities |
|
| ErrorOnUnquotedAttributeValues |
|
| NormaliseAttributeValues |
|
| NormalizeAttributeValues |
|
| ErrorOnBadCharacterEntities |
|
| ErrorOnUndefinedEntities |
|
| ReturnComments |
|
| CaseInsensitive |
|
| ErrorOnUndefinedElements |
|
| WarnOnUndefinedElements |
|
| ErrorOnUndefinedAttributes |
|
| WarnOnUndefinedAttributes |
|
| WarnOnRedefinitions |
|
| TrustSDD |
|
| XMLExternalIDs |
|
| ReturnDefaultedAttributes |
|
| MergePCData |
|
| XMLMiscWFErrors |
|
| XMLStrictWFErrors |
|
| AllowMultipleElements |
|
| CheckEndTagsMatch |
|
| IgnoreEntities |
|
| XMLLessThan |
|
Definition at line 99 of file xmlparser.h.
| Enumerator |
|---|
| PS_prolog1 |
|
| PS_prolog2 |
|
| PS_body |
|
| PS_epilog |
|
| PS_end |
|
| PS_error |
|
Definition at line 132 of file xmlparser.h.
| XML_API void FreeParser |
( |
Parser |
p | ) |
|
| XML_API Entity ParserRootEntity |
( |
Parser |
p | ) |
|
| XML_API InputSource ParserRootSource |
( |
Parser |
p | ) |
|
| XBit ReadXTree |
( |
Parser |
p | ) |
|
| void FreeXTree |
( |
XBit |
tree | ) |
|
| XML_API XBit ParseDtd |
( |
Parser |
p, |
|
|
Entity |
e |
|
) |
| |
| XML_API void ParserSetCallbackArg |
( |
Parser |
p, |
|
|
void * |
arg |
|
) |
| |
| XML_API int ParserPush |
( |
Parser |
p, |
|
|
InputSource |
source |
|
) |
| |
| XML_API void ParserPerror |
( |
Parser |
p, |
|
|
XBit |
bit |
|
) |
| |