Hi,

I'm having problems when I try to declare an XML ENTITY, like &nbsp in
an XML formatted JSP page. Tomcat 4 never gave problems, but Tomcat 5
always gives errors off of the following example:

<?xml version="1.0" ?>
<!DOCTYPE jsp:root [
  <!ENTITY nbsp "&#160;">
  <!ENTITY le "&#8804;">
  <!ENTITY ge "&#8805;">
]>

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"; version="1.2">
  <html>
  <body>
  &nbsp;
  </body>
  </html>
</jsp:root>


Saying:
org.apache.jasper.JasperException: /test.jsp(9,521) Element type
"jsp:root" must be declared.
...

Any one have any ideas? Or even a reference as to where I could get more
help. Even an XML reference. I'm not sure what exactly it wants,
especially when Tomcat 4 didn't have problems with the given syntax.

Thanks.


**** 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