Thanks Ben, but unfortunately it didn't help, if I understood your
remarks correctly.
My bibliography database looks as stated, it is looked up via the
catalog. The following file is in the package that I try to transform:
<?xml version="1.0" encoding="UTF-8"?>
<bibliography xml:id="bibliografi"
version="5.0"
xmlns="http://docbook.org/ns/docbook">
<title>Bibliography</title>
<bibliomixed id="Col11"/>
<bibliomixed id="Cha09"/>
<bibliomixed xml:id="Date05"/>
<bibliomixed xml:id="Doy10"/>
<bibliomixed xml:id="For06"/>
<bibliomixed xml:id="Gol09"/>
<bibliomixed xml:id="Gul08a"/>
<bibliomixed xml:id="Gul08b"/>
<bibliomixed xml:id="KL08"/>
<bibliomixed xml:id="nml08"/>
<bibliomixed xml:id="nml99"/>
<bibliomixed xml:id="Pel08"/>
<bibliomixed xml:id="San13"/>
<bibliomixed xml:id="Wag02"/>
<bibliomixed xml:id="Wag03"/>
<bibliomixed xml:id="Xue14"/>
<bibliomixed xml:id="yan09"/>
</bibliography>
as you see I tried to take out the namespace from a couple of them.
Tried the same in the bibliography database.
No result unfortunately.
It used to work beautifully before my reinstallation, that's what makes
it more puzzling.
/Niels
Niels Muller Larsen, MSc
Programmer, Assoc Professor
That feeling just came over me.
-- Albert DeSalvo, the "Boston Strangler"
On 04/08/15 12:19, Kallauch, Benjamin (EEIN) wrote:
Hi Niels, sure about the xml Namespace at your id? Try once without it. In my
case I never use the xml:id notation with my bibliorefs, but if I did I ran
into the same conflict as you did: id was not found.
regards,
Ben
-----Ursprüngliche Nachricht-----
Von: Niels Müller [mailto:[email protected]]
Gesendet: Mittwoch, 8. April 2015 10:52
An: [email protected]
Betreff: Re: [docbook-apps] Problems with bibliography
Thanks for replying Bob.
Extract from errlogxslt:
230 Resolve: sysID file:///foo/biblio.xml
231 Resolve URI file:///foo/biblio.xml
232 Found URI match file:///foo/biblio.xml
233 Resolve: sysID file:///basics/uvmat_entities.ent
234 Resolve URI file:///basics/uvmat_entities.ent
235 Using rewriting rule file:///basics/
236 Resolve: sysID file:/home/nml/.docbook/xhtml-lat1.ent
237 Resolve URI file:/home/nml/.docbook/xhtml-lat1.ent
238 Resolve: sysID file:/home/nml/.docbook/xhtml-symbol.ent
239 Resolve URI file:/home/nml/.docbook/xhtml-symbol.ent
240 Resolve: sysID file:/home/nml/.docbook/xhtml-special.ent
241 Resolve URI file:/home/nml/.docbook/xhtml-special.ent
242 Resolve: sysID file:/home/nml/.docbook/hsizes.ent
243 Resolve URI file:/home/nml/.docbook/hsizes.ent
244 No bibliography entry: Doy10 found in file:///foo/biblio.xml
I interpret lines 230 through 232 such that my bibliography file has
been found.
Line 244 says Doy10 not found, but it most certainly exists in the
bibliography file
<bibliomixed xml:id="Doy10">
<author>
<personname>
<surname>Doyle</surname>, <firstname>Matt</firstname>
</personname>
</author>.
<citetitle>Beginning PHP 5.3</citetitle>.
<publishername>Wrox</publishername>,
<pubdate>2010</pubdate>
</bibliomixed>
The only validation errors I have are some dual id's which never had
this side effect. They just have to go before I convert to pdf. But here
I transform to html.
I have run out of ideas.
Niels Muller Larsen, MSc
Programmer, Assoc Professor
The famous politician was trying to save both his faces.
On 04/07/15 01:11, Bob Stayton wrote:
Hi Niels,
There are two possible sources for this error:
a. It cannot open the bibliography database file.
b. It cannot match the id in the file.
If you look in errlogxslt, does it have an error message about not being
able to open the bibliography file? That will determine whether a or b
is the cause.
Bob Stayton
Sagehill Enterprises
[email protected]
On 4/6/2015 5:32 AM, Niels Müller wrote:
Hi there
I have for year created my course materials with docbook 5, with no or
very few problems at all.
Recently I reinstalled my laptop with a new Linux, Arch Linux, and after
that my generated html pages from the docbook xml documents
started displaying:
Error: no bibliography entry: Col11 found in
file:////home/nml/.docbook/biblio.xml
and similar for all bibliography entries.
The bibliography is built according to
http://docbook.sourceforge.net/release/xsl/current/doc/fo/bibliography.collection.html
and worked splendidly until the reinstallation.
I searched and the only thing I found was something that indicated I had
a similar problem 4 years ago. But the threads do not give away the
solution, and I have no recollection about the solution.
I have tried a verbose output from xsltproc but it reveals nothing more
than the above. The biblio.xml file has the proper url, my browser
displays it, and it does contain the xml:id's that I refer to.
I use make and the makefile:
html:
rm -rf site
mkdir site
xmllint --xinclude \
module.xml > /tmp/docbresolved.xml \
2>./errloglint
xsltproc \
--output site/ \
docbook.xsl \
/tmp/docbresolved.xml \
2>./errlogxslt && \
tar czf site.tgz site/*
echo "site.tgz ready for deployment"
Does anyone have a clue or intuition?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]