diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2006-10-20 12:55:34 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2006-10-20 12:55:34 +0000 |
commit | 26a45c815a6c6e849cd5c3dda6a0c52fa41626d0 (patch) | |
tree | 26d28c09875701491a4cc99858ec21007a6e7dc3 /xmllint.c | |
parent | 777737ea020106db4d376f2d8b3992198892f29a (diff) | |
download | android_external_libxml2-26a45c815a6c6e849cd5c3dda6a0c52fa41626d0.tar.gz android_external_libxml2-26a45c815a6c6e849cd5c3dda6a0c52fa41626d0.tar.bz2 android_external_libxml2-26a45c815a6c6e849cd5c3dda6a0c52fa41626d0.zip |
fix comment for xmlDocSetRootElement c.f. #351981 order XPath elements
* tree.c: fix comment for xmlDocSetRootElement c.f. #351981
* xmllint.c: order XPath elements when using --shell
Daniel
Diffstat (limited to 'xmllint.c')
-rw-r--r-- | xmllint.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2305,8 +2305,10 @@ static void parseAndPrintFile(char *filename, xmlParserCtxtPtr rectxt) { /* * shell interaction */ - if (shell) + if (shell) { + xmlXPathOrderDocElems(doc); xmlShell(doc, filename, xmlShellReadline, stdout); + } #endif #endif |