You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Lionel Crine <cr...@4dconcept.fr> on 2004/06/11 17:49:46 UTC
[Xinclude] Processing blank spaces in files' name
Hi,
I'm processing some files with blank spaces using xinclude.
So some url are created.
<xinclude:include href="cocoon:/setdocument/my document.xml"/>
But when I called the xinclude transformer
<map:match pattern="setdocument/*">
<map:generate src="xml/{1}.xml"/>
...
</map:match>
This pipeline doesn't find the document on the local disk because, it's
trying to open the URL without %20
here is the error :
javax.xml.transform.TransformerException:
org.apache.cocoon.ResourceNotFoundException: Resource not found.:
org.apache.excalibur.source.SourceNotFoundException:
file:/D:/software/java/jakarta-tomcat-4.1.12/webapps/myappli/xml/my
document.xml doesn't exist.
Any idea ?
Thanks
Lionel
Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org