RE: web.xml and schema document.

2004-02-25 Thread Shapira, Yoav

Hi,

Can someone give me an example of how to set up my web.xml file to use
the 2.4 schema, rather than a DTD?  I'd really appreciate this, as it
seems from the specs that this would turn on EL globally, which would
be
valueable to me.

?xml version=1.0 encoding=ISO-8859-1?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
version=2.4
  display-nameA Simple Application/display-name
...
/web-app

From the Servlet Specification v2.4, SRV.13.5.1.

Yoav Shapira



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]



Re: web.xml and schema document.

2004-02-25 Thread Carl Howells
I can't get my file with that intro to validate, because it lacks a 
DOCTYPE declaration...  I'd like to be able to validate my web.xml file, 
if at all possible.  What should the DOCTYPE be for this?

Shapira, Yoav wrote:
?xml version=1.0 encoding=ISO-8859-1?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
version=2.4
  display-nameA Simple Application/display-name
...
/web-app
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: web.xml and schema document.

2004-02-25 Thread Shapira, Yoav

Howdy,

I can't get my file with that intro to validate, because it lacks a
DOCTYPE declaration...  I'd like to be able to validate my web.xml
file,
if at all possible.  What should the DOCTYPE be for this?

Using what tool?  It's very rare top declare a DOCTYPE for a Schema
document, a DOCTYPE goes with a DTD.

Yoav Shapira



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]