Red Hat Bugzilla – Bug 982975
xPath window in xml perspective conflicts with editing commands
Last modified: 2014-01-12 19:28:04 EST
Created attachment 771471 [details]
eclipse start log
Description of problem:
When I try to edit an xml file with eclipse-xml-editor or eclipse-schema-editor, both keyboard shortcuts and menu actions like delete, undo, copy, paste, save etc. are not working.
With help, it was found that the problem seems to be related to the xpath-window in the xml perspective. When the xpath-window is closed. and I switch out and back into xml perspective, all the keyboard shortcuts and menu actions are working again.
There are a log of eclipse being started with the command: eclipse -clean -debug -consolelog
this can be found at http://pastebin.com/LmmHMpsK, and have also been attached as an attachment to this report.
Version-Release number of selected component (if applicable):
Fedora 19 with Eclipse kepler 4.3
How reproducible: for me always. For others I don't know
Steps to Reproduce:
1. Install eclipse with all components though yum.
2. Open an xml file in eclipse
3. Switch to xml perspective, and try using various edit commands, which should not work.
4. Close the xPath window, switch out and back into the xml perspective, and the try the same commands, which should now work.
Actual results: n/a
Expected results: n/a
Additional info: this bug was first started over at eclipse at https://bugs.eclipse.org/bugs/show_bug.cgi?id=412572
Here is the xalan-j2 package with something that may become a fix.
Please download *.noarch.rpm and install ( xalan-j2-2.7.1-19.fc19.noarch.rpm may be enough). Those packages are for Fedora 19.
Then run eclipse -clean.
It should work.
xalan-j2-2.7.1-19.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xalan-j2-2.7.1-19.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Created attachment 773700 [details]
eclipse startlog post xalan-j2-2.7.1-19.fc19
eclipse startup log after updating xalan to xalan-j2.7.1-19.fc19
After updating to xalan-j2-2.7.1-19.fc19 some functionality was restored in xml perspective with xpath-window open.
I was able to do copy-paste and use delete, save actions.
I am still unable to do other actions such as undo/redo, find, find-replace, as well as many of the other edit commands
I have attached a log from eclipse from after the update of xalan. I hope it will help.
Okay, my last comment (comment 5) is not valid. After the update I should have started eclipse with -clean option. After having done that, everything worked perfectly.
xalan-j2-2.7.1-19.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.