cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: + character in source filename
Date Wed, 09 Oct 2002 19:35:23 GMT
Upayavira wrote:

>Dear All,
>I'm using Cocoon to apply a new style to an existing site, i.e. HTML->XML->HTML.
>far, it is working very well, however:
>In the original site, there are a few HTML files that have + characters in the filename,

>e.g. mind+body.html. When used as the source for a pipeline, I get:
>A name contained an invalid character. Error processing resource 
>'http://localhost:8080/cocoon/mind+body.xml' Line 1, Position 410

Try %2B instead of '+':



>The sitemap fragment is simple:
>  <map:match pattern="**.xml">
>      <map:generate type="html" src="html/{1}.html"/>
>      <map:transform src="xsl/tidy/tidy.xsl"/>	
>      <map:serialize type="xml"/>
>   </map:match>
>Any ideas how I can get around having to rename the source files, and thus break 
>compatability with the existing site?

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message