Hi,

> According to the xml2pot man page it "creates a PO-template file from a
> DocBook XML file". But if I run it with what I think is a valid Docbook XML
> document (at least db2pdf compiles it) produces no valid output:

I've tracked this down to the doctype declaration.

The document you sent has a doctype declaration of:

  <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN">

Changing this to either:

  <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "foobar.dtd">

or just:

  <!DOCTYPE article>

makes xml2pot work as it should.

Looking through the docbook definitive guide, the section on "Making an
XML Document" (chapter 2) suggests to me that if a DTD is declared then
the system identifier is compulsory.  I'm not a docbook guru however and
so I'm perfectly willing to be told I'm wrong. :)

Please let me know what you think,

Ben.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to