This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: which DocBook in DOCTYPE?


> From: Jon Willeke <willeke@intersys.com>
>
> At 05:59 PM 12/1/00 -0500, Bob Stayton wrote:
> >Fortunately,
> >the PUBLIC ID only includes the first and second version digits
> >(4.1), not the third (4.1.2).
> 
> Can you explain?  A coment in docbookx.dtd says:
> 
>    Please use the following formal public identifier:
> 
>    "-//OASIS//DTD DocBook XML V4.1.2//EN"
> 
>    For example,
> 
>    <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
>                   "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"
>                   [...]>
> 
> The public identifier doesn't match the system identifier, but I suspect 
> that that's a typo.
> 
> I quickly scanned the OASIS catalog file spec. [1], and didn't find any 
> mention of how the version is treated.
 
My mistake.  I was looking in the Docbook 4.1 DTD when I
thought it was 4.1.2.  So the PUBLIC ID does change
with each digit, as it probably must for precision.

I don't think there is a clear solution for all situations.
There are times when you need the ID to be precise, and
there are times when you can tolerate some flexibility.
If the tools could just read your mind ...  ;^)

bobs
Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The Santa Cruz Operation, Inc.              fax:   (831) 429-1887
                                            email: bobs@sco.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]