Re: Entity Declarations in JSP/XML

2004-03-08 Thread Eric Suen
If you really want add internal entity declarations in you jspx, maybe you should enter a feature request at http://issues.apache.org/bugzilla/. And you can change the "org.apache.jasper.compiler.JspDocumentParser" source, modify the startDTD(...) method to fit your need. and if you don't want to

RE: Entity Declarations in JSP/XML

2004-03-08 Thread Lipov, Felix
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 Validat

Re: Entity Declarations in JSP/XML

2004-03-05 Thread Eric Suen
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 b

Entity Declarations in JSP/XML

2004-03-05 Thread Lipov, Felix
Hi, I'm having problems when I try to declare an XML ENTITY, like   in an XML formatted JSP page. Tomcat 4 never gave problems, but Tomcat 5 always gives errors off of the following example: ]> http://java.sun.com/JSP/Page"; version="1.2">   Saying: org.apache.jasper.Jas