This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Inline DTD Extension for xml:base
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "John L. Clark" <jclark at nps dot navy dot mil>, <docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 10 Feb 2004 13:44:35 -0800
- Subject: Re: [docbook-apps] Inline DTD Extension for xml:base
- References: <20040208204858.GA721@bottle.cs.nps.navy.mil>
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
bobs@sagehill.net
----- Original Message -----
From: "John L. Clark" <jlc6@po.cwru.edu>
To: <docbook-apps@lists.oasis-open.org>
Sent: Sunday, February 08, 2004 12:48 PM
Subject: [docbook-apps] Inline DTD Extension for xml:base
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.