亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? debugxml.c

?? xml開源解析代碼.版本為libxml2-2.6.29,可支持GB3212.網(wǎng)絡(luò)消息發(fā)送XML時(shí)很有用.
?? C
?? 第 1 頁 / 共 5 頁
字號(hào):
    if (attr == NULL) {        if (!ctxt->check)            fprintf(ctxt->output, "Attribute declaration is NULL\n");        return;    }    if (attr->type != XML_ATTRIBUTE_DECL) {	xmlDebugErr(ctxt, XML_CHECK_NOT_ATTR_DECL,	            "Node is not an attribute declaration");        return;    }    if (attr->name != NULL) {        if (!ctxt->check)            fprintf(ctxt->output, "ATTRDECL(%s)", (char *) attr->name);    } else	xmlDebugErr(ctxt, XML_CHECK_NO_NAME,	            "Node attribute declaration has no name");    if (attr->elem != NULL) {        if (!ctxt->check)            fprintf(ctxt->output, " for %s", (char *) attr->elem);    } else	xmlDebugErr(ctxt, XML_CHECK_NO_ELEM,	            "Node attribute declaration has no element name");    if (!ctxt->check) {        switch (attr->atype) {            case XML_ATTRIBUTE_CDATA:                fprintf(ctxt->output, " CDATA");                break;            case XML_ATTRIBUTE_ID:                fprintf(ctxt->output, " ID");                break;            case XML_ATTRIBUTE_IDREF:                fprintf(ctxt->output, " IDREF");                break;            case XML_ATTRIBUTE_IDREFS:                fprintf(ctxt->output, " IDREFS");                break;            case XML_ATTRIBUTE_ENTITY:                fprintf(ctxt->output, " ENTITY");                break;            case XML_ATTRIBUTE_ENTITIES:                fprintf(ctxt->output, " ENTITIES");                break;            case XML_ATTRIBUTE_NMTOKEN:                fprintf(ctxt->output, " NMTOKEN");                break;            case XML_ATTRIBUTE_NMTOKENS:                fprintf(ctxt->output, " NMTOKENS");                break;            case XML_ATTRIBUTE_ENUMERATION:                fprintf(ctxt->output, " ENUMERATION");                break;            case XML_ATTRIBUTE_NOTATION:                fprintf(ctxt->output, " NOTATION ");                break;        }        if (attr->tree != NULL) {            int indx;            xmlEnumerationPtr cur = attr->tree;            for (indx = 0; indx < 5; indx++) {                if (indx != 0)                    fprintf(ctxt->output, "|%s", (char *) cur->name);                else                    fprintf(ctxt->output, " (%s", (char *) cur->name);                cur = cur->next;                if (cur == NULL)                    break;            }            if (cur == NULL)                fprintf(ctxt->output, ")");            else                fprintf(ctxt->output, "...)");        }        switch (attr->def) {            case XML_ATTRIBUTE_NONE:                break;            case XML_ATTRIBUTE_REQUIRED:                fprintf(ctxt->output, " REQUIRED");                break;            case XML_ATTRIBUTE_IMPLIED:                fprintf(ctxt->output, " IMPLIED");                break;            case XML_ATTRIBUTE_FIXED:                fprintf(ctxt->output, " FIXED");                break;        }        if (attr->defaultValue != NULL) {            fprintf(ctxt->output, "\"");            xmlCtxtDumpString(ctxt, attr->defaultValue);            fprintf(ctxt->output, "\"");        }        fprintf(ctxt->output, "\n");    }    /*     * Do a bit of checking     */    xmlCtxtGenericNodeCheck(ctxt, (xmlNodePtr) attr);}static voidxmlCtxtDumpElemDecl(xmlDebugCtxtPtr ctxt, xmlElementPtr elem){    xmlCtxtDumpSpaces(ctxt);    if (elem == NULL) {        if (!ctxt->check)            fprintf(ctxt->output, "Element declaration is NULL\n");        return;    }    if (elem->type != XML_ELEMENT_DECL) {	xmlDebugErr(ctxt, XML_CHECK_NOT_ELEM_DECL,	            "Node is not an element declaration");        return;    }    if (elem->name != NULL) {        if (!ctxt->check) {            fprintf(ctxt->output, "ELEMDECL(");            xmlCtxtDumpString(ctxt, elem->name);            fprintf(ctxt->output, ")");        }    } else	xmlDebugErr(ctxt, XML_CHECK_NO_NAME,	            "Element declaration has no name");    if (!ctxt->check) {        switch (elem->etype) {            case XML_ELEMENT_TYPE_UNDEFINED:                fprintf(ctxt->output, ", UNDEFINED");                break;            case XML_ELEMENT_TYPE_EMPTY:                fprintf(ctxt->output, ", EMPTY");                break;            case XML_ELEMENT_TYPE_ANY:                fprintf(ctxt->output, ", ANY");                break;            case XML_ELEMENT_TYPE_MIXED:                fprintf(ctxt->output, ", MIXED ");                break;            case XML_ELEMENT_TYPE_ELEMENT:                fprintf(ctxt->output, ", MIXED ");                break;        }        if ((elem->type != XML_ELEMENT_NODE) && (elem->content != NULL)) {            char buf[5001];            buf[0] = 0;            xmlSnprintfElementContent(buf, 5000, elem->content, 1);            buf[5000] = 0;            fprintf(ctxt->output, "%s", buf);        }        fprintf(ctxt->output, "\n");    }    /*     * Do a bit of checking     */    xmlCtxtGenericNodeCheck(ctxt, (xmlNodePtr) elem);}static voidxmlCtxtDumpEntityDecl(xmlDebugCtxtPtr ctxt, xmlEntityPtr ent){    xmlCtxtDumpSpaces(ctxt);    if (ent == NULL) {        if (!ctxt->check)            fprintf(ctxt->output, "Entity declaration is NULL\n");        return;    }    if (ent->type != XML_ENTITY_DECL) {	xmlDebugErr(ctxt, XML_CHECK_NOT_ENTITY_DECL,	            "Node is not an entity declaration");        return;    }    if (ent->name != NULL) {        if (!ctxt->check) {            fprintf(ctxt->output, "ENTITYDECL(");            xmlCtxtDumpString(ctxt, ent->name);            fprintf(ctxt->output, ")");        }    } else	xmlDebugErr(ctxt, XML_CHECK_NO_NAME,	            "Entity declaration has no name");    if (!ctxt->check) {        switch (ent->etype) {            case XML_INTERNAL_GENERAL_ENTITY:                fprintf(ctxt->output, ", internal\n");                break;            case XML_EXTERNAL_GENERAL_PARSED_ENTITY:                fprintf(ctxt->output, ", external parsed\n");                break;            case XML_EXTERNAL_GENERAL_UNPARSED_ENTITY:                fprintf(ctxt->output, ", unparsed\n");                break;            case XML_INTERNAL_PARAMETER_ENTITY:                fprintf(ctxt->output, ", parameter\n");                break;            case XML_EXTERNAL_PARAMETER_ENTITY:                fprintf(ctxt->output, ", external parameter\n");                break;            case XML_INTERNAL_PREDEFINED_ENTITY:                fprintf(ctxt->output, ", predefined\n");                break;        }        if (ent->ExternalID) {            xmlCtxtDumpSpaces(ctxt);            fprintf(ctxt->output, " ExternalID=%s\n",                    (char *) ent->ExternalID);        }        if (ent->SystemID) {            xmlCtxtDumpSpaces(ctxt);            fprintf(ctxt->output, " SystemID=%s\n",                    (char *) ent->SystemID);        }        if (ent->URI != NULL) {            xmlCtxtDumpSpaces(ctxt);            fprintf(ctxt->output, " URI=%s\n", (char *) ent->URI);        }        if (ent->content) {            xmlCtxtDumpSpaces(ctxt);            fprintf(ctxt->output, " content=");            xmlCtxtDumpString(ctxt, ent->content);            fprintf(ctxt->output, "\n");        }    }    /*     * Do a bit of checking     */    xmlCtxtGenericNodeCheck(ctxt, (xmlNodePtr) ent);}static voidxmlCtxtDumpNamespace(xmlDebugCtxtPtr ctxt, xmlNsPtr ns){    xmlCtxtDumpSpaces(ctxt);    if (ns == NULL) {        if (!ctxt->check)            fprintf(ctxt->output, "namespace node is NULL\n");        return;    }    if (ns->type != XML_NAMESPACE_DECL) {	xmlDebugErr(ctxt, XML_CHECK_NOT_NS_DECL,	            "Node is not a namespace declaration");        return;    }    if (ns->href == NULL) {        if (ns->prefix != NULL)	    xmlDebugErr3(ctxt, XML_CHECK_NO_HREF,                    "Incomplete namespace %s href=NULL\n",                    (char *) ns->prefix);        else	    xmlDebugErr(ctxt, XML_CHECK_NO_HREF,                    "Incomplete default namespace href=NULL\n");    } else {        if (!ctxt->check) {            if (ns->prefix != NULL)                fprintf(ctxt->output, "namespace %s href=",                        (char *) ns->prefix);            else                fprintf(ctxt->output, "default namespace href=");            xmlCtxtDumpString(ctxt, ns->href);            fprintf(ctxt->output, "\n");        }    }}static voidxmlCtxtDumpNamespaceList(xmlDebugCtxtPtr ctxt, xmlNsPtr ns){    while (ns != NULL) {        xmlCtxtDumpNamespace(ctxt, ns);        ns = ns->next;    }}static voidxmlCtxtDumpEntity(xmlDebugCtxtPtr ctxt, xmlEntityPtr ent){    xmlCtxtDumpSpaces(ctxt);    if (ent == NULL) {        if (!ctxt->check)            fprintf(ctxt->output, "Entity is NULL\n");        return;    }    if (!ctxt->check) {        switch (ent->etype) {            case XML_INTERNAL_GENERAL_ENTITY:                fprintf(ctxt->output, "INTERNAL_GENERAL_ENTITY ");                break;            case XML_EXTERNAL_GENERAL_PARSED_ENTITY:                fprintf(ctxt->output, "EXTERNAL_GENERAL_PARSED_ENTITY ");                break;            case XML_EXTERNAL_GENERAL_UNPARSED_ENTITY:                fprintf(ctxt->output, "EXTERNAL_GENERAL_UNPARSED_ENTITY ");                break;            case XML_INTERNAL_PARAMETER_ENTITY:                fprintf(ctxt->output, "INTERNAL_PARAMETER_ENTITY ");                break;            case XML_EXTERNAL_PARAMETER_ENTITY:                fprintf(ctxt->output, "EXTERNAL_PARAMETER_ENTITY ");                break;            default:                fprintf(ctxt->output, "ENTITY_%d ! ", (int) ent->etype);        }        fprintf(ctxt->output, "%s\n", ent->name);        if (ent->ExternalID) {            xmlCtxtDumpSpaces(ctxt);            fprintf(ctxt->output, "ExternalID=%s\n",                    (char *) ent->ExternalID);        }        if (ent->SystemID) {            xmlCtxtDumpSpaces(ctxt);            fprintf(ctxt->output, "SystemID=%s\n", (char *) ent->SystemID);        }        if (ent->URI) {            xmlCtxtDumpSpaces(ctxt);            fprintf(ctxt->output, "URI=%s\n", (char *) ent->URI);        }        if (ent->content) {            xmlCtxtDumpSpaces(ctxt);            fprintf(ctxt->output, "content=");            xmlCtxtDumpString(ctxt, ent->content);            fprintf(ctxt->output, "\n");        }    }}/** * xmlCtxtDumpAttr: * @output:  the FILE * for the output * @attr:  the attribute * @depth:  the indentation level. * * Dumps debug information for the attribute */static voidxmlCtxtDumpAttr(xmlDebugCtxtPtr ctxt, xmlAttrPtr attr){    xmlCtxtDumpSpaces(ctxt);    if (attr == NULL) {        if (!ctxt->check)            fprintf(ctxt->output, "Attr is NULL");        return;    }    if (!ctxt->check) {        fprintf(ctxt->output, "ATTRIBUTE ");	xmlCtxtDumpString(ctxt, attr->name);        fprintf(ctxt->output, "\n");        if (attr->children != NULL) {            ctxt->depth++;            xmlCtxtDumpNodeList(ctxt, attr->children);            ctxt->depth--;        }    }    if (attr->name == NULL)	xmlDebugErr(ctxt, XML_CHECK_NO_NAME,	            "Attribute has no name");    /*     * Do a bit of checking     */    xmlCtxtGenericNodeCheck(ctxt, (xmlNodePtr) attr);}/** * xmlCtxtDumpAttrList: * @output:  the FILE * for the output * @attr:  the attribute list * @depth:  the indentation level. * * Dumps debug information for the attribute list */static voidxmlCtxtDumpAttrList(xmlDebugCtxtPtr ctxt, xmlAttrPtr attr){    while (attr != NULL) {        xmlCtxtDumpAttr(ctxt, attr);        attr = attr->next;    }}/** * xmlCtxtDumpOneNode: * @output:  the FILE * for the output * @node:  the node * @depth:  the indentation level. * * Dumps debug information for the element node, it is not recursive */static voidxmlCtxtDumpOneNode(xmlDebugCtxtPtr ctxt, xmlNodePtr node){    if (node == NULL) {        if (!ctxt->check) {            xmlCtxtDumpSpaces(ctxt);            fprintf(ctxt->output, "node is NULL\n");        }        return;    }    ctxt->node = node;    switch (node->type) {        case XML_ELEMENT_NODE:            if (!ctxt->check) {                xmlCtxtDumpSpaces(ctxt);                fprintf(ctxt->output, "ELEMENT ");                if ((node->ns != NULL) && (node->ns->prefix != NULL)) {                    xmlCtxtDumpString(ctxt, node->ns->prefix);                    fprintf(ctxt->output, ":");                }                xmlCtxtDumpString(ctxt, node->name);                fprintf(ctxt->output, "\n");            }            break;        case XML_ATTRIBUTE_NODE:            if (!ctxt->check)                xmlCtxtDumpSpaces(ctxt);            fprintf(ctxt->output, "Error, ATTRIBUTE found here\n");            xmlCtxtGenericNodeCheck(ctxt, node);            return;        case XML_TEXT_NODE:            if (!ctxt->check) {                xmlCtxtDumpSpaces(ctxt);                if (node->name == (const xmlChar *) xmlStringTextNoenc)                    fprintf(ctxt->output, "TEXT no enc");                else                    fprintf(ctxt->output, "TEXT");		if (ctxt->options & DUMP_TEXT_TYPE) {		    if (node->content == (xmlChar *) &(node->properties))			fprintf(ctxt->output, " compact\n");		    else if (xmlDictOwns(ctxt->dict, node->content) == 1)			fprintf(ctxt->output, " interned\n");		    else			fprintf(ctxt->output, "\n");		} else		    fprintf(ctxt->output, "\n");            }            break;        case XML_CDATA_SECTION_NODE:            if (!ctxt->check) {                xmlCtxtDumpSpaces(ctxt);                fprintf(ctxt->output, "CDATA_SECTION\n");            }            break;        case XML_ENTITY_REF_NODE:            if (!ctxt->check) {                xmlCtxtDumpSpaces(ctxt);                fprintf(ctxt->output, "ENTITY_REF(%s)\n",                        (char *) node->name);            }            break;        case XML_ENTITY_NODE:            if (!ctxt->check) {                xmlCtxtDumpSpaces(ctxt);                fprintf(ctxt->output, "ENTITY\n");            }            break;        case XML_PI_NODE:            if (!ctxt->check) {                xmlCtxtDumpSpaces(ctxt);                fprintf(ctxt->output, "PI %s\n", (char *) node->name);            }            break;        case XML_COMMENT_NODE:            if (!ctxt->check) {                xmlCtxtDumpSpaces(ctxt);                fprintf(ctxt->output, "COMMENT\n");            }            break;        case XML_DOCUMENT_NODE:        case XML_HTML_DOCUMENT_NODE:            if (!ctxt->check) {                xmlCtxtDumpSpaces(ctxt);            }

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
奇米影视一区二区三区| 成人午夜在线免费| 亚洲一级在线观看| 亚洲一级二级三级| 亚洲一区二区中文在线| 2024国产精品视频| 这里只有精品视频在线观看| 91精品91久久久中77777| 91论坛在线播放| 91猫先生在线| 精品视频在线免费观看| 97精品电影院| 成人手机电影网| 成人午夜激情影院| eeuss鲁一区二区三区| 国产精品1024久久| 成人性色生活片| www.亚洲国产| 欧美另类变人与禽xxxxx| 欧美电影一区二区三区| 2020国产成人综合网| 国产免费观看久久| 亚洲一区二区av在线| 蜜臀a∨国产成人精品| 日本美女一区二区三区视频| 国产裸体歌舞团一区二区| 99久久久久免费精品国产| 欧美精品在线观看一区二区| 精品动漫一区二区三区在线观看| 国产日韩精品久久久| 亚洲伦理在线免费看| 免费不卡在线视频| 91美女蜜桃在线| 久久久亚洲精品石原莉奈 | 不卡的av在线| 欧美乱妇15p| 亚洲免费在线播放| 国产一区二区91| 欧美高清性hdvideosex| 亚洲欧美日韩久久| 国产91色综合久久免费分享| 一本到不卡精品视频在线观看| 久久综合九色综合97_久久久| 亚洲一区二区三区精品在线| 麻豆精品视频在线观看视频| 日韩福利电影在线观看| 国产在线看一区| 欧洲国内综合视频| 日韩一区二区三区高清免费看看 | 丁香啪啪综合成人亚洲小说 | 九一久久久久久| 欧美日韩视频不卡| 国产欧美日韩精品在线| 精品制服美女丁香| 日韩一区二区免费在线电影| 亚洲成人综合在线| 成人免费看视频| 精品福利视频一区二区三区| 毛片av一区二区| 欧美色图在线观看| 国产人伦精品一区二区| 国产91综合网| 亚洲欧美视频在线观看视频| 懂色av一区二区三区免费观看| 日韩精品一区二区三区蜜臀| 视频一区视频二区中文字幕| 色88888久久久久久影院野外| 亚洲男人的天堂在线aⅴ视频| 色欧美日韩亚洲| 午夜天堂影视香蕉久久| 91麻豆精品久久久久蜜臀| 一区二区三区四区中文字幕| 欧美日韩中文一区| 美日韩一区二区三区| 久久久精品日韩欧美| 91伊人久久大香线蕉| 男女男精品视频网| 国产精品电影一区二区| 欧美视频中文字幕| 国产自产高清不卡| 亚洲人成电影网站色mp4| 91麻豆精品国产91久久久使用方法 | 色婷婷综合久久久久中文| 亚洲国产一区二区视频| 欧美激情综合五月色丁香| 欧美一级在线免费| 欧美无砖专区一中文字| 91最新地址在线播放| 国产成人免费网站| 蜜乳av一区二区| 日韩黄色片在线观看| 亚洲一区免费视频| 亚洲卡通欧美制服中文| 欧美激情综合在线| 欧美韩日一区二区三区四区| 日韩欧美在线影院| 欧美成人性战久久| 日韩久久久久久| 精品国产乱子伦一区| 日韩一区二区三区在线观看| 欧美精品亚洲一区二区在线播放| 色噜噜狠狠成人网p站| 成人精品视频一区| 99国内精品久久| 91亚洲精品久久久蜜桃| 在线视频你懂得一区| 欧美日韩一区二区三区视频| 欧美丝袜丝nylons| 日韩欧美的一区| 久久久综合视频| 18欧美亚洲精品| 亚洲永久免费视频| 免费在线观看视频一区| 激情亚洲综合在线| www.66久久| 精品视频一区二区不卡| 日韩一级二级三级| 国产网站一区二区三区| 国产精品日韩精品欧美在线| 亚洲已满18点击进入久久| 久久精品久久99精品久久| 不卡一区二区中文字幕| 欧美日韩亚洲综合一区| xnxx国产精品| 亚洲最大的成人av| 人人超碰91尤物精品国产| 国产不卡一区视频| 欧美日韩一二三| 中文字幕不卡一区| 亚洲国产精品精华液网站| 国产一区二区三区久久悠悠色av| 97精品超碰一区二区三区| 欧美美女网站色| 中文字幕一区三区| 青青草国产成人99久久| 91在线视频网址| 国产清纯白嫩初高生在线观看91| 五月天精品一区二区三区| 成人av手机在线观看| 日韩欧美一区二区不卡| 亚洲一区二区在线观看视频| 国产成人一区在线| 精品国产一区二区三区忘忧草| 亚洲激情在线播放| 成人自拍视频在线观看| 久久理论电影网| 韩国成人福利片在线播放| 欧美日产国产精品| 亚洲国产精品尤物yw在线观看| av在线播放一区二区三区| 欧美国产国产综合| 国产成人精品免费视频网站| 久久精品亚洲精品国产欧美kt∨| 热久久一区二区| 精品国产乱码久久| 麻豆91在线看| 精品久久久久久综合日本欧美| 日本在线不卡视频| 日韩欧美第一区| 国产精品白丝jk黑袜喷水| 久久精品亚洲精品国产欧美kt∨| 国产老女人精品毛片久久| 国产日韩欧美综合在线| 成人一区二区三区在线观看| 国产精品美女久久久久高潮| av不卡在线观看| 午夜亚洲国产au精品一区二区| 69精品人人人人| 国产91对白在线观看九色| 国产精品蜜臀av| 欧美中文字幕亚洲一区二区va在线| 亚洲va欧美va国产va天堂影院| 欧美人与性动xxxx| 久久99精品久久久久久国产越南 | 一区二区三区在线观看欧美| 欧美系列在线观看| 狠狠狠色丁香婷婷综合激情| 国产精品久久久久久亚洲伦| 欧美精品在线视频| 成人综合激情网| 日本在线不卡视频| 国产精品狼人久久影院观看方式| 欧美电影一区二区三区| 久久97超碰色| 亚洲电影一区二区三区| 久久亚洲精品国产精品紫薇| 91精品福利视频| 国产成人久久精品77777最新版本| 亚洲一区二区四区蜜桃| 欧美国产精品一区二区| 91精品欧美久久久久久动漫| 99在线热播精品免费| 久久成人av少妇免费| 亚洲国产精品久久不卡毛片 | 国产色婷婷亚洲99精品小说| 91视频免费播放| 精品制服美女丁香| 日本一区中文字幕 | 日韩中文字幕91| 亚洲精品美国一|