Re: DocBook4.2 & iso entities

From
Steinar Bang <>
Date
2003-09-05T15:15:15+00:00
ID
Thread
Re: DocBook4.2 & iso entities
>>>>> "Joerg K. Wegner" <>:

> Juan R. Migoya wrote:

>>> <!DOCTYPE BOOK PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [

>> I think DOCTYPE should be UPPERCASE.
>> And perhaps "PUBLIC" also UPPERCASE..

> It's still uppercase in my local version.  Other proposals ?

Is this an XML document?

If so, you're using a DOCTYPE declaration for the SGML DTD for DocBook
4.1, not the XML DTD.

The DOCTYPE for the XML DTD, would be something like this:
 <!DOCTYPE book
   PUBLIC "-//OASIS//DTD DocBook XML V4.1//EN"
   "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd" []>

Note that
 - the PUBLIC ID has an XML differentiating it from the SGML variant
 - XML requires a SYSTEM ID (before the internal DTD subset)
 - "book" is lowercase, because XML is case sensitive, while SGML is
   case insensitive