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

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

Issue 1752223002: Roll libxml to 2.9.3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-cherry-pick fprintf formatting fix. Created 4 years, 9 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
OLDNEW
1 /* 1 /*
2 * xmllint.c : a small tester program for XML input. 2 * xmllint.c : a small tester program for XML input.
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.com 6 * daniel@veillard.com
7 */ 7 */
8 8
9 #include "libxml.h" 9 #include "libxml.h"
10 10
(...skipping 3028 matching lines...) Expand 10 before | Expand all | Expand 10 after
3039 printf("\t--pushsmall : use the push mode of the parser using tiny increment s\n"); 3039 printf("\t--pushsmall : use the push mode of the parser using tiny increment s\n");
3040 #endif /* LIBXML_PUSH_ENABLED */ 3040 #endif /* LIBXML_PUSH_ENABLED */
3041 #ifdef HAVE_MMAP 3041 #ifdef HAVE_MMAP
3042 printf("\t--memory : parse from memory\n"); 3042 printf("\t--memory : parse from memory\n");
3043 #endif 3043 #endif
3044 printf("\t--maxmem nbbytes : limits memory allocation to nbbytes bytes\n"); 3044 printf("\t--maxmem nbbytes : limits memory allocation to nbbytes bytes\n");
3045 printf("\t--nowarning : do not emit warnings from parser/validator\n"); 3045 printf("\t--nowarning : do not emit warnings from parser/validator\n");
3046 printf("\t--noblanks : drop (ignorable?) blanks spaces\n"); 3046 printf("\t--noblanks : drop (ignorable?) blanks spaces\n");
3047 printf("\t--nocdata : replace cdata section with text nodes\n"); 3047 printf("\t--nocdata : replace cdata section with text nodes\n");
3048 #ifdef LIBXML_OUTPUT_ENABLED 3048 #ifdef LIBXML_OUTPUT_ENABLED
3049 printf("\t--format : reformat/reindent the input\n"); 3049 printf("\t--format : reformat/reindent the output\n");
3050 printf("\t--encode encoding : output in the given encoding\n"); 3050 printf("\t--encode encoding : output in the given encoding\n");
3051 printf("\t--dropdtd : remove the DOCTYPE of the input docs\n"); 3051 printf("\t--dropdtd : remove the DOCTYPE of the input docs\n");
3052 printf("\t--pretty STYLE : pretty-print in a particular style\n"); 3052 printf("\t--pretty STYLE : pretty-print in a particular style\n");
3053 printf("\t 0 Do not pretty print\n"); 3053 printf("\t 0 Do not pretty print\n");
3054 printf("\t 1 Format the XML content, as --format\n"); 3054 printf("\t 1 Format the XML content, as --format\n");
3055 printf("\t 2 Add whitespace inside tags, preserving content\ n"); 3055 printf("\t 2 Add whitespace inside tags, preserving content\ n");
3056 #endif /* LIBXML_OUTPUT_ENABLED */ 3056 #endif /* LIBXML_OUTPUT_ENABLED */
3057 printf("\t--c14n : save in W3C canonical format v1.0 (with comments)\n"); 3057 printf("\t--c14n : save in W3C canonical format v1.0 (with comments)\n");
3058 printf("\t--c14n11 : save in W3C canonical format v1.1 (with comments)\n"); 3058 printf("\t--c14n11 : save in W3C canonical format v1.1 (with comments)\n");
3059 printf("\t--exc-c14n : save in W3C exclusive canonical format (with comments )\n"); 3059 printf("\t--exc-c14n : save in W3C exclusive canonical format (with comments )\n");
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
3792 #ifdef LIBXML_PATTERN_ENABLED 3792 #ifdef LIBXML_PATTERN_ENABLED
3793 if (patternc != NULL) 3793 if (patternc != NULL)
3794 xmlFreePattern(patternc); 3794 xmlFreePattern(patternc);
3795 #endif 3795 #endif
3796 xmlCleanupParser(); 3796 xmlCleanupParser();
3797 xmlMemoryDump(); 3797 xmlMemoryDump();
3798 3798
3799 return(progresult); 3799 return(progresult);
3800 } 3800 }
3801 3801
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698