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 Re: SourceWrite error :|
Date Fri, 04 Apr 2003 15:53:15 GMT

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
joaocesar@duploclique.com




----- Original Message -----
From: "Upayavira" <uv@upaya.co.uk>
To: <cocoon-users@xml.apache.org>
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: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>



---------------------------------------------------------------------
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