Skip to content
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

EE10: some dtd/xsd are missing: #107

Open
ludoch opened this issue Mar 25, 2024 · 1 comment
Open

EE10: some dtd/xsd are missing: #107

ludoch opened this issue Mar 25, 2024 · 1 comment

Comments

@ludoch
Copy link
Collaborator

ludoch commented Mar 25, 2024

Seeing this in logs:

WARNING 2024-03-25T20:50:08.512603Z The XML schema [XMLSchema.dtd] could not be found. This is very likely to break XML validation if XML validation is enabled.
WARNING 2024-03-25T20:50:08.513724Z The XML schema [datatypes.dtd] could not be found. This is very likely to break XML validation if XML validation is enabled.
WARNING 2024-03-25T20:50:08.514706Z The XML schema [xml.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.

@joakime
Copy link
Contributor

joakime commented Apr 5, 2024

These 3 warnings come from Apache Jasper.

This is because Jasper expects things for XML to appear in a specific directory location on the servlet-api jar, which it does for Tomcat, but not the official Servlet API Jar.

Those warnings just mention that XML validation will not work.
But the only code that uses that DigesterFactory is JSP.
So it would only impact XML for JSP, which I believe is limited to JSP custom taglib XML.

Note: even the latest Servlet API Jar for ee11 does not contain those 3 XML files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants