cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20088] - XIncludeTransformer: xml:base does not work with Cocoon's pseudo protocols
Date Thu, 22 May 2003 12:07:05 GMT
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=20088>.
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=20088

XIncludeTransformer: xml:base does not work with Cocoon's pseudo protocols





------- Additional Comments From torstenknodt@datas-world.de  2003-05-22 12:07 -------
After the Cocoon Stammtisch yesterday, I looked into Excalibur Source. I think 
I found a solution, which is simple to implement. 
 
We extend Source with the following function 
public Source resolve(final String relativeURI); 
which resolves against itself. As the implementing class is the information 
expert for it's own scheme, it also knows how to resolve it. For this, it can 
use java.net.URL or whatever it want's. 
 
Then we extend XMLBaseSupport and perhaps others which could use it, to use 
this Source.

Mime
View raw message