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

Side by Side Diff: third_party/libxml/src/include/libxml/tree.h

Issue 10824157: Fix namespace vs. node type issue in a generic way. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 * Summary: interfaces for tree manipulation 2 * Summary: interfaces for tree manipulation
3 * Description: this module describes the structures found in an tree resulting 3 * Description: this module describes the structures found in an tree resulting
4 * from an XML or HTML parsing, as well as the API provided for 4 * from an XML or HTML parsing, as well as the API provided for
5 * various processing on that tree 5 * various processing on that tree
6 * 6 *
7 * Copy: See Copyright for the status of this software. 7 * Copy: See Copyright for the status of this software.
8 * 8 *
9 * Author: Daniel Veillard 9 * Author: Daniel Veillard
10 */ 10 */
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 * 344 *
345 * xmlNsType is unified with xmlElementType. 345 * xmlNsType is unified with xmlElementType.
346 */ 346 */
347 347
348 typedef struct _xmlNs xmlNs; 348 typedef struct _xmlNs xmlNs;
349 typedef xmlNs *xmlNsPtr; 349 typedef xmlNs *xmlNsPtr;
350 struct _xmlNs { 350 struct _xmlNs {
351 struct _xmlNs *next; /* next Ns link for this node */ 351 struct _xmlNs *next; /* next Ns link for this node */
352 xmlNsType type; /* global or local */ 352 xmlNsType type; /* global or local */
353 const xmlChar *href; /* URL for the namespace */ 353 const xmlChar *href; /* URL for the namespace */
354 const char* dummy_children; /* lines up with node->children */
354 const xmlChar *prefix; /* prefix for the namespace */ 355 const xmlChar *prefix; /* prefix for the namespace */
355 void *_private; /* application data */ 356 void *_private; /* application data */
356 struct _xmlDoc *context; /* normally an xmlDoc */ 357 struct _xmlDoc *context; /* normally an xmlDoc */
357 }; 358 };
358 359
359 /** 360 /**
360 * xmlDtd: 361 * xmlDtd:
361 * 362 *
362 * An XML DTD, as defined by <!DOCTYPE ... There is actually one for 363 * An XML DTD, as defined by <!DOCTYPE ... There is actually one for
363 * the internal subset and for the external subset. 364 * the internal subset and for the external subset.
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
1243 #endif 1244 #endif
1244 #ifdef __cplusplus 1245 #ifdef __cplusplus
1245 } 1246 }
1246 #endif 1247 #endif
1247 #ifndef __XML_PARSER_H__ 1248 #ifndef __XML_PARSER_H__
1248 #include <libxml/xmlmemory.h> 1249 #include <libxml/xmlmemory.h>
1249 #endif 1250 #endif
1250 1251
1251 #endif /* __XML_TREE_H__ */ 1252 #endif /* __XML_TREE_H__ */
1252 1253
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