[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]