Page 1 of 1

Odd DTD validation issue

Posted: Wed Aug 20, 2014 3:55 pm
by newt
I'm having a strange DTD validation issue with both oXygen 15 & 16.

My project has a custom catalog loaded as well as the default. In the XML editor, the document validates with no problem. If I tried to transform this file using the XSLT debugger, the DTD is not found, almost as if the catalog is not being used.

I appear to have a similar, possibly related issue, with DITA documents - they validate just fine but as soon as I switch to the editor view (for topics) or try to load a document in the maps manager (for maps), I get a dialog box telling me the DTD is not found and I cannot change view.

Any suggestions as to where I might start looking to try and resolve this? Have tried this both on Windows 7 and OS X Mavericks


thanks

nic

Re: Odd DTD validation issue

Posted: Tue Aug 26, 2014 8:41 pm
by adrian
Hello,

If you want to debug an XML catalog, you can set catalog verbosity to All messages in Options > Preferences, XML > XML Catalog.
When you validate or transform, the Catalogs view is populated with all the attempts to resolve systemIDs and URIs via the XML catalogs. You may want to clear the view prior to a validation in order to see only the latest messages.

Regards,
Adrian

Re: Odd DTD validation issue

Posted: Mon Sep 01, 2014 4:46 pm
by newt
Hi Adrian

That's how I worked out that I was having some sort of problem - the schema and DTD files are found just fine as long as I'm in the XML editor. They're not found in any of the special DITA views or the XSLT debugger.

Re: Odd DTD validation issue

Posted: Tue Sep 02, 2014 3:06 pm
by adrian
Hi,

1. Does your catalog cover the same System/Public IDs as the default DITA catalog or is it unrelated to DITA?
2. Did you customize the DITA document types (DITA, DITA Map) or are you using the default ones?
3. Did you change any of the DTD/XML Schema options from Options > Preferences, Document Type Association (bottom of the options panel)?
4. Do you remember making any significant changes to the Oxygen options before this happened?

Regards,
Adrian