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

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

Issue 1193533007: Upgrade to libxml 2.9.2 and libxslt 1.1.28 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no iconv Created 5 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/README.tests ('k') | third_party/libxml/src/SAX2.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 * SAX.c : Old SAX v1 handlers to build a tree. 2 * SAX.c : Old SAX v1 handlers to build a tree.
3 * Deprecated except for compatibility 3 * Deprecated except for compatibility
4 * 4 *
5 * See Copyright for the status of this software. 5 * See Copyright for the status of this software.
6 * 6 *
7 * Daniel Veillard <daniel@veillard.com> 7 * Daniel Veillard <daniel@veillard.com>
8 */ 8 */
9 9
10 10
(...skipping 23 matching lines...) Expand all
34 * initxmlDefaultSAXHandler: 34 * initxmlDefaultSAXHandler:
35 * @hdlr: the SAX handler 35 * @hdlr: the SAX handler
36 * @warning: flag if non-zero sets the handler warning procedure 36 * @warning: flag if non-zero sets the handler warning procedure
37 * 37 *
38 * Initialize the default XML SAX version 1 handler 38 * Initialize the default XML SAX version 1 handler
39 * DEPRECATED: use xmlSAX2InitDefaultSAXHandler() for the new SAX2 blocks 39 * DEPRECATED: use xmlSAX2InitDefaultSAXHandler() for the new SAX2 blocks
40 */ 40 */
41 void 41 void
42 initxmlDefaultSAXHandler(xmlSAXHandlerV1 *hdlr, int warning) 42 initxmlDefaultSAXHandler(xmlSAXHandlerV1 *hdlr, int warning)
43 { 43 {
44 44
45 if(hdlr->initialized == 1) 45 if(hdlr->initialized == 1)
46 return; 46 return;
47 47
48 hdlr->internalSubset = xmlSAX2InternalSubset; 48 hdlr->internalSubset = xmlSAX2InternalSubset;
49 hdlr->externalSubset = xmlSAX2ExternalSubset; 49 hdlr->externalSubset = xmlSAX2ExternalSubset;
50 hdlr->isStandalone = xmlSAX2IsStandalone; 50 hdlr->isStandalone = xmlSAX2IsStandalone;
51 hdlr->hasInternalSubset = xmlSAX2HasInternalSubset; 51 hdlr->hasInternalSubset = xmlSAX2HasInternalSubset;
52 hdlr->hasExternalSubset = xmlSAX2HasExternalSubset; 52 hdlr->hasExternalSubset = xmlSAX2HasExternalSubset;
53 hdlr->resolveEntity = xmlSAX2ResolveEntity; 53 hdlr->resolveEntity = xmlSAX2ResolveEntity;
54 hdlr->getEntity = xmlSAX2GetEntity; 54 hdlr->getEntity = xmlSAX2GetEntity;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 hdlr->initialized = 1; 171 hdlr->initialized = 1;
172 } 172 }
173 173
174 #endif /* LIBXML_DOCB_ENABLED */ 174 #endif /* LIBXML_DOCB_ENABLED */
175 175
176 #endif /* LIBXML_SAX1_ENABLED */ 176 #endif /* LIBXML_SAX1_ENABLED */
177 177
178 #define bottom_SAX 178 #define bottom_SAX
179 #include "elfgcchack.h" 179 #include "elfgcchack.h"
180 #endif /* LIBXML_LEGACY_ENABLED */ 180 #endif /* LIBXML_LEGACY_ENABLED */
OLDNEW
« no previous file with comments | « third_party/libxml/src/README.tests ('k') | third_party/libxml/src/SAX2.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698