forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <>
Subject Re: FOPNGSerializer, user-config and locationmaps
Date Tue, 19 Aug 2008 04:43:10 GMT
Sjur Moshagen wrote:
> Could it be that it is the fact that the locationmap lookup in the  
> sitemap is specified as element content, and not as an attribute  
> value? All other examples I have found using lm has the lm lookup in  
> an attribute. That is, I'm thinking that this case is not so much  
> tested compared to the usual case, and that there might be some bugs  
> lurking in the code somewhere.

Maybe. See another test below.

> I'm pasting in the relevant sitemap code again for easier reference:
>     <map:serializers default="fo2pdf">
>       <map:serializer name="fo2pdf"  
> src="org.apache.cocoon.blocks.fop.FOPNGSerializer" mime- 
> type="application/pdf">
>       	<user-config>{lm:pdf.user-config}</user-config>
>        </map:serializer>
>     </map:serializers>

Which gave an error:}

I tried the following ...
which gave an error:}../resources/fonts/config.xml

So we can see that the opening "{" and up to the ":" are processed.

I am not sure what is doing this processing. Perhaps the LinkRewriter block.


View raw message