Steven Noels wrote:
Sylvain Wallez wrote:Well, I'm a bit confused: there is a src attribute on the source:write element, but only in the status report apparently, and a source:source element which content should list the filename according to http://xml.apache.org/cocoon/userdocs/transformers/sourcewriting-transformer.html:<source:write src="" action="none" result="failed" xmlns:cinclude="http://apache.org/cocoon/include/1.0" xmlns:source="http://apache.org/cocoon/source/1.0">The src attribute could not be resolved and failed to cancel</source:write>
The 'src' attribute above is empty. Can't this be the reason ?
<page>
...
<source:write xmlns:source="http://apache.org/cocoon/source/1.0">
<source:source>context://doc/editable/my.xml</source:source>
<source:fragment><page>
<title>Hello World</title>
<content>
<p>This is my first paragraph.</p>
</content>
</page></source:fragment>
</source:write>
...
</page>
I can fix the release branch doco if I find out what the problem is ;)
The problem is context:// which resolves to a non-WriteableSource even if it's a file.
I'll try to fix this today in the 2.0.5 branch.
Sylvain
--
Sylvain Wallez Anyware Technologies
http://www.apache.org/~sylvain http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]