When I open XML file then jEdit writes NullPointerException on STDERR and UI stops refreshing properly.
Steps to reproduce:
You can see something similar to attached screenshot.
jEdit version number: 5.2.0
platform: Gentoo Linux
Java version: Oracle Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Activity log: see attached activit.log file
Plugins: see attached plugin-list.txt file
Plugin Bugs: #1870
Plugin Patches: #182
Plugin Patches: #183
Confirmed! Thanks for reporting.
fixed in r24528.
It will be in XMLPlugin 3.0.5.
Meanwhile you can get a pre-release here: http://cloudy.elelay.fr/dropbox/2016-09-13-XML-fix-4020.tbz2
Extract and move XML.jar to ~/.jedit/jars/
Many thanks for quick response.
I can approve that no errors are reported with the pre-release version. Also GUI works well.
But when I try to validate the apiEntities.xml from testCase.tar.gz in jEdit than it says that 'Element type "apiEntities" must be declared.'
The problem seems to be the fact that I'm using XML Schema (for validation) simultaneously with DOCTYPE definition (for entity expansion). It seems that XML Schema is ignored in this case. I'm not sure if it is problem of XML plugin, Xerces plugin or Xerces itself. I want to create separate bug for this but I don't know where the correct place is (jEdit or Xerces).
You can disable DTD validation in XML plugin.
From XML User's guide:
Disabling DTD validation works well. I will create separate feature request for possibility to disable it on a global basis.
This issue is fixed from my point of view. Thanks again.
Thank you vaclav, for the detailed steps to reproduce.