Try adding  overwrite="true" into the <source:write> node. Not sure if that is it, but 
it is
worth a try.

Upayavira

On 4 Apr 2003 at 16:53, João César wrote:

>
> Hi, first of all thanks for your prompt answer :)
>
> I've just changed to <source:write src="repository/my.xml"> and the
> error still remains, but after I analyse the XML displayed in the
> browser we see:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <page xmlns:source="http://apache.org/cocoon/source/1.0";>
>    <source:write src="file:/C:/Program Files/Apache Group/Tomcat
> 4.1/webapps/cocoon/pubmed/repository/my.xml" action="none"
> result="failed" serializer="xml">The src attribute doesn't resolve to
> a writeable source and failed to cancel</source:write>
>  </page>
>
> And the file exist's on that computer directory.. Do we need to write
> something on the file for it to become "writable", or can it be empty?
>
> Thanks in advance
>
> Joao Cesar
> [EMAIL PROTECTED]
>
>
>
>
> ----- Original Message -----
> From: "Upayavira" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, April 04, 2003 4:45 PM
> Subject: Re: SourceWrite error :|
>
>
> > > Hi all,
> > >
> > > We're getting this error on sourcewrite transformer:
> > >
> > > "The src attribute doesn't resolve to a writeable source and
> > > failed to cancel " ...
> > >    <source:write src="context://pubmed/repository/my.xml">
> > > ...
> >
> > The source you write to must be 'writable'. Obviously 'context:'
> > does not
> refer to a
> > source that is writable. If you wish to write to a file, try either
> > src="pubmed/repository/my.xml" or
> > src="file:/path/to/context/pubmed/repository/my.xml"
> >
> > This should work as file: is writable.
> >
> > Regards, Upayavira
> >
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For
> additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to