unico 2004/01/31 08:56:24
Modified: src/java/org/apache/cocoon/components/source/impl
SitemapSource.java
Log:
no protocol causes resolver to throw NPE on release
Revision Changes Path
1.25 +2 -1
cocoon-2.2/src/java/org/apache/cocoon/components/source/impl/SitemapSource.java
Index: SitemapSource.java
===================================================================
RCS file:
/home/cvs/cocoon-2.2/src/java/org/apache/cocoon/components/source/impl/SitemapSource.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- SitemapSource.java 10 Jan 2004 14:38:19 -0000 1.24
+++ SitemapSource.java 31 Jan 2004 16:56:24 -0000 1.25
@@ -156,6 +156,7 @@
this.enableLogging(logger);
SitemapSourceInfo info = SitemapSourceInfo.parseURI(env, uri);
+ this.protocol = info.protocol;
// does the uri point to this sitemap or to the root sitemap?
String prefix;