W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > May 1997

Re: XDB 0.3 available (XMLized Docbook 3.0)

From: James Clark <jjc@jclark.com>
Date: Mon, 05 May 1997 16:18:01 +0700
Message-Id: <>
To: Terry Allen <tallen@sonic.net>
Cc: w3c-sgml-wg@w3.org
At 17:21 03/05/97 -0700, Terry Allen wrote:
>Now available at
>   http://www.sonic.net/~tallen/xdb03.zip
>is a DTD derived from DocBook 3.0 that I believe is valid XML.  Thanks
>to Norbert Mikula for pointing out that the %local.foo.foo; parameter
>entities, which are defined with the content "", are illegal per
>XML-lang production 46.  The sole difference between XDB 0.3 and
>XDB 0.2 (which I've removed) is the deletion of these parameter
>entities and an updated copyright notice.

I don't agree that these entities are illegal in XML.  Let's take an example:

<!ENTITY % local.appendix.class "">
<!ENTITY % appendix.class	"Appendix %local.appendix.class;">
<!ELEMENT Article (ArtHeader, ToCchap?, LoT*, (%bookcomponent.content;),
		((%nav.class;) | (%appendix.class;) | Ackno)*) >

Parameter entity references in the replacement text of an internal parameter
entity are recognized and replaced when the entity is declared.  Thus the
replacement text of appendix.class will be "Appendix ", which makes your
reference just fine.

Received on Monday, 5 May 1997 05:32:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:25:09 UTC