Howdy, Also note that server.xml doesn't and can't have a DTD/schema. Yoav Shapira Millennium ChemInformatics
>-----Original Message----- >From: Lukasz Szelag [mailto:[EMAIL PROTECTED]] >Sent: Friday, February 14, 2003 1:57 PM >To: [EMAIL PROTECTED] >Subject: Is server.xml DTD case-sensitive? > >Hello, > >I have noticed that resource parameters are ignored when declared as >follows: > > <Resource name="mail/Session" auth="Container" >type="javax.mail.Session"/> > > <ResourceParams name="mail/Session"> > <Parameter> > <Name>mail.smtp.host</Name> > <Value>smtp.dsl.net</Value> > </Parameter> > </ResourceParams> > >As opposed to: > > <Resource name="mail/Session" auth="Container" >type="javax.mail.Session"/> > > <ResourceParams name="mail/Session"> > <parameter> > <name>mail.smtp.host</name> > <value>smtp.dsl.net</value> > </parameter> > </ResourceParams> > >(The effect of the first example is that "mail.smtp.host" is not set and >still holds its initial value of "localhost"). > >Although the "parameter" element in Tomcat docs is written in lowercase I >thougth that it didn't matter. Does anyone know if >this behavior is intentional or it is a bug? Looks like it is a bug since >there were no parsing errors reported by Tomcat. > >Lukasz Szelag This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]