Re: [docbook-apps] Inline DTD Extension for xml:base

From
Bob Stayton <>
Date
2004-02-10T21:33:10+00:00
ID
03cd01c3f01f$1c1cae80$2dfc9384@toshiro
Thread
Re: [docbook-apps] Inline DTD Extension for xml:base
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