RE: [TC 5] XMLSchema validation and Xerces 2.1.0
Also, you probably ought to include the XML parser (Xerces 2.1.0) with the LE edition of TC5 (If it does fix it). Does Sun JDK1.4 come with Xerces or Crimson? I thought I read that it was supplied with a version of Xerces, but the source that comes with it has org.apache.crimson. stuff in it. Dave. -Original Message- From: Hans Schmid [mailto:[EMAIL PROTECTED]] Sent: 04 September 2002 13:37 To: Tomcat-Dev Subject: [TC 5] XMLSchema validation and Xerces 2.1.0 Hi, as far as I understand, there are problems in Tomcat 5 with the XML Schema validation. A hack in Tomcat plus Xerces 2.0.1 are currentzly in the build system. Has anyone tried the new Xerces release 2.1.0 yet ? If 2.1.0 fixes the XML Schema problems it might be worth including it in Tomcat 4.1 as well Just a thought, Hans Schmid -- To unsubscribe, e-mail: mailto:tomcat-dev- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-dev- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [TC 5] XMLSchema validation and Xerces 2.1.0
Hans Schmid wrote: Hi, as far as I understand, there are problems in Tomcat 5 with the XML Schema validation. A hack in Tomcat plus Xerces 2.0.1 are currentzly in the build system. Has anyone tried the new Xerces release 2.1.0 yet ? Yes, I have done some tesing and it works fine. It the first Xerces version that works properly with schema. 2.0.1 has some performance problems, 2.0.2 has a StackOverflow exception. So yes, 2.1.0 works fine :-) Remember that by default, XML validation is turned off in Tomcat 5. You need to setup optional attribute on the host element to turn it on (xmlValidation=true, xmlNamespaceAware=true). If 2.1.0 fixes the XML Schema problems it might be worth including it in Tomcat 4.1 as well XML Schema is not supported in 4.1. It was required by the new Servlet 2.4/JSP 2.0 specs. -- Jeanfrancois Just a thought, Hans Schmid -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [TC 5] XMLSchema validation and Xerces 2.1.0
Jean-Francois Arcand wrote: Hans Schmid wrote: Hi, as far as I understand, there are problems in Tomcat 5 with the XML Schema validation. A hack in Tomcat plus Xerces 2.0.1 are currentzly in the build system. Has anyone tried the new Xerces release 2.1.0 yet ? Yes, I have done some tesing and it works fine. It the first Xerces version that works properly with schema. Cool :) I'll include Xerces 2.1.0 in 4.1.11+ (and of course, the first 5.0.0 milestone), unless people would like to stick with Xerces 2.0.x (2.0.2 is included in 4.1.10). BTW, is it actually faster (working fine is nice by itself, of course) ? Remy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [TC 5] XMLSchema validation and Xerces 2.1.0
David Oxley wrote: Also, you probably ought to include the XML parser (Xerces 2.1.0) with the LE edition of TC5 (If it does fix it). Does Sun JDK1.4 come with Xerces or Crimson? I thought I read that it was supplied with a version of Xerces, but the source that comes with it has org.apache.crimson. stuff in it. By default, Crimson is used, but the Xerces files are available. -- Jeanfrancois Dave. -Original Message- From: Hans Schmid [mailto:[EMAIL PROTECTED]] Sent: 04 September 2002 13:37 To: Tomcat-Dev Subject: [TC 5] XMLSchema validation and Xerces 2.1.0 Hi, as far as I understand, there are problems in Tomcat 5 with the XML Schema validation. A hack in Tomcat plus Xerces 2.0.1 are currentzly in the build system. Has anyone tried the new Xerces release 2.1.0 yet ? If 2.1.0 fixes the XML Schema problems it might be worth including it in Tomcat 4.1 as well Just a thought, Hans Schmid -- To unsubscribe, e-mail: mailto:tomcat-dev- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-dev- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [TC 5] XMLSchema validation and Xerces 2.1.0
Remy Maucherat wrote: Jean-Francois Arcand wrote: Hans Schmid wrote: Hi, as far as I understand, there are problems in Tomcat 5 with the XML Schema validation. A hack in Tomcat plus Xerces 2.0.1 are currentzly in the build system. Has anyone tried the new Xerces release 2.1.0 yet ? Yes, I have done some tesing and it works fine. It the first Xerces version that works properly with schema. Cool :) I'll include Xerces 2.1.0 in 4.1.11+ (and of course, the first 5.0.0 milestone), unless people would like to stick with Xerces 2.0.x (2.0.2 is included in 4.1.10). BTW, is it actually faster (working fine is nice by itself, of course) ? Yes, it is (but still slower than Crimson). Xerces 2.0.1 was cycling over and over when a publicId=systemId=null,. They have fixed the problem in Xerces 2.1 and that makes a huge difference (at least for Tomcat schema and dtd) -- Jeanfrancois Remy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [TC 5] XMLSchema validation and Xerces 2.1.0
David Oxley wrote: Also, you probably ought to include the XML parser (Xerces 2.1.0) with the LE edition of TC5 (If it does fix it). I plan to propose to get rid of the LE edition with 5.0.x. The idea would be that: - we bundle a parser, since not even the one included in JDK 1.4 would work - we would only bundle OSS binaries (most of the rest is either a bit useless, or got integrated wither in JDK 1.3 or 1.4) So the 5.0.x binaries would actually look a bit like the current LE versions. A formal proposal will be posted on that when it is time to release milestones. Remy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]