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

Side by Side Diff: third_party/libxml/src/schematron.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, 7 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/runtest.c ('k') | third_party/libxml/src/testModule.c » ('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 * schematron.c : implementation of the Schematron schema validity checking 2 * schematron.c : implementation of the Schematron schema validity checking
3 * 3 *
4 * See Copyright for the status of this software. 4 * See Copyright for the status of this software.
5 * 5 *
6 * Daniel Veillard <daniel@veillard.com> 6 * Daniel Veillard <daniel@veillard.com>
7 */ 7 */
8 8
9 /* 9 /*
10 * TODO: 10 * TODO:
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 * xmlSchematronPErr: 238 * xmlSchematronPErr:
239 * @ctxt: the parsing context 239 * @ctxt: the parsing context
240 * @node: the context node 240 * @node: the context node
241 * @error: the error code 241 * @error: the error code
242 * @msg: the error message 242 * @msg: the error message
243 * @str1: extra data 243 * @str1: extra data
244 * @str2: extra data 244 * @str2: extra data
245 * 245 *
246 * Handle a parser error 246 * Handle a parser error
247 */ 247 */
248 static void 248 static void LIBXML_ATTR_FORMAT(4,0)
249 xmlSchematronPErr(xmlSchematronParserCtxtPtr ctxt, xmlNodePtr node, int error, 249 xmlSchematronPErr(xmlSchematronParserCtxtPtr ctxt, xmlNodePtr node, int error,
250 const char *msg, const xmlChar * str1, const xmlChar * str2) 250 const char *msg, const xmlChar * str1, const xmlChar * str2)
251 { 251 {
252 xmlGenericErrorFunc channel = NULL; 252 xmlGenericErrorFunc channel = NULL;
253 xmlStructuredErrorFunc schannel = NULL; 253 xmlStructuredErrorFunc schannel = NULL;
254 void *data = NULL; 254 void *data = NULL;
255 255
256 if (ctxt != NULL) { 256 if (ctxt != NULL) {
257 ctxt->nberrors++; 257 ctxt->nberrors++;
258 channel = ctxt->error; 258 channel = ctxt->error;
(...skipping 1519 matching lines...) Expand 10 before | Expand all | Expand 10 after
1778 1778
1779 xmlCleanupParser(); 1779 xmlCleanupParser();
1780 xmlMemoryDump(); 1780 xmlMemoryDump();
1781 1781
1782 return (0); 1782 return (0);
1783 } 1783 }
1784 #endif 1784 #endif
1785 #define bottom_schematron 1785 #define bottom_schematron
1786 #include "elfgcchack.h" 1786 #include "elfgcchack.h"
1787 #endif /* LIBXML_SCHEMATRON_ENABLED */ 1787 #endif /* LIBXML_SCHEMATRON_ENABLED */
OLDNEW
« no previous file with comments | « third_party/libxml/src/runtest.c ('k') | third_party/libxml/src/testModule.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698