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

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

Issue 2010803004: Roll libxml to bdec2183f34b37ee89ae1d330c6ad2bb4d76605f (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update README.chromium Created 4 years, 6 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
« no previous file with comments | « third_party/libxml/src/xpath.c ('k') | third_party/libxml/win32/xmlversion.h » ('j') | 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 * xpointer.c : Code to handle XML Pointer 2 * xpointer.c : Code to handle XML Pointer
3 * 3 *
4 * Base implementation was made accordingly to 4 * Base implementation was made accordingly to
5 * W3C Candidate Recommendation 7 June 2000 5 * W3C Candidate Recommendation 7 June 2000
6 * http://www.w3.org/TR/2000/CR-xptr-20000607 6 * http://www.w3.org/TR/2000/CR-xptr-20000607
7 * 7 *
8 * Added support for the element() scheme described in: 8 * Added support for the element() scheme described in:
9 * W3C Proposed Recommendation 13 November 2002 9 * W3C Proposed Recommendation 13 November 2002
10 * http://www.w3.org/TR/2002/PR-xptr-element-20021113/ 10 * http://www.w3.org/TR/2002/PR-xptr-element-20021113/
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 "Memory allocation failed : %s\n", extra); 78 "Memory allocation failed : %s\n", extra);
79 } 79 }
80 80
81 /** 81 /**
82 * xmlXPtrErr: 82 * xmlXPtrErr:
83 * @ctxt: an XPTR evaluation context 83 * @ctxt: an XPTR evaluation context
84 * @extra: extra informations 84 * @extra: extra informations
85 * 85 *
86 * Handle a redefinition of attribute error 86 * Handle a redefinition of attribute error
87 */ 87 */
88 static void 88 static void LIBXML_ATTR_FORMAT(3,0)
89 xmlXPtrErr(xmlXPathParserContextPtr ctxt, int error, 89 xmlXPtrErr(xmlXPathParserContextPtr ctxt, int error,
90 const char * msg, const xmlChar *extra) 90 const char * msg, const xmlChar *extra)
91 { 91 {
92 if (ctxt != NULL) 92 if (ctxt != NULL)
93 ctxt->error = error; 93 ctxt->error = error;
94 if ((ctxt == NULL) || (ctxt->context == NULL)) { 94 if ((ctxt == NULL) || (ctxt->context == NULL)) {
95 __xmlRaiseError(NULL, NULL, NULL, 95 __xmlRaiseError(NULL, NULL, NULL,
96 NULL, NULL, XML_FROM_XPOINTER, error, 96 NULL, NULL, XML_FROM_XPOINTER, error,
97 XML_ERR_ERROR, NULL, 0, 97 XML_ERR_ERROR, NULL, 0,
98 (const char *) extra, NULL, NULL, 0, 0, 98 (const char *) extra, NULL, NULL, 0, 0,
(...skipping 2923 matching lines...) Expand 10 before | Expand all | Expand 10 after
3022 } 3022 }
3023 3023
3024 NEXT; 3024 NEXT;
3025 SKIP_BLANKS; 3025 SKIP_BLANKS;
3026 } 3026 }
3027 3027
3028 #define bottom_xpointer 3028 #define bottom_xpointer
3029 #include "elfgcchack.h" 3029 #include "elfgcchack.h"
3030 #endif 3030 #endif
3031 3031
OLDNEW
« no previous file with comments | « third_party/libxml/src/xpath.c ('k') | third_party/libxml/win32/xmlversion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698