<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=415301117-21022005><FONT face=Verdana size=2>Hi 
all,</FONT></SPAN></DIV>
<DIV><SPAN class=415301117-21022005><FONT face=Verdana 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=415301117-21022005><FONT face=Verdana size=2>I'm trying to open 
a xml resource to read its content and there is a problem I cant 
understand:</FONT></SPAN></DIV>
<DIV><SPAN class=415301117-21022005><FONT face=Verdana 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=415301117-21022005><FONT face=Verdana size=2>0) 
List listResources = collector.getResults(cmsObject, "allInFolder", 
"/folder/resources/temp_${number}.xml|33");</FONT></SPAN></DIV><SPAN 
class=415301117-21022005>
<DIV><FONT face=Verdana><FONT size=2><SPAN class=415301117-21022005>1) 
</SPAN>for (int i = 0; i < listResources.size(); i++) {<BR><SPAN 
class=415301117-21022005>2)</SPAN>    CmsResource aNews = 
(CmsResource)listResources.get(i);<BR><SPAN 
class=415301117-21022005>3) </SPAN>   String filePath = 
listResources.getRootPath();</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=415301117-21022005><FONT face=Verdana size=2>4)    
CmsFile sourceFile = cmsObject.readFile(filePath);</FONT></SPAN></DIV>
<DIV><SPAN class=415301117-21022005><FONT face=Verdana 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=415301117-21022005><FONT face=Verdana size=2>The line 3 returns 
the path "/sites/default/resource/folder/resources/temp_001.xml" and the line 4 
try to read the file at path 
"/sites/default/sites/default/resource/folder/resources/temp_001.xml" where the 
exception occurs.</FONT></SPAN></DIV>
<DIV><SPAN class=415301117-21022005><FONT face=Verdana 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=415301117-21022005><FONT face=Verdana size=2>Someone could 
explain how could I solve this problem???</FONT></SPAN></DIV>
<DIV><SPAN class=415301117-21022005><FONT face=Verdana 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=415301117-21022005><FONT face=Verdana size=2>Thank in 
advance,</FONT></SPAN></DIV>
<DIV><SPAN class=415301117-21022005><FONT face=Verdana 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=415301117-21022005><FONT face=Verdana 
size=2>Rommel</FONT></SPAN></DIV></BODY></HTML>