I think this is a bug in xmllint.
If I add a general entity declaration, then xmllint will
pass both of them to the output.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
<!ENTITY % local.common.attrib "xml:base CDATA #IMPLIED">
<!ENTITY foo "bar">
]>
So the workaround is to add a bogus declaration.
I've posted a bug report on the libxml bugzilla to get Daniel to look at it.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
----- Original Message -----
From: "John L. Clark" <>
To: <>
Sent: Sunday, February 08, 2004 12:48 PM
Subject: [docbook-apps] Inline DTD Extension for xml:base