Page 1 of 1

eclipse and xml catalog

Posted: Mon Mar 11, 2013 8:27 pm
by queshaw
Hi,

I am using the 14.2 oxygen editor plugin for eclipse. I've added catalogs and unselected the default catalog. When I attempt to create a document and associate a DTD it does it does not resolve the public id. I have all messages selected, and it logs the public id and the system id as null. I don't see messages that look like they com from commons resolver.

The same settings in the standalone client resolves the ids. Am I missing some additional configuration that I need to do?

Re: eclipse and xml catalog

Posted: Mon Mar 11, 2013 10:32 pm
by queshaw
Hmm. Now it is working.... I have no idea why. Probably because I asked this question.

I've closed and opened eclipse after setting catalog paths several times. I clicked apply before restarting eclipse this time. Maybe that is it?

Re: eclipse and xml catalog

Posted: Mon Mar 11, 2013 11:42 pm
by Costin
Hello,

There would have been possible you were not using the same catalog file from the same location in both the standalone application and Eclipse plugin.

Also, you could have left the "Use default catalog" option enabled, as however the custom user catalogs have higher priority than the default one.
And of course before restarting Eclipse you should apply the new settings.

So there are multiple possible causes implied, but however I am happy to hear that you managed to solve the issue.

Feel free to let us know if you encounter further difficulties.

Regards,
Costin