OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook] Comprehension question about docbook5 and xmllint


Add the --loaddtd option to xmllint to get it to load the external entity reference.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net
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édéric Grollier,                                                          ^ darktable.xml:32: parser error : Entity 'eacute' not defined        Kazik, Eckhart Pedersen, Edouard Gomez, Frédé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




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]