Description of problem: I would like to see --with-history added to the configure options for libxml2 so that there is history support when invoking 'xmllint --shell'.
The licence of readline is GPL, and even if only xmllint the program uses it, I prefer to avoid compiling with it enabled, by default to avoid risk of using it by mistake in the main library. So unless there is really strong demand for this I would rather avoid using the GPL'ed library by default, if you have an LGPL'ed or MIt or BSD like replacement I would be fine using that instead. Daniel
To add to the strong demand: I'd prefer --with-history as well (and a "xmllint --command 'cat /a/b/c' file.xml" option, too, BTW :-)). If readline is not an option, have you had time to look at libedit? It is shipped with Fedora so there should not be much hassle.
I was looking for this some time ago. Feature is still not there, but I have found a nice workaround based on `socat` that does not require to recompile `xmllint` ``` socat READLINE EXEC:'xmllint --shell pom.xml',pty ```