-
Notifications
You must be signed in to change notification settings - Fork 148
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
Need more descriptive error message in case of an invalid schema #23601
Milestone
Comments
The link in "on this line" should be this one: Line 229 in abbf4b4
|
dmatej
added a commit
to dmatej/glassfish
that referenced
this issue
Aug 15, 2022
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
I will go through LogStrings.properties in |
dmatej
added a commit
to dmatej/glassfish
that referenced
this issue
Aug 22, 2022
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
dmatej
added a commit
to dmatej/glassfish
that referenced
this issue
Aug 24, 2022
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
dmatej
added a commit
to dmatej/glassfish
that referenced
this issue
Aug 25, 2022
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
dmatej
added a commit
to dmatej/glassfish
that referenced
this issue
Aug 29, 2022
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
dmatej
added a commit
to dmatej/glassfish
that referenced
this issue
Sep 7, 2022
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
dmatej
added a commit
to dmatej/glassfish
that referenced
this issue
Sep 18, 2022
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment Details
Problem Description
I am in the process of updating some old JEE projects to Jakarta EE 9(.1). As the projects are quite simple, it takes me only two steps: replacing
javax.
package name prefixes withjakarta.
as appropriate, and updating the schemas. This issue concerns the latter step.If I try to use the projects with GlassFish 6.2.1, I get the error message thrown on this line of code. It is possibly loaded from this file, however, the two texts are the same:
Requested schema is not found in local repository, please ensure that there are no typos in the XML namespace declaration.
This error message is not helpful enough, as it doesn't mention the name of the wrong schema, forcing me into a guessing game.
Suggestion: include the name of the missing/wrong schema's name in the error message like this: "Requested schema wrong_schema.xsd is not found in local repository, please ensure that there are no typos in the XML namespace declaration." Optionally, for further assistance, the message could also mention the path of the local repository.
Performing the change seems to be trivial: the required name should be one of the two arguments on this line.
The text was updated successfully, but these errors were encountered: