Community
Participate
Working Groups
I want to exclude a specific file from XML validation but I can't select that file! The Folder or Filename dialog is obviously broken! To reproduce: In Window -> Preferences -> Validation pick XML Validator - Settings. Create an Exclude Group. Next try to add a Rule to exclude a specific file to that Exclude Group. Click [Add Rule] and choose "Folder or File-name" and hit [Next]. You get a "Folder or Filename" dialog. Click the [Browse File...] button. In the file selection box navigate to the XML-File, select it and hit [Open]. You are back in the "Folder or Filename" dialog but the File or Folder-input field remains empty! ==> It's impossible to choose a file here!
This is issue is still there in 2022-09. When clicking "Add Rule" the new window opens, but "Validation filters for X Validation" remains the active window, so it is impossible to interact with the "New Filter Rule Wizard" window.
This issue is still there in 2023-03 as described by Balazs Mesko. You can close the "Validation filters for XML Validation" dialog and the file picker dialog remains and is active, however no rule is created no matter what file is picked.
The issue is still there in 2024-03. Could somebody direct me to a repo where could I fix this?
Take a look at https://github.com/eclipse-wtp-common/webtools.common . There were some recent changes that might fix the issue ( see https://github.com/eclipse-wtp-common/webtools.common/commit/e4975b976c24c12561bcd77b7e4212c9a8ad6bf4 ). The changes are not in 2024-06 M1 so you will have to build locallly or wait for 2024-06 M2 to check if this is fixed.
That's great news, I'll check out the M2 as soon as it is out.