|
From: Juergen H. <ju...@in...> - 2006-03-03 08:01:00
|
Resin seems to override the default XML parser and set its own there - probably without schema support. So I guess you need to figure how to make Resin use JDK 5's default XML parser (which would be Xerces and hence fine) instead. Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...] On Behalf Of da...@da... Sent: Friday, March 03, 2006 12:37 AM To: spr...@li... Subject: [Springframework-developer] XSD and Resin has anyone deployed a Spring app using 2.0 schema into Resin? I get an exception as the parser can't handle schema: [23:35:15.067] org.springframework.beans.FatalBeanException: Unable to validate using XSD: Your JAXP provider [org.apache.crimson.jaxp.DocumentBuilderFactoryImpl@a7dd39] does not support XML Schema. Are you running on Java 1.4 or below with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support. I'm certainly running on JDK 5, I've also tried setting system properties as java_args in the resin httpd.sh startup file to no avail. Cheers, -- Darren Davison Public Key: 0xDD356B0D |