• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-core/libxml2-src/

Lines Matching +defs:xml +defs:node +defs:attributes

357     xmlNodePtr node;
371 node = err->node;
382 if ((node != NULL) && (node->type == XML_ELEMENT_NODE))
383 name = node->name;
1417 const xmlChar **attributes)
1445 if (attributes != NULL) {
1447 if (attributes[i + 1] != NULL)
1448 fprintf(SAXdebug, ", %s:%s='", attributes[i + 1], attributes[i]);
1450 fprintf(SAXdebug, ", %s='", attributes[i]);
1451 fprintf(SAXdebug, "%.4s...', %d", attributes[i + 3],
1452 (int)(attributes[i + 4] - attributes[i + 3]));
2287 ctxt->node = xmlDocGetRootElement(xpathDocument);
2496 * Parse a file containing xml:id and check for errors and verify
2768 if ((URI == NULL) || (!strcmp(URI, "file:///etc/xml/catalog")))
2787 if ((URI == NULL) || (!strcmp(URI, "file:///etc/xml/catalog")))
3027 snprintf(pattern, 499, "./test/schemas/%s_?.xml", prefix);
3154 * Parse an RNG schemas and then apply it to the related .xml
3198 snprintf(pattern, 499, "./test/relaxng/%s_?.xml", prefix);
3287 snprintf(pattern, 499, "./test/relaxng/%s_?.xml", prefix);
3377 " pattern %s node %s\n",
3416 char xml[500];
3426 memcpy(xml, filename, len);
3427 xml[len] = 0;
3428 snprintf(result, 499, "result/pattern/%s", baseFilename(xml));
3430 memcpy(xml + len, ".xml", 5);
3432 if (!checkTestFile(xml)) {
3433 fprintf(stderr, "Missing xml file %s\n", xml);
3474 doc = xmlReadFile(xml, NULL, options);
3476 fprintf(stderr, "Failed to parse %s\n", xml);
3558 xmlNodePtr node;
3582 node = doc->children;
3583 while(node != NULL && !xmlStrEqual(node->name, (const xmlChar *)"XPath")) {
3584 node = node->next;
3587 if(node == NULL) {
3593 expr = xmlNodeGetContent(node);
3611 ns = node->nsDef;
3713 * attributes and resolve all character and entities references
3873 static const char *catalog = "test/threads/complex.xml";
3875 "test/threads/abc.xml",
3876 "test/threads/acb.xml",
3877 "test/threads/bac.xml",
3878 "test/threads/bca.xml",
3879 "test/threads/cab.xml",
3880 "test/threads/cba.xml",
3881 "test/threads/invalid.xml",
3901 if (!strcmp(filename, "test/threads/invalid.xml")) {
3915 if (!strcmp(filename, "test/threads/invalid.xml")) {
4156 errParseTest, "./test/errors/*.xml", "result/errors/", "", ".err",
4160 streamParseTest, "./test/errors/*.xml", "result/errors/", NULL, ".str",
4249 { "xml:id regression tests" ,
4285 c14nWithCommentTest, "./test/c14n/with-comments/*.xml", NULL, NULL, NULL,
4288 c14nWithoutCommentTest, "./test/c14n/without-comments/*.xml", NULL, NULL, NULL,
4291 c14nExcWithoutCommentTest, "./test/c14n/exc-without-comments/*.xml", NULL, NULL, NULL,
4294 c14n11WithoutCommentTest, "./test/c14n/1-1-without-comments/*.xml", NULL, NULL, NULL,