hi
i have a very strange problem, actually i'm passing
parameters from HTML file into .XML file. in the .XML
i'm using XSP to receive these parameters, i'm using a
DTD to include external entities. here is the code

<?xml version="1.0"?>
<?xml-stylesheet type="xsl" href="xx.xsl"?>
<?cocoon-process tye="xsp"?>
<?cocoon-process type="xslt"?>

<!DOCTYPE xsp [
<!ENTITY % entite SYSTEM "enes.xml">
%entite;
]>

<xsp:page language="java" 
xmlns:xsp="http://www.apache.org/1999/XSP/Core";>

<tst>

<item no="1">
  <xsp:expr>request.getParameter("Price")</xsp:expr>
</item>
<color no="1">
.
.
.
.

</tst>
</xsp:page>

the problem that i get an XSP NullPointerException,
and i think may be because of xsp declared as the root
element  in the DOCTYPE part....
but i don't know how to solve that, as XSP is the root
element and not tst.

i'm using Cocoon 1.8.2, apache Jserv/1.1 

please i need help as soon as possible..

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