-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide better Error Validation messages. #181
Comments
What do you mean with |
I understand your idea, but I'm not sure that's a good idea to override messages. Those messages comes from Xerces and you can use google to understand more your problem, because Xerces is used in an so many project like IJ IDE, Eclipse, etc. @fbricon what do you think about this issue? |
From a user standpoint, those messages are not super useful (dare I say horrible?) as they're very hard to parse. |
Not familiar with Xerces but can it provide error message in the format of structured data? |
Here is the property file where the messages for schemas are stored in Xerces. This is where Xerces assigns the resource path. Here is where lsp4xml assigns Xerces' XSMessageFormatter, which I assume we can override to point to a modified property file with better messages. @angelozerr correct me if I'm wrong. |
This is so specific. Thank you for the info. I have to echo this issue since it's so painful to look at the error info in VS Code. We'll be more confident to recommend this extension to our users with this problem addressed. |
I had to do that because I lost Xerces messages. I don't know if it's a clean solution. To be honnest with you, I have no time to work on this issue. @fbricon @NikolasKomonen is it an important issue for you? Have you planned to work on this issue? |
@angelozerr I am able to work on this issue after my part for DTD issues. |
There's a ton of possible error messages to override. I suggest we focus on the 5-10 most common ones for starters, see where it goes. |
@akaroml you'll get the exact same error messages from Eclipse or IntelliJ so users should not be surprised here. Is it ok? Not really, but at least we're on the same playing field. You should also consider the other features brought to the table when considering recommending the Red Hat's vscode-xml extension. |
If anyone finds messages they would like to be simplified please post them here. |
Fixes eclipse-lemminx#181 Signed-off-by: Nikolas <nikolaskomonen@gmail.com>
Fixes eclipse-lemminx#181 Signed-off-by: Nikolas <nikolaskomonen@gmail.com>
Fixes eclipse-lemminx#181 Signed-off-by: Nikolas <nikolaskomonen@gmail.com>
Fixes eclipse-lemminx#181 Signed-off-by: Nikolas <nikolaskomonen@gmail.com>
Fixes eclipse-lemminx#181 Signed-off-by: Nikolas <nikolaskomonen@gmail.com>
Fixes eclipse-lemminx#181 Signed-off-by: Nikolas <nikolaskomonen@gmail.com>
Fixes eclipse-lemminx#181 Signed-off-by: Nikolas <nikolaskomonen@gmail.com>
Fixes eclipse-lemminx#181 Signed-off-by: Nikolas <nikolaskomonen@gmail.com>
Fixes eclipse-lemminx#181 Signed-off-by: Nikolas <nikolaskomonen@gmail.com>
Fixes eclipse-lemminx#181 Signed-off-by: Nikolas <nikolaskomonen@gmail.com>
Fixes eclipse-lemminx#181 Signed-off-by: Nikolas <nikolaskomonen@gmail.com>
Fixes eclipse-lemminx#181 Signed-off-by: Nikolas <nikolaskomonen@gmail.com>
Fixes #181 Signed-off-by: Nikolas <nikolaskomonen@gmail.com>
Improve the clarity of error validation messages.
The text was updated successfully, but these errors were encountered: