This is the mail archive of the docbook@lists.oasis-open.org 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: [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


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