• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/libxml2-26/libxml2/

Lines Matching +refs:xml +refs:node +refs:attributes

353     xmlNodePtr node;
367 node = err->node;
378 if ((node != NULL) && (node->type == XML_ELEMENT_NODE))
379 name = node->name;
1413 const xmlChar **attributes)
1441 if (attributes != NULL) {
1443 if (attributes[i + 1] != NULL)
1444 fprintf(SAXdebug, ", %s:%s='", attributes[i + 1], attributes[i]);
1446 fprintf(SAXdebug, ", %s='", attributes[i]);
1447 fprintf(SAXdebug, "%.4s...', %d", attributes[i + 3],
1448 (int)(attributes[i + 4] - attributes[i + 3]));
2283 ctxt->node = xmlDocGetRootElement(xpathDocument);
2492 * Parse a file containing xml:id and check for errors and verify
2764 if ((URI == NULL) || (!strcmp(URI, "file:///etc/xml/catalog")))
2783 if ((URI == NULL) || (!strcmp(URI, "file:///etc/xml/catalog")))
3023 snprintf(pattern, 499, "./test/schemas/%s_?.xml", prefix);
3150 * Parse an RNG schemas and then apply it to the related .xml
3194 snprintf(pattern, 499, "./test/relaxng/%s_?.xml", prefix);
3283 snprintf(pattern, 499, "./test/relaxng/%s_?.xml", prefix);
3375 " pattern %s node %s\n",
3414 char xml[500];
3424 memcpy(xml, filename, len);
3425 xml[len] = 0;
3426 snprintf(result, 499, "result/pattern/%s", baseFilename(xml));
3428 memcpy(xml + len, ".xml", 5);
3430 if (!checkTestFile(xml)) {
3431 fprintf(stderr, "Missing xml file %s\n", xml);
3472 doc = xmlReadFile(xml, NULL, options);
3474 fprintf(stderr, "Failed to parse %s\n", xml);
3556 xmlNodePtr node;
3580 node = doc->children;
3581 while(node != NULL && !xmlStrEqual(node->name, (const xmlChar *)"XPath")) {
3582 node = node->next;
3585 if(node == NULL) {
3591 expr = xmlNodeGetContent(node);
3609 ns = node->nsDef;
3711 * attributes and resolve all character and entities references
3871 static const char *catalog = "test/threads/complex.xml";
3873 "test/threads/abc.xml",
3874 "test/threads/acb.xml",
3875 "test/threads/bac.xml",
3876 "test/threads/bca.xml",
3877 "test/threads/cab.xml",
3878 "test/threads/cba.xml",
3879 "test/threads/invalid.xml",
3899 if (!strcmp(filename, "test/threads/invalid.xml")) {
3913 if (!strcmp(filename, "test/threads/invalid.xml")) {
4154 errParseTest, "./test/errors/*.xml", "result/errors/", "", ".err",
4158 streamParseTest, "./test/errors/*.xml", "result/errors/", NULL, ".str",
4210 streamParseTest, "./test/valid/*.xml", "result/valid/", NULL, ".err.rdr",
4255 { "xml:id regression tests" ,
4291 c14nWithCommentTest, "./test/c14n/with-comments/*.xml", NULL, NULL, NULL,
4294 c14nWithoutCommentTest, "./test/c14n/without-comments/*.xml", NULL, NULL, NULL,
4297 c14nExcWithoutCommentTest, "./test/c14n/exc-without-comments/*.xml", NULL, NULL, NULL,
4300 c14n11WithoutCommentTest, "./test/c14n/1-1-without-comments/*.xml", NULL, NULL, NULL,