cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "João César" <joaoce...@duploclique.com>
Subject SourceWrite error :|
Date Fri, 04 Apr 2003 15:40:45 GMT
Hi all,

We're getting this error on sourcewrite transformer:

"The src attribute doesn't resolve to a writeable source and failed to
cancel "

The generator src is:

erro.xml:

<?xml version="1.0"?>
<page xmlns:source="http://apache.org/cocoon/source/1.0">
   <source:write src="context://pubmed/repository/my.xml">
     <page>
       XML Object body
     </page>
   </source:write>
 </page>

in the sitemap we have:

<map:match pattern="erro">
    <map:generate type="file" src="documents/erro.xml"/>
    <map:transform type="tofile">
        <map:parameter name="serializer" value="xml"/>
    </map:transform>
    <map:serialize/>
</map:match>

and the my.xml file is in the correct directory... :|

What's wrong?

Thanks in advance,

Joao Cesar
joaocesar@duploclique.com





---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message