cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony" <t...@employer.com.br>
Subject Xinclude
Date Tue, 24 Apr 2001 21:42:48 GMT

hi

Cocoon 1.8.2

This is my code:
-----
<?xml version="1.0" standalone="yes"?>
<?cocoon-process type="xinclude"?>
<?cocoon-process type="xsp"?>

 <xsp:page language="java"
         xmlns:xsp="http://www.apache.org/1999/XSP/Core"
         xmlns:xinclude="http://www.w3.org/1999/XML/xinclude">
 <page>
 <xinclude:include xinclude:parse="xml" xinclude:href="menu.xml"/>
 </page>
 </xsp:page>
-----

When the included file "menu.xml" hasn't got a <xsp:page> tag in itself, I
got a :

java.lang.NullPointerException
	at
org.apache.cocoon.processor.xinclude.XIncludeProcessor$XIncludeProcessorWork
er.processXIncludeElement

Is this a bug or a "undocumented feature" ? ;)


Tony.


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