hi,
i have a problem and i didn't find the answer in the
FAQ. my problem is that i have a .xml file which is
using a DTD to get external entities, i want to use
XSP with this xml file to retrieve some parameters
from HTML file, the problem here, i always get a XSP
NullPointerException error, here is the code

<?xml version="0.1"?>
<?cocoon-process="xsp"?>
<?cocoon-process="xslt"?>
<?xml-stylesheet href="xxxx.xsl"?>
<!-- xsp is the root element -->
<!DOCTYPE xsp [
<!ENTITY % ens SYSTEM "ens.xml">
%ens;]>
<xsp:page language="java"
xmlns:xsp="http://www.apache.org/1999/XSP/Core";>

<page>
<parameters>
<fname><xsp:expr>request.getParameter("fname")</xsp:expr</fname>
.........
</parameters>
....
</page>
</xsp:page>

i don't know if the error in the decleration of the
root element in the DOCTYPE, or XSP and DTD can't work
together...would any one tell me what to do...

i'm using Cocoon 1.8.2 apache JServ/1.1

thanks in advance....







=====
Mohamed Ramzy Zakaria, Graduate Research student
School of Computer Science & Information Technology
Jubilee Campus, Nottingham University
Nottingham, UK
TEL: 00 44 (0)115 84 66529
MOB: 00 44 (0)7947105251
MOB E-MAIL: [EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to