cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Guillon <>
Subject Re: ZipFileSerializer After XInclude Throws NullPointerException
Date Thu, 31 May 2007 15:35:37 GMT
Hi Joerg,

1) This resulted in the same error when I configured the pipeline like so:

        <map:match pattern="">
            <map:generate src="simple_xi.xml"/>
            <map:transform type="xinclude"/>
            <map:serialize type="zip"/>

        <map:match pattern="simple.xml">
            <map:read type="resource" src="simple.xml" mime-type="text/xml"/>

2)  I changed the XInclude to this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<zip:archive xmlns:zip="" 
xmlns:xi="" >
 <zip:entry name="content.xml" serializer="xml">
  <xi:include href="simple.xml"/>

and removed simple.xml from the pipeline... I get the same result.



> Hello Adrien,
> can you try 1. to use a reader for simple.xml pipeline instead of
> generator + serializer, 2. to include simple.xml directly instead of via
> cocoon pipeline?
> Joerg

View raw message