cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohamed Ramzy <m_ra...@yahoo.com>
Subject XSP and DTD
Date Tue, 03 Jul 2001 21:55:21 GMT
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: m_ramzy@quios.com

__________________________________________________
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message