You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/01/08 12:05:06 UTC

DO NOT REPLY [Bug 15279] - WriteableSource doesn't work with context: URLs

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15279>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15279

WriteableSource doesn't work with context: URLs

sylvain@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From sylvain@apache.org  2003-01-08 11:05 -------
Added ContextSourceFactory to 2.0.x branch and modified its behaviour in both
branches : we first try to get a file using context.getRealPath() and fall back
to getResource(). The obtained URL is then resolved giving a writeable source if
the context if file-based.

For this to work in 2.0.x, cocoon.xconf must be changed as follows :
- remove url-factory 'context'
- add source-handler :
    <protocol class="org.apache.cocoon.components.source.ContextSourceFactory"
name="context"/>

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