[Yanel-commits] rev 43088 -
public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources
michi at wyona.com
michi at wyona.com
Fri May 29 10:12:46 CEST 2009
Author: michi
Date: 2009-05-29 10:12:45 +0200 (Fri, 29 May 2009)
New Revision: 43088
Modified:
public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources/BasicXMLResource.java
Log:
also check for the yanelresource scheme
Modified: public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources/BasicXMLResource.java
===================================================================
--- public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources/BasicXMLResource.java 2009-05-29 07:44:10 UTC (rev 43087)
+++ public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources/BasicXMLResource.java 2009-05-29 08:12:45 UTC (rev 43088)
@@ -259,6 +259,9 @@
} else if(xsltPaths[i].startsWith("rthtdocs:")) {
log.warn("Scheme: rthtdocs (" + xsltPaths[i] + ")");
xsltHandlers[i] = tf.newTransformerHandler(new org.wyona.yanel.core.source.RTHtdocsResolver(this).resolve(xsltPaths[i], null));
+ } else if(xsltPaths[i].startsWith("yanelresource:")) {
+ log.warn("Scheme: yanelresource (" + xsltPaths[i] + ")");
+ xsltHandlers[i] = tf.newTransformerHandler(new org.wyona.yanel.core.source.ResourceResolver(this).resolve(xsltPaths[i], null));
} else {
if (xsltPaths[i].indexOf(":/") > 0) {
log.error("No such protocol implemented: " + xsltPaths[i].substring(0, xsltPaths[i].indexOf(":/")));
More information about the Yanel-commits
mailing list