Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: third_party/libxml/src/xpath.c

Issue 10984039: Merge a libxml clang warning fix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/libxml/README.chromium ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * xpath.c: XML Path Language implementation 2 * xpath.c: XML Path Language implementation
3 * XPath is a language for addressing parts of an XML document, 3 * XPath is a language for addressing parts of an XML document,
4 * designed to be used by both XSLT and XPointer 4 * designed to be used by both XSLT and XPointer
5 *f 5 *f
6 * Reference: W3C Recommendation 16 November 1999 6 * Reference: W3C Recommendation 16 November 1999
7 * http://www.w3.org/TR/1999/REC-xpath-19991116 7 * http://www.w3.org/TR/1999/REC-xpath-19991116
8 * Public reference: 8 * Public reference:
9 * http://www.w3.org/TR/xpath 9 * http://www.w3.org/TR/xpath
10 * 10 *
(...skipping 12248 matching lines...) Expand 10 before | Expand all | Expand 10 after
12259 case XML_COMMENT_NODE: 12259 case XML_COMMENT_NODE:
12260 case XML_CDATA_SECTION_NODE: 12260 case XML_CDATA_SECTION_NODE:
12261 case XML_TEXT_NODE: 12261 case XML_TEXT_NODE:
12262 case XML_NAMESPACE_DECL: 12262 case XML_NAMESPACE_DECL:
12263 XP_TEST_HIT 12263 XP_TEST_HIT
12264 break; 12264 break;
12265 default: 12265 default:
12266 break; 12266 break;
12267 } 12267 }
12268 } else if (cur->type == type) { 12268 } else if (cur->type == type) {
12269 » » » if (type == XML_NAMESPACE_DECL) 12269 » » » if (cur->type == XML_NAMESPACE_DECL)
12270 XP_TEST_HIT_NS 12270 XP_TEST_HIT_NS
12271 else 12271 else
12272 XP_TEST_HIT 12272 XP_TEST_HIT
12273 } else if ((type == NODE_TYPE_TEXT) && 12273 } else if ((type == NODE_TYPE_TEXT) &&
12274 (cur->type == XML_CDATA_SECTION_NODE)) 12274 (cur->type == XML_CDATA_SECTION_NODE))
12275 { 12275 {
12276 XP_TEST_HIT 12276 XP_TEST_HIT
12277 } 12277 }
12278 break; 12278 break;
12279 case NODE_TEST_PI: 12279 case NODE_TEST_PI:
(...skipping 2868 matching lines...) Expand 10 before | Expand all | Expand 10 after
15148 xmlXPathTranslateFunction); 15148 xmlXPathTranslateFunction);
15149 15149
15150 xmlXPathRegisterFuncNS(ctxt, (const xmlChar *)"escape-uri", 15150 xmlXPathRegisterFuncNS(ctxt, (const xmlChar *)"escape-uri",
15151 (const xmlChar *)"http://www.w3.org/2002/08/xquery-functions", 15151 (const xmlChar *)"http://www.w3.org/2002/08/xquery-functions",
15152 xmlXPathEscapeUriFunction); 15152 xmlXPathEscapeUriFunction);
15153 } 15153 }
15154 15154
15155 #endif /* LIBXML_XPATH_ENABLED */ 15155 #endif /* LIBXML_XPATH_ENABLED */
15156 #define bottom_xpath 15156 #define bottom_xpath
15157 #include "elfgcchack.h" 15157 #include "elfgcchack.h"
OLDNEW
« no previous file with comments | « third_party/libxml/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698