cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Crine <cr...@4dconcept.fr>
Subject [Xinclude] Processing blank spaces in files' name
Date Fri, 11 Jun 2004 15:49:46 GMT
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


Mime
View raw message