Upayavira wrote:
Dear All,
I'm using Cocoon to apply a new style to an existing site, i.e. HTML-XML-HTML. So
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 '+':
http://localhost:8080/cocoon/mind%2Bbody.xml
Vadim
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?
Regards,
Upayavira
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]