Search found 5 matches

by jf1
Fri Jun 01, 2018 12:15 pm
Forum: SDK-API, Frameworks - Document Types
Topic: StandalonePluginWorkspace.createNewEditor from Plugin with own Xerces
Replies: 8
Views: 4695

Re: StandalonePluginWorkspace.createNewEditor from Plugin with own Xerces

For anyone else with similar problems; As a last resort (because elsewhere these have proved problematic - xml-apis is an interface which is used by OXyegn and a plugin to pass classes between their 'class worlds', resolver because it completes the classwork of xerces use for the plugin) [*]I tried ...
by jf1
Thu May 31, 2018 3:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: StandalonePluginWorkspace.createNewEditor from Plugin with own Xerces
Replies: 8
Views: 4695

Re: StandalonePluginWorkspace.createNewEditor from Plugin with own Xerces

I tried running with -Djaxp.debug=1 -Dxerces.debug=true and looking at the stack trace and looking at the Xerces code. The bit of the code that is exceptioning is public static final DTDDVFactory getInstance(String factoryClass) throws DVFactoryException { try { // if the class name is not specified...
by jf1
Thu May 31, 2018 11:54 am
Forum: SDK-API, Frameworks - Document Types
Topic: StandalonePluginWorkspace.createNewEditor from Plugin with own Xerces
Replies: 8
Views: 4695

Re: StandalonePluginWorkspace.createNewEditor from Plugin with own Xerces

Hi, Thankyou for your suggestion about the thread classloader. I have tried it (and had tried something similar in the production code) but it did not work. Using our own classloader was where I was coming from. I had removed it but cannot make the call to createNewEditor work try as I may. I cannot...
by jf1
Wed May 30, 2018 8:11 pm
Forum: SDK-API, Frameworks - Document Types
Topic: StandalonePluginWorkspace.createNewEditor from Plugin with own Xerces
Replies: 8
Views: 4695

StandalonePluginWorkspace.createNewEditor from Plugin with own Xerces

I have a plugin which wishes to use its own version of Xerces rather than load the one from Oxygen's lib dir. <plugin id="com.oxygenxml.plugin.ProblemWorkspaceAccess" name="ProblemWorkspaceAccess" description="Test" version="${project.version}" vendor="oX...