45 xmlGenericError(xmlGenericErrorContext, \
46 "Unimplemented block at %s:%d\n", \
57 const char *str1 =
"out of memory\n";
62 schannel = ctxt->sax->serror;
63 __xmlRaiseError(schannel,
64 ctxt->vctxt.error, ctxt->vctxt.userData,
68 msg, (
const char *) str1,
NULL);
73 __xmlRaiseError(schannel,
78 msg, (
const char *) str1,
NULL);
98 if ((ctxt !=
NULL) && (ctxt->disableSAX != 0) &&
104 schannel = ctxt->sax->serror;
105 __xmlRaiseError(schannel,
106 ctxt->vctxt.error, ctxt->vctxt.userData,
109 (
const char *) str2,
NULL, 0, 0,
110 msg, (
const char *) str1, (
const char *) str2);
113 __xmlRaiseError(schannel,
117 (
const char *) str2,
NULL, 0, 0,
118 msg, (
const char *) str1, (
const char *) str2);
136 if ((ctxt !=
NULL) && (ctxt->disableSAX != 0) &&
143 (
const char *) str1, (
const char *) str2,
146 ctxt->wellFormed = 0;
148 if (ctxt->recovery == 0)
149 ctxt->disableSAX = 1;
167 if ((ctxt !=
NULL) && (ctxt->disableSAX != 0) &&
174 (
const char *) str1,
NULL,
191 if ((ctxt !=
NULL) && (ctxt->disableSAX != 0) &&
198 (
const char *) str1, (
const char *) str2,
332 "SAX.xmlSAX2InternalSubset(%s, %s, %s)\n",
333 name, ExternalID, SystemID);
349 xmlSAX2ErrMemory(ctxt,
"xmlSAX2InternalSubset");
369 "SAX.xmlSAX2ExternalSubset(%s, %s, %s)\n",
370 name, ExternalID, SystemID);
372 if (((ExternalID !=
NULL) || (SystemID !=
NULL)) &&
402 oldinput = ctxt->
input;
413 xmlSAX2ErrMemory(ctxt,
"xmlSAX2ExternalSubset");
414 ctxt->
input = oldinput;
460 ctxt->
input = oldinput;
506 "SAX.xmlSAX2ResolveEntity(%s, %s)\n", publicId, systemId);
510 (
const char *) publicId, ctxt);
534 "SAX.xmlSAX2GetEntity(%s)\n",
name);
554 "Entity(%s) document marked standalone but requires external subset\n",
584 "SAX.xmlSAX2GetParameterEntity(%s)\n",
name);
613 "SAX.xmlSAX2EntityDecl(%s, %d, %s, %s, %s)\n",
621 "Entity(%s) already defined in the internal subset\n",
641 "Entity(%s) already defined in the external subset\n",
name);
656 "SAX.xmlSAX2EntityDecl(%s) called while not in subset\n",
690 "SAX.xmlSAX2AttributeDecl(%s, %s, %d, %d, %s, ...)\n",
698 int tmp = ctxt->
valid;
700 "xml:id : attribute type should be ID\n",
NULL,
NULL);
705 ctxt->
vctxt.valid = 1;
716 "SAX.xmlSAX2AttributeDecl(%s) called while not in subset\n",
722#ifdef LIBXML_VALID_ENABLED
723 if (ctxt->
vctxt.valid == 0)
760 "SAX.xmlSAX2ElementDecl(%s, %d, ...)\n",
name,
type);
771 "SAX.xmlSAX2ElementDecl(%s) called while not in subset\n",
775#ifdef LIBXML_VALID_ENABLED
809 "SAX.xmlSAX2NotationDecl(%s, %s, %s)\n",
name, publicId, systemId);
812 if ((publicId ==
NULL) && (systemId ==
NULL)) {
814 "SAX.xmlSAX2NotationDecl(%s) externalID or PublicID missing\n",
825 "SAX.xmlSAX2NotationDecl(%s) called while not in subset\n",
829#ifdef LIBXML_VALID_ENABLED
858 "SAX.xmlSAX2UnparsedEntityDecl(%s, %s, %s, %s)\n",
859 name, publicId, systemId, notationName);
864 publicId, systemId, notationName);
868 "Entity(%s) already defined in the internal subset\n",
name);
884 publicId, systemId, notationName);
888 "Entity(%s) already defined in the external subset\n",
name);
903 "SAX.xmlSAX2UnparsedEntityDecl(%s) called while not in subset\n",
922 "SAX.xmlSAX2SetDocumentLocator()\n");
942 "SAX.xmlSAX2StartDocument()\n");
945#ifdef LIBXML_HTML_ENABLED
949 xmlSAX2ErrMemory(ctxt,
"xmlSAX2StartDocument");
956 "libxml2 built without HTML support\n");
975 xmlSAX2ErrMemory(ctxt,
"xmlSAX2StartDocument");
987 xmlSAX2ErrMemory(ctxt,
"xmlSAX2StartDocument");
1003 "SAX.xmlSAX2EndDocument()\n");
1006#ifdef LIBXML_VALID_ENABLED
1032#if defined(LIBXML_SAX1_ENABLED) || defined(LIBXML_HTML_ENABLED) || defined(LIBXML_WRITER_ENABLED) || defined(LIBXML_LEGACY_ENABLED)
1047 if ((ctxt !=
NULL) && (ctxt->disableSAX != 0) &&
1051 ctxt->errNo =
error;
1054 (
const char *) str1, (
const char *) str2,
1093 "invalid namespace declaration '%s'\n",
1097 "Avoid attribute ending with ':' like '%s'\n",
1108 xmlSAX2ErrMemory(ctxt,
"xmlSAX2StartElement");
1114#ifdef LIBXML_HTML_ENABLED
1122#ifdef LIBXML_VALID_ENABLED
1128 ctxt->
vctxt.valid = 1;
1129 nval = xmlValidCtxtNormalizeAttributeValue(&ctxt->
vctxt,
1132 if (ctxt->
vctxt.valid != 1) {
1146 (
name[0] ==
'x') && (
name[1] ==
'm') && (
name[2] ==
'l') &&
1147 (
name[3] ==
'n') && (
name[4] ==
's') && (
name[5] == 0)) {
1160 xmlSAX2ErrMemory(ctxt,
"xmlSAX2StartElement");
1178 "xmlns: %s not a valid URI\n",
val);
1183 "xmlns: URI %s is not absolute\n",
val);
1192#ifdef LIBXML_VALID_ENABLED
1200 ctxt->
node, prefix, nsret,
val);
1210 if ((!ctxt->
html) &&
1211 (
ns !=
NULL) && (
ns[0] ==
'x') && (
ns[1] ==
'm') && (
ns[2] ==
'l') &&
1212 (
ns[3] ==
'n') && (
ns[4] ==
's') && (
ns[5] == 0)) {
1225 xmlSAX2ErrMemory(ctxt,
"xmlSAX2StartElement");
1239 "Empty namespace name for prefix %s\n",
name,
NULL);
1247 "xmlns:%s: %s not a valid URI\n",
name,
value);
1251 "xmlns:%s: URI %s is not absolute\n",
name,
value);
1260#ifdef LIBXML_VALID_ENABLED
1282 if (
namespace ==
NULL) {
1284 "Namespace prefix %s of attribute %s is not defined\n",
1290 while (prop !=
NULL) {
1293 ((
namespace == prop->
ns) ||
1296 "Attribute %s in %s redefined\n",
1320 tmp =
ret->children;
1321 while (tmp !=
NULL) {
1329 ret->last =
ret->children;
1335#ifdef LIBXML_VALID_ENABLED
1352 ctxt->
valid &= xmlValidateOneAttribute(&ctxt->
vctxt,
1362 nvalnorm = xmlValidNormalizeAttributeValue(ctxt->
myDoc,
1364 if (nvalnorm !=
NULL) {
1369 ctxt->
valid &= xmlValidateOneAttribute(&ctxt->
vctxt,
1385 (
ret->children->next ==
NULL)) {
1397 if (xmlValidateNCName(
content, 1) != 0) {
1399 "xml:id : attribute value %s is not an NCName\n",
1430 if (elemDecl ==
NULL) {
1435process_external_subset:
1437 if (elemDecl !=
NULL) {
1447 if ((
attr->defaultValue !=
NULL) &&
1463 if (fulln ==
NULL) {
1464 xmlSAX2ErrMemory(ctxt,
"xmlSAX2StartElement");
1476 while (att !=
NULL) {
1485 "standalone: attribute %s on %s defaulted from external subset\n",
1486 (
const char *)fulln,
1487 (
const char *)
attr->elem);
1524 if ((tst ==
attr) || (tst ==
NULL)) {
1529 if (fulln ==
NULL) {
1530 xmlSAX2ErrMemory(ctxt,
"xmlSAX2StartElement");
1542 while (att !=
NULL) {
1550 xmlSAX2AttributeInternal(ctxt, fulln,
1551 attr->defaultValue, prefix);
1564 goto process_external_subset;
1594 "SAX.xmlSAX2StartElement(%s)\n",
fullname);
1607 "Validation failed: no DTD found !",
NULL,
NULL);
1627 xmlSAX2ErrMemory(ctxt,
"xmlSAX2StartElement");
1631#ifdef DEBUG_SAX_TREE
1651#ifdef DEBUG_SAX_TREE
1667#ifdef DEBUG_SAX_TREE
1669 "adding child %s to %s\n",
name,
parent->name);
1673#ifdef DEBUG_SAX_TREE
1675 "adding sibling %s to ",
name);
1689 xmlCheckDefaultedAttributes(ctxt,
name, prefix,
atts);
1700 if ((att[0] ==
'x') && (att[1] ==
'm') && (att[2] ==
'l') &&
1701 (att[3] ==
'n') && (att[4] ==
's'))
1702 xmlSAX2AttributeInternal(ctxt, att,
value, prefix);
1719 "Namespace prefix %s is not defined\n",
1740 while (att !=
NULL) {
1741 xmlSAX2AttributeInternal(ctxt, att,
value,
NULL);
1747 if ((att[0] !=
'x') || (att[1] !=
'm') || (att[2] !=
'l') ||
1748 (att[3] !=
'n') || (att[4] !=
's'))
1749 xmlSAX2AttributeInternal(ctxt, att,
value,
NULL);
1760#ifdef LIBXML_VALID_ENABLED
1766 ((ctxt->
vctxt.flags & XML_VCTXT_DTD_VALIDATED) == 0)) {
1769 chk = xmlValidateDtdFinal(&ctxt->
vctxt, ctxt->
myDoc);
1775 ctxt->
vctxt.flags |= XML_VCTXT_DTD_VALIDATED;
1815#ifdef LIBXML_VALID_ENABLED
1826#ifdef DEBUG_SAX_TREE
1870 if ((
len < (
int) (2 *
sizeof(
void *))) &&
1877 }
else if ((
len <= 3) && ((
cur ==
'"') || (
cur ==
'\'') ||
1878 ((
cur ==
'<') && (
str[
len + 1] !=
'!')))) {
1884 for (
i = 1;
i <
len;
i++) {
1894 if (intern ==
NULL) {
1897 xmlSAX2ErrMemory(ctxt,
"xmlSAX2TextNode");
1921#ifdef LIBXML_VALID_ENABLED
1995 ret->ns =
namespace;
1998 ret->name = localname;
2035 if (*valueend != 0) {
2037 ret->children = tmp;
2046 tmp =
ret->children;
2047 while (tmp !=
NULL) {
2059 ret->children = tmp;
2067#ifdef LIBXML_VALID_ENABLED
2075 dup = xmlSAX2DecodeAttrEntities(ctxt,
value, valueend);
2077 if (*valueend == 0) {
2078 ctxt->
valid &= xmlValidateOneAttribute(&ctxt->
vctxt,
2088 ctxt->
valid &= xmlValidateOneAttribute(&ctxt->
vctxt,
2106 ctxt->
vctxt.valid = 1;
2107 nvalnorm = xmlValidCtxtNormalizeAttributeValue(
2110 if (ctxt->
vctxt.valid != 1)
2115 if (nvalnorm !=
NULL) {
2122 ctxt->
valid &= xmlValidateOneAttribute(&ctxt->
vctxt,
2132 ctxt->
valid &= xmlValidateOneAttribute(&ctxt->
vctxt,
2143 (
ret->children->next ==
NULL)) {
2149 if ((prefix == ctxt->
str_xml) &&
2150 (localname[0] ==
'i') && (localname[1] ==
'd') &&
2151 (localname[2] == 0)) {
2157#if defined(LIBXML_SAX1_ENABLED) || defined(LIBXML_HTML_ENABLED) || defined(LIBXML_WRITER_ENABLED) || defined(LIBXML_LEGACY_ENABLED)
2158#ifdef LIBXML_VALID_ENABLED
2159 if (xmlValidateNCName(
content, 1) != 0) {
2161 "xml:id : attribute value %s is not an NCName\n",
2225 "Validation failed: no DTD found !",
NULL,
NULL);
2232 if ((prefix !=
NULL) && (URI ==
NULL)) {
2255 ret->name = localname;
2262 xmlSAX2ErrMemory(ctxt,
"xmlSAX2StartElementNs");
2272 else if (lname ==
NULL)
2278 xmlSAX2ErrMemory(ctxt,
"xmlSAX2StartElementNs");
2297 for (
i = 0,
j = 0;
j < nb_namespaces;
j++) {
2298 pref = namespaces[
i++];
2299 uri = namespaces[
i++];
2308 if ((URI !=
NULL) && (prefix == pref))
2318#ifdef LIBXML_VALID_ENABLED
2351 if ((nb_defaulted != 0) &&
2353 nb_attributes -= nb_defaulted;
2368 xmlSAX2ErrMemory(ctxt,
"xmlSAX2StartElementNs");
2373 "Namespace prefix %s was not found\n",
2377 "Namespace default prefix was not found\n",
2385 if (nb_attributes > 0) {
2386 for (
j = 0,
i = 0;
i < nb_attributes;
i++,
j+=5) {
2390 if ((attributes[
j+1] !=
NULL) && (attributes[
j+2] ==
NULL)) {
2398 attributes[
j+3], attributes[
j+4]);
2404 if (lname !=
NULL) {
2406 attributes[
j+3], attributes[
j+4]);
2413 attributes[
j+3], attributes[
j+4]);
2417#ifdef LIBXML_VALID_ENABLED
2423 ((ctxt->
vctxt.flags & XML_VCTXT_DTD_VALIDATED) == 0)) {
2426 chk = xmlValidateDtdFinal(&ctxt->
vctxt, ctxt->
myDoc);
2432 ctxt->
vctxt.flags |= XML_VCTXT_DTD_VALIDATED;
2468#ifdef LIBXML_VALID_ENABLED
2496 "SAX.xmlSAX2Reference(%s)\n",
name);
2502#ifdef DEBUG_SAX_TREE
2504 "add xmlSAX2Reference %s to %s \n",
name, ctxt->
node->
name);
2526 if (ctxt ==
NULL)
return;
2529 "SAX.xmlSAX2Characters(%.30s, %d)\n", ch,
len);
2538#ifdef DEBUG_SAX_TREE
2540 "add chars: ctxt->node == NULL !\n");
2545#ifdef DEBUG_SAX_TREE
2547 "add chars to %s \n", ctxt->
node->
name);
2554 if (lastChild ==
NULL) {
2559 if (lastChild !=
NULL) {
2567 xmlSAX2ErrMemory(ctxt,
"xmlSAX2Characters");
2571 int coalesceText = (lastChild !=
NULL) &&
2575 if ((coalesceText) && (ctxt->
nodemem != 0)) {
2591 xmlSAX2ErrMemory(ctxt,
"xmlSAX2Characters: xmlStrdup returned NULL");
2595 xmlSAX2ErrMemory(ctxt,
"xmlSAX2Characters overflow prevented");
2600 xmlSAX2ErrMemory(ctxt,
"xmlSAX2Characters: huge text node");
2612 if (newbuf ==
NULL) {
2613 xmlSAX2ErrMemory(ctxt,
"xmlSAX2Characters");
2622 }
else if (coalesceText) {
2624 xmlSAX2ErrMemory(ctxt,
"xmlSAX2Characters");
2637 if (lastChild !=
NULL) {
2677 "SAX.xmlSAX2IgnorableWhitespace(%.30s, %d)\n", ch,
len);
2701 "SAX.xmlSAX2ProcessingInstruction(%s, %s)\n",
target,
data);
2723#ifdef DEBUG_SAX_TREE
2725 "Setting PI %s as root\n",
target);
2731#ifdef DEBUG_SAX_TREE
2737#ifdef DEBUG_SAX_TREE
2739 "adding PI %s sibling to ",
target);
2784#ifdef DEBUG_SAX_TREE
2786 "Setting xmlSAX2Comment as root\n");
2792#ifdef DEBUG_SAX_TREE
2794 "adding xmlSAX2Comment child to %s\n",
parent->name);
2798#ifdef DEBUG_SAX_TREE
2800 "adding xmlSAX2Comment sibling to ");
2823#ifdef LIBXML_SAX1_ENABLED
2837xmlSAXDefaultVersion(
int version)
2860 if (hdlr ==
NULL)
return(-1);
2868#ifdef LIBXML_SAX1_ENABLED
2936#ifdef LIBXML_SAX1_ENABLED
2941#ifdef LIBXML_HTML_ENABLED
2995htmlDefaultSAXHandlerInit(
void)
2997 xmlSAX2InitHtmlDefaultSAXHandler((
xmlSAXHandlerPtr) &htmlDefaultSAXHandler);
int xmlSAX2HasInternalSubset(void *ctx)
void xmlSAX2IgnorableWhitespace(void *ctx ATTRIBUTE_UNUSED, const xmlChar *ch ATTRIBUTE_UNUSED, int len ATTRIBUTE_UNUSED)
int xmlSAXVersion(xmlSAXHandler *hdlr, int version)
int xmlSAX2GetLineNumber(void *ctx)
const xmlChar * xmlSAX2GetPublicId(void *ctx ATTRIBUTE_UNUSED)
void xmlSAX2NotationDecl(void *ctx, const xmlChar *name, const xmlChar *publicId, const xmlChar *systemId)
void xmlSAX2ExternalSubset(void *ctx, const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID)
xmlParserInputPtr xmlSAX2ResolveEntity(void *ctx, const xmlChar *publicId, const xmlChar *systemId)
void xmlSAX2InitDefaultSAXHandler(xmlSAXHandler *hdlr, int warning)
void xmlSAX2UnparsedEntityDecl(void *ctx, const xmlChar *name, const xmlChar *publicId, const xmlChar *systemId, const xmlChar *notationName)
xmlEntityPtr xmlSAX2GetParameterEntity(void *ctx, const xmlChar *name)
void xmlSAX2EndDocument(void *ctx)
void xmlSAX2EntityDecl(void *ctx, const xmlChar *name, int type, const xmlChar *publicId, const xmlChar *systemId, xmlChar *content)
void xmlSAX2Comment(void *ctx, const xmlChar *value)
void xmlSAX2CDataBlock(void *ctx, const xmlChar *value, int len)
int xmlSAX2HasExternalSubset(void *ctx)
static int xmlSAX2DefaultVersionValue
const xmlChar * xmlSAX2GetSystemId(void *ctx)
void xmlDefaultSAXHandlerInit(void)
int xmlSAX2GetColumnNumber(void *ctx)
void xmlSAX2InternalSubset(void *ctx, const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID)
void xmlSAX2SetDocumentLocator(void *ctx ATTRIBUTE_UNUSED, xmlSAXLocatorPtr loc ATTRIBUTE_UNUSED)
void xmlSAX2ElementDecl(void *ctx, const xmlChar *name, int type, xmlElementContentPtr content)
void xmlSAX2StartElementNs(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes)
static void xmlSAX2AttributeNs(xmlParserCtxtPtr ctxt, const xmlChar *localname, const xmlChar *prefix, const xmlChar *value, const xmlChar *valueend)
void xmlSAX2StartDocument(void *ctx)
static void xmlSAX2Text(xmlParserCtxtPtr ctxt, const xmlChar *ch, int len, xmlElementType type)
void xmlSAX2Characters(void *ctx, const xmlChar *ch, int len)
static xmlNodePtr xmlSAX2TextNode(xmlParserCtxtPtr ctxt, const xmlChar *str, int len)
xmlEntityPtr xmlSAX2GetEntity(void *ctx, const xmlChar *name)
void xmlSAX2Reference(void *ctx, const xmlChar *name)
void xmlSAX2ProcessingInstruction(void *ctx, const xmlChar *target, const xmlChar *data)
void xmlSAX2EndElementNs(void *ctx, const xmlChar *localname ATTRIBUTE_UNUSED, const xmlChar *prefix ATTRIBUTE_UNUSED, const xmlChar *URI ATTRIBUTE_UNUSED)
void xmlSAX2AttributeDecl(void *ctx, const xmlChar *elem, const xmlChar *fullname, int type, int def, const xmlChar *defaultValue, xmlEnumerationPtr tree)
int xmlSAX2IsStandalone(void *ctx)
ios_base &_STLP_CALL internal(ios_base &__s)
static BYTE decode(char c)
_In_ uint16_t _Out_ ULONG * atts
static const WCHAR version[]
unsigned short(__cdecl typeof(TIFFCurrentDirectory))(struct tiff *)
__kernel_ptrdiff_t ptrdiff_t
XMLPUBFUN xmlCharEncoding XMLCALL xmlDetectCharEncoding(const unsigned char *in, int len)
XMLPUBFUN xmlEntityPtr XMLCALL xmlGetDocEntity(const xmlDoc *doc, const xmlChar *name)
@ XML_EXTERNAL_GENERAL_UNPARSED_ENTITY
XMLPUBFUN xmlEntityPtr XMLCALL xmlGetParameterEntity(xmlDocPtr doc, const xmlChar *name)
XMLPUBFUN xmlEntityPtr XMLCALL xmlAddDocEntity(xmlDocPtr doc, const xmlChar *name, int type, const xmlChar *ExternalID, const xmlChar *SystemID, const xmlChar *content)
XMLPUBFUN xmlEntityPtr XMLCALL xmlAddDtdEntity(xmlDocPtr doc, const xmlChar *name, int type, const xmlChar *ExternalID, const xmlChar *SystemID, const xmlChar *content)
XMLPUBFUN xmlEntityPtr XMLCALL xmlGetPredefinedEntity(const xmlChar *name)
GLuint GLuint GLsizei GLenum type
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLenum GLenum GLenum input
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
int __xmlRegisterCallbacks
#define memcpy(s1, s2, n)
void xmlErrMemory(xmlParserCtxtPtr ctxt, const char *extra)
#define XML_MAX_TEXT_LENGTH
#define XML_SUBSTITUTE_REF
XMLPUBFUN int XMLCALL nodePush(xmlParserCtxtPtr ctxt, xmlNodePtr value)
XMLPUBFUN xmlChar *XMLCALL xmlSplitQName(xmlParserCtxtPtr ctxt, const xmlChar *name, xmlChar **prefix)
XMLPUBFUN void XMLCALL xmlParseExternalSubset(xmlParserCtxtPtr ctxt, const xmlChar *ExternalID, const xmlChar *SystemID)
XMLPUBFUN xmlChar XMLCALL xmlPopInput(xmlParserCtxtPtr ctxt)
XMLPUBFUN int XMLCALL xmlSwitchEncoding(xmlParserCtxtPtr ctxt, xmlCharEncoding enc)
XMLPUBFUN int XMLCALL xmlPushInput(xmlParserCtxtPtr ctxt, xmlParserInputPtr input)
XMLPUBFUN xmlChar *XMLCALL xmlStringLenDecodeEntities(xmlParserCtxtPtr ctxt, const xmlChar *str, int len, int what, xmlChar end, xmlChar end2, xmlChar end3)
XMLPUBFUN xmlChar *XMLCALL xmlStringDecodeEntities(xmlParserCtxtPtr ctxt, const xmlChar *str, int what, xmlChar end, xmlChar end2, xmlChar end3)
XMLPUBFUN xmlNodePtr XMLCALL nodePop(xmlParserCtxtPtr ctxt)
XMLPUBVAR const xmlChar xmlStringText[]
XMLPUBFUN void XMLCALL xmlFreeInputStream(xmlParserInputPtr input)
XMLPUBFUN const xmlChar *XMLCALL xmlDictLookup(xmlDictPtr dict, const xmlChar *name, int len)
XMLPUBFUN const xmlChar *XMLCALL xmlDictQLookup(xmlDictPtr dict, const xmlChar *prefix, const xmlChar *name)
XMLPUBFUN int XMLCALL xmlDictOwns(xmlDictPtr dict, const xmlChar *str)
XMLPUBFUN int XMLCALL xmlDictReference(xmlDictPtr dict)
XMLPUBVAR xmlMallocFunc xmlMalloc
XMLPUBVAR xmlRegisterNodeFunc xmlRegisterNodeDefaultValue
XMLPUBVAR xmlFreeFunc xmlFree
XMLPUBVAR void * xmlGenericErrorContext
XMLPUBVAR xmlReallocFunc xmlRealloc
XMLPUBVAR xmlSAXHandlerV1 xmlDefaultSAXHandler
XMLPUBVAR xmlGenericErrorFunc xmlGenericError
#define XML_COMPLETE_ATTRS
XMLPUBFUN void XMLCALL xmlParserAddNodeInfo(xmlParserCtxtPtr ctxt, const xmlParserNodeInfoPtr info)
XMLPUBFUN xmlParserInputPtr XMLCALL xmlLoadExternalEntity(const char *URL, const char *ID, xmlParserCtxtPtr ctxt)
XMLPUBFUN xmlNodePtr XMLCALL xmlAddChild(xmlNodePtr parent, xmlNodePtr cur)
XMLPUBFUN xmlNodePtr XMLCALL xmlNewReference(const xmlDoc *doc, const xmlChar *name)
XMLPUBFUN xmlDtdPtr XMLCALL xmlNewDtd(xmlDocPtr doc, const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID)
XMLPUBFUN xmlDtdPtr XMLCALL xmlCreateIntSubset(xmlDocPtr doc, const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID)
XMLPUBFUN void XMLCALL xmlFreeDtd(xmlDtdPtr cur)
XMLPUBFUN xmlNsPtr XMLCALL xmlSearchNs(xmlDocPtr doc, xmlNodePtr node, const xmlChar *nameSpace)
XMLPUBFUN xmlNodePtr XMLCALL xmlNewDocNode(xmlDocPtr doc, xmlNsPtr ns, const xmlChar *name, const xmlChar *content)
XMLPUBFUN int XMLCALL xmlTextConcat(xmlNodePtr node, const xmlChar *content, int len)
XMLPUBFUN xmlNodePtr XMLCALL xmlStringGetNodeList(const xmlDoc *doc, const xmlChar *value)
XMLPUBFUN xmlChar *XMLCALL xmlBuildQName(const xmlChar *ncname, const xmlChar *prefix, xmlChar *memory, int len)
XMLPUBFUN xmlDocPtr XMLCALL xmlNewDoc(const xmlChar *version)
XMLPUBFUN void XMLCALL xmlSetNs(xmlNodePtr node, xmlNsPtr ns)
XMLPUBFUN xmlNodePtr XMLCALL xmlNewCharRef(xmlDocPtr doc, const xmlChar *name)
XMLPUBFUN xmlDtdPtr XMLCALL xmlGetIntSubset(const xmlDoc *doc)
XMLPUBFUN void XMLCALL xmlUnlinkNode(xmlNodePtr cur)
XMLPUBFUN xmlNodePtr XMLCALL xmlNewDocPI(xmlDocPtr doc, const xmlChar *name, const xmlChar *content)
XMLPUBFUN xmlNodePtr XMLCALL xmlAddSibling(xmlNodePtr cur, xmlNodePtr elem)
xmlParserCtxt * xmlParserCtxtPtr
XMLPUBFUN xmlAttrPtr XMLCALL xmlNewNsPropEatName(xmlNodePtr node, xmlNsPtr ns, xmlChar *name, const xmlChar *value)
XMLPUBFUN xmlNodePtr XMLCALL xmlNewDocText(const xmlDoc *doc, const xmlChar *content)
XMLPUBFUN xmlNodePtr XMLCALL xmlNewDocComment(xmlDocPtr doc, const xmlChar *content)
XMLPUBFUN xmlNodePtr XMLCALL xmlNewDocNodeEatName(xmlDocPtr doc, xmlNsPtr ns, xmlChar *name, const xmlChar *content)
XMLPUBFUN void XMLCALL xmlFreeNode(xmlNodePtr cur)
XMLPUBFUN xmlNsPtr XMLCALL xmlNewNs(xmlNodePtr node, const xmlChar *href, const xmlChar *prefix)
XMLPUBFUN xmlAttrPtr XMLCALL xmlNewNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name, const xmlChar *value)
XMLPUBFUN xmlNodePtr XMLCALL xmlNewCDataBlock(xmlDocPtr doc, const xmlChar *content, int len)
XMLPUBFUN xmlNodePtr XMLCALL xmlStringLenGetNodeList(const xmlDoc *doc, const xmlChar *value, int len)
struct _xmlDtd * intSubset
struct _xmlNode * children
struct _xmlDtd * extSubset
xmlAttributePtr attributes
struct _xmlNode * children
struct _xmlAttr * properties
struct _xmlSAXHandler * sax
xmlParserInputState instate
xmlParserNodeInfo * nodeInfo
xmlHashTablePtr attsSpecial
xmlParserInputPtr * inputTab
const struct _xmlNode * node
unparsedEntityDeclSAXFunc unparsedEntityDecl
hasExternalSubsetSAXFunc hasExternalSubset
setDocumentLocatorSAXFunc setDocumentLocator
getEntitySAXFunc getEntity
attributeDeclSAXFunc attributeDecl
referenceSAXFunc reference
startElementNsSAX2Func startElementNs
externalSubsetSAXFunc externalSubset
internalSubsetSAXFunc internalSubset
endElementSAXFunc endElement
isStandaloneSAXFunc isStandalone
endDocumentSAXFunc endDocument
fatalErrorSAXFunc fatalError
hasInternalSubsetSAXFunc hasInternalSubset
notationDeclSAXFunc notationDecl
resolveEntitySAXFunc resolveEntity
getParameterEntitySAXFunc getParameterEntity
endElementNsSAX2Func endElementNs
cdataBlockSAXFunc cdataBlock
startElementSAXFunc startElement
xmlStructuredErrorFunc serror
entityDeclSAXFunc entityDecl
processingInstructionSAXFunc processingInstruction
charactersSAXFunc characters
startDocumentSAXFunc startDocument
elementDeclSAXFunc elementDecl
ignorableWhitespaceSAXFunc ignorableWhitespace
XMLPUBFUN xmlChar *XMLCALL xmlPathToURI(const xmlChar *path)
XMLPUBFUN xmlURIPtr XMLCALL xmlParseURI(const char *str)
XMLPUBFUN xmlChar *XMLCALL xmlCanonicPath(const xmlChar *path)
XMLPUBFUN void XMLCALL xmlFreeURI(xmlURIPtr uri)
XMLPUBFUN xmlChar *XMLCALL xmlBuildURI(const xmlChar *URI, const xmlChar *base)
XMLPUBFUN xmlIDPtr XMLCALL xmlAddID(xmlValidCtxtPtr ctxt, xmlDocPtr doc, const xmlChar *value, xmlAttrPtr attr)
XMLPUBFUN xmlElementPtr XMLCALL xmlGetDtdQElementDesc(xmlDtdPtr dtd, const xmlChar *name, const xmlChar *prefix)
XMLPUBFUN xmlNotationPtr XMLCALL xmlAddNotationDecl(xmlValidCtxtPtr ctxt, xmlDtdPtr dtd, const xmlChar *name, const xmlChar *PublicID, const xmlChar *SystemID)
XMLPUBFUN void XMLCALL xmlFreeEnumeration(xmlEnumerationPtr cur)
XML_DEPRECATED XMLPUBFUN xmlRefPtr XMLCALL xmlAddRef(xmlValidCtxtPtr ctxt, xmlDocPtr doc, const xmlChar *value, xmlAttrPtr attr)
XML_DEPRECATED XMLPUBFUN int XMLCALL xmlIsRef(xmlDocPtr doc, xmlNodePtr elem, xmlAttrPtr attr)
XMLPUBFUN xmlAttributePtr XMLCALL xmlGetDtdQAttrDesc(xmlDtdPtr dtd, const xmlChar *elem, const xmlChar *name, const xmlChar *prefix)
XMLPUBFUN xmlElementPtr XMLCALL xmlAddElementDecl(xmlValidCtxtPtr ctxt, xmlDtdPtr dtd, const xmlChar *name, xmlElementTypeVal type, xmlElementContentPtr content)
XMLPUBFUN int XMLCALL xmlIsID(xmlDocPtr doc, xmlNodePtr elem, xmlAttrPtr attr)
XMLPUBFUN xmlAttributePtr XMLCALL xmlAddAttributeDecl(xmlValidCtxtPtr ctxt, xmlDtdPtr dtd, const xmlChar *elem, const xmlChar *name, const xmlChar *ns, xmlAttributeType type, xmlAttributeDefault def, const xmlChar *defaultValue, xmlEnumerationPtr tree)
static GLenum _GLUfuncptr fn
XMLPUBFUN void XMLCDECL xmlParserError(void *ctx, const char *msg,...) LIBXML_ATTR_FORMAT(2
void(XMLCDECL *) typedef void(XMLCALL * xmlStructuredErrorFunc)(void *userData, xmlErrorPtr error)
@ XML_DTD_STANDALONE_DEFAULTED
@ XML_NS_ERR_UNDEFINED_NAMESPACE
@ XML_ERR_ATTRIBUTE_REDEFINED
@ XML_ERR_NOTATION_PROCESSING
@ XML_WAR_ENTITY_REDEFINED
@ XML_WAR_NS_URI_RELATIVE
@ XML_ERR_ENTITY_PROCESSING
XMLPUBFUN void XMLCDECL XMLPUBFUN void XMLCDECL xmlParserWarning(void *ctx, const char *msg,...) LIBXML_ATTR_FORMAT(2
XMLPUBFUN xmlChar *XMLCALL xmlStrndup(const xmlChar *cur, int len)
XMLPUBFUN xmlChar *XMLCALL xmlStrcat(xmlChar *cur, const xmlChar *add)
XMLPUBFUN xmlChar *XMLCALL xmlStrdup(const xmlChar *cur)
XMLPUBFUN int XMLCALL xmlStrEqual(const xmlChar *str1, const xmlChar *str2)
XMLPUBFUN int XMLCALL xmlStrlen(const xmlChar *str)
#define LIBXML_ATTR_FORMAT(fmt, args)