This is the mail archive of the mailing list for the DocBook project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: Urgent: user experience with 4.2CR1?

On Mon, Apr 29, 2002 at 01:47:45PM -0400, Norman Walsh wrote:
> / Michael Smith <> was heard to say:
> | The only problem I've run into is in using the DTD with Earl Hood's
> | perlSGML. If I try to run the perlSGML 'dtdview' command on it, I get:
> |
> |   $ dtdview docbookx.dtd
> |   Reading catalog(s) ...
> |   Reading docbookx.dtd ...
> |   Syntax error in subset.
> |           Unexpected character: "E", ascii code=69.
> |       Reason:
> |           Invalid character found outside of a markup statment
> |
> | What it's complaining about is the line starting with "ERROR" in:
> |
> |   <![%sgml.features;[
> |   <![%xml.features;[
> |   ERROR: Exactly one of xml.features and sgml.features must be turned on!
> |   ]]>
> |   ]]>
> Hmmm. That's interesting. His tool is obviously ignoring marked
> section boundries, but because we have a single driver for SGML and
> XML, I've set things up so that it is explicitly an error to have both
> xml.features and sgml.features turned on simultaneously.
> I don't know if we should fix this or not.
> Pro: tools that ignore MS boundries wouldn't get confused.
> Con: turning both sets of features on might result in unpredictable behavior

You could disable the DTD and still use
valid syntax by putting this inside the marked section:

<!-- ERROR: Exactly one of xml.features and sgml.features must be turned on! -->
<!ENTITY % dbpool.module "IGNORE">
<!ENTITY % dbhier.module "IGNORE">

They won't get very far without those two modules.  8^)

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887

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