This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
RE: [docbook] Adding a new element to docbook
- From: Jeff Beal <jeff dot beal at ansys dot com>
- To: 'Bob Stayton' <bobs at sco dot com>, JABakken at dstsystems dot com
- Cc: docbook at lists dot oasis-open dot org
- Date: Fri, 22 Aug 2003 13:34:47 -0400
- Subject: RE: [docbook] Adding a new element to docbook
> > <!ENTITY % DocBookDTD PUBLIC "-//OASIS//DTD DocBook V4.2//EN">
> > %DocBookDTD;
>
> This PUBLIC identifier is for the SGML version of the
> DocBook DTD. Since you are using XML, you need
> to use:
>
> "-//OASIS//DTD DocBook XML V4.2//EN"
>
One more thing: XML *requires* a system identifier. So, this line needs to
be
<!ENTITY % DocBookDTD PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
You can also use a local URI if you haven't configured a catalog yet.
(This is where the error message is coming from. The parser just sees that
the character immediately following the public identifier is not
white-space, so spits out this message. It would be nice if the message
were "missing system identifier" instead.)
Jeff Beal
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org