diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2004-02-19 12:58:36 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2004-02-19 12:58:36 +0000 |
commit | 49138f1933e51d692dc3c7d91d95cb295ebac325 (patch) | |
tree | 41a23c1bdf3d3993bc563761c4453aec7e628e8c /xmllint.c | |
parent | b37440047e8f1103fe7322e623369c025862d1cf (diff) | |
download | libxml2-49138f1933e51d692dc3c7d91d95cb295ebac325.tar.gz |
some clarification in xmlDocDumpMemory() documentation fixed xmllint
* tree.c: some clarification in xmlDocDumpMemory() documentation
* xmllint.c: fixed xmllint --stream --timing to get timings back
Daniel
Diffstat (limited to 'xmllint.c')
-rw-r--r-- | xmllint.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -705,14 +705,19 @@ static void streamFile(char *filename) { if ((timing) && (!repeat)) { #ifdef LIBXML_SCHEMAS_ENABLED if ((valid) || (relaxng != NULL)) + endTimer("Parsing and validating"); + else + endTimer("Parsing"); #else #ifdef LIBXML_VALID_ENABLED if (valid) endTimer("Parsing and validating"); else + endTimer("Parsing"); +#else + endTimer("Parsing"); #endif /* LIBXML_VALID_ENABLED */ #endif - endTimer("Parsing"); } #ifdef LIBXML_VALID_ENABLED |