Re: Comprehension question about docbook5 and xmllint

Bob Stayton <[email protected]> Tue, 12 Jun 2018 11:33:46 -0700
Newsgroups gmane.text.docbook.misc
Message-ID <[email protected]>
Add the --loaddtd option to xmllint to get it to load the external 
entity reference.

Bob Stayton
Sagehill Enterprises
[email protected]

On 6/12/2018 10:47 AM, openhab.doc wrote:
>
> Hi,
>
> I try to create one big xml file from my modularized documents with 
> xmllint.
>
> My files can be found here:
>
> https://github.com/mepi0011/darktable/tree/docBook5_port/doc/usermanual
>
> The Command I use is:
>
> xmllint --xinclude --output big.xml darktable.xml
>
> But I run into some errors:
>
> darktable.xml:32: parser error : Entity 'eacute' not defined 
>        Kazik, Eckhart Pedersen, Edouard Gomez, Fr&eacute;d&eacute;ric 
> Grollier,                                                          ^ 
> darktable.xml:32: parser error : Entity 'eacute' not defined 
>        Kazik, Eckhart Pedersen, Edouard Gomez, Fr&eacute;d&eacute;ric 
> Grollier, 
>                                                                   ^
>
> If I comment out the corresponding lines in the document 
> darktable.xml, the command runs without further errors. Although 
> entities are used in the documents inserted with Xinclude. The 
> subdocuments always link to the same docbook.ent file in the same 
> folder as darktable.xml.
>
> If I apply the command individually to subdocuments, I also receive 
> the corresponding error messages.
>
> Why do I get the error messages?
>
> Is this caused by my declaration of entities or xmllint?
>
> Thanks
>
> Pierre
>