forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Odlind" <>
Subject Custom XSL pipeline in sitemap.xmap causes build error
Date Wed, 06 Jun 2007 11:34:52 GMT

Hi there,

I have added a custom DTD, which seems to be working fine. I would like
all the files with the md-v1.0 DTD declared in the DOCTYPE to use a
custom XSL.

I have the following in my local sitemap.xmap:

<map:sitemap xmlns:map="">
    <map:selectors default="parameter">
      <map:selector logger="sitemap.selector.parameter" name="parameter"
src="org.apache.cocoon.selection.ParameterSelector" />
      <map:action logger="sitemap.action.sourcetype" name="sourcetype"
	  <sourcetype name="md-v1.0">
	    <document-declaration public-id="-//MyDoc//DTD MyDoc
Document V1.0//EN" />

	<map:match pattern="**.xml">
	  <map:generate src="{properties:content.xdocs}{1}{2}.xml" />
	  <map:act type="sourcetype"
          <map:select type="parameter">
	      <map:parameter name="parameter-selector-test"
value="{sourcetype}" />
		<map:when test="md-v1.0">
src="{properties:resources.stylesheets}/mydoc-to-document.xsl" />
	  <map:serialize type="xml"/>

When I run Forrest, I get the following:

"linkmap.html  BROKEN: C:\Forrest0_8\apache-forrest-0.8\main\webapp\.
(Access is denied)"

Any help appreciated.



This email has been scanned by the MessageLabs Email Security System.
For more information please visit 

View raw message