Thanks for the info.

Do you know though what would be the proper approach to deal with that
problem. How can I make it so tha the JSP compiler is satisfied with the
JSP and the jsp:root declaration and my additional entity declarations?

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Eric Suen
Sent: Friday, March 05, 2004 12:43 PM
To: [EMAIL PROTECTED]
Subject: Re: Entity Declarations in JSP/XML

Hi,

    Long time ago, I ask the same question, and got no answer.
and I found these in JavaServer Pages Specification 2.0:

> JSP.6.2.4 JSP Document Validation
>
>   A JSP Document with a DOCTYPE declaration must be validated by the 
> container in the translation phase. Validation errors must be handled 
> the same way as any other translation phase errors, as described in 
> Section JSP.1.4.1.
>
>   JSP 2.0 requires only DTD validation for JSP Documents; containers 
> should not perform validation based on other types of schemas, such as

> XML schema.

Maybe the validate should not make for internal DTD declarations, and
IMHO, that kind of  Specification is stupid, JSP should just be template
engine, not XML validator, if I want validate, I think I know how to do
it, for template engine, the XML file well-formed is enough.

Regards




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



**** Important Notice to Recipients ****
It is important that you do not use e-mail to request, authorize or effect the 
purchase or sale of any security or commodity, to send fund transfer instructions, or 
to effect any other transactions. Any such request, orders, or instructions that you 
send will not be accepted and will not be processed by Morgan Stanley.
****************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to