Hi all,
I have the next situation:

There is  directory   D:\cocoon-2.1.5\build\webapp\html-xml\
There are  two files :
      First  is   sitemap.xmap :
----------------------------------------------------------------------------------------------------------------          
<?xml version="1.0" encoding="iso-8859-1"?>
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
    <map:pipelines>
        <map:pipeline>
            <map:match pattern="pics/*.gif">
                       <map:read  mime-type="image/gif"  src="">
           </map:match>
             <map:match pattern="sp">
                        <map:read  src="" mime-type="text/html"/>
            </map:match>
       </map:pipeline>
    </map:pipelines>
</map:sitemap>
---------------------------------------------------------------------------------------------------------------------
Second  is  sp.html :
--------------------------------------------
<html>
<head>
<TITLE>Picture</TITLE>
</head>
<body>
<h3 align=center><img src="" width=36 height=34><br>Picture 1</h3>
</body>
</html>
-------------------------------------------
After  load :   http://localhost:8888/html-xml/sp    I have not  on the page in  browser  the  image of  z82.gif
The path  for  directory "pics"  is   D:\cocoon-2.1.5\build\webapp\pics\
I  wrote  the tag  <map:read  mime-type="image/gif"  src="" but  nothing.

In " http://wiki.apache.org/cocoon/Source "  is  point :

  "2. Resolving a source
TODO explain SourceResolver, SourceFactory and URLFactory "

But  I  can't  search this refrence :-((((((

Can anyone correct my  mistakes ?

Thanks in advance.

VL


Reply via email to