cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Naegeli Margrit <margrit.naeg...@ecofin.ch>
Subject No processor for type "xinclude"
Date Thu, 09 Nov 2000 15:38:34 GMT
Hello,

I'm trying to use xinclude for the first time, but I get this error:

java.lang.Exception: No processor for type "xinclude"
              at
org.apache.cocoon.processor.ProcessorFactory.getProcessor(ProcessorFactory.j
ava:74)
              at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
              at org.apache.cocoon.Cocoon.service(Cocoon.java:167)

My cocoon.properties have this line:
processor.type.xinclude =
org.apache.cocoon.processor.xinclude.XIncludeProcessor

XIncludeProcessor.class is in my cocoon.jar

The xml looks like this:

<?xml version="1.0" encoding="iso-8859-1"?>
<?cocoon-process type="xinclude"?>
<foo:bar xmlns:foo="http://www.foo.com">

  <x xmlns:xinclude="http://www.w3.org/1999/XML/xinclude">
    <include xinclude:parse="xml" xinclude:href="toc.xml"/>
  </x>
   ...
</foo:bar>

(Otherwise, Cocoon runs fine - great work!)

What is my mistake here?

Thanks for your help!
Maggie     

Mime
View raw message