Hi,

I'm not sure that this one is the fault of XXE but I wonder if you could
aid me.

In the prolog section of our DITA topics, the XXE templates insert the
following in the document type definition:

<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
"http://docs.oasis-open.org/dita/v1.0.1/dtd/concept.dtd";>

Which is fine and valid. However, when processing the topics through the
DITA Open Toolkit, if the computer you are using doesn't have an
Internet connection, it doesn't find the DTD, doesn't seem to resolve
the local copy through the "dita_catalog.xml" file, and the build fails.

It works fine if we replace the filename attribute with a local copy as
follows:

<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
"../../dtd/concept.dtd">

But this means that the topics are no longer portable between computers
and folders. The fix seems to be to provide a null string as follows:

<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN"
"">

This validates in XXE and processes through the DITA Open Toolkit just
fine.

My question is, is this correct, complete and valid XML? If it is valid,
is it a better solution for the XXE templates? I know that we'll need to
change them on the 20 or so desktops that we have. Would you be willing
to put it in XXE?

Richard

Send instant messages to your online friends http://in.messenger.yahoo.com 

Reply via email to