Odd DTD validation issue

Having trouble installing Oxygen? Got a bug to report? Post it all here.
newt
Posts: 38
Joined: Mon Jun 11, 2007 5:12 pm
Location: London
Contact:

Odd DTD validation issue

Post 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
Director, Corbas Consulting
XML and eBook consultancy and training
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Odd DTD validation issue

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
newt
Posts: 38
Joined: Mon Jun 11, 2007 5:12 pm
Location: London
Contact:

Re: Odd DTD validation issue

Post 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.
Director, Corbas Consulting
XML and eBook consultancy and training
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Odd DTD validation issue

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply