When running xmllint on a xml file generated by xsltproc, I get the following error:
xmllint --valid --noout build/docbook/index.xml :(
build/docbook/index.xml:1: parser error : Space needed here
<?xml version="1.0"?>
^
Is this space really necessary? Is this an issue of xsltproc?
You don't need a space there. Xmllint probably wants you to put the encoding attribute next which would be separated by a space, which would be good form, but also not strictly necessary.