tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55166] schemaLocation references between servlet and jsp XSDs are invalid
Date Fri, 05 Jul 2013 11:50:02 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=55166

--- Comment #8 from Konstantin Kolinko <knst.kolinko@gmail.com> ---
You are doing it wrong.
a) You have to configure a resolver to be able to locate schemas.

Tomcat uses org.apache.catalina.util.SchemaResolver as configured by
org.apache.catalina.startup.DigesterFactory.
See DigesterFactory#registerLocalSchema().

b) You can use SchemaFactory.newSchema(Source[]). I do not know whether it
helps in your case (maybe it does not help with includes), but it is a way to
pass several schema files to a SchemaFactory.

c) You can bundle and redistribute schema files on your own, without relying on
ones used internally by Tomcat.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message