lenya/src/java/org/apache/lenya/cms/cocoon/acting URIParametrizerAction.java,1.7,1.8
Christian Egli <[email protected]> Tue, 20 May 2003 17:11:30 +0200
| Newsgroups | gmane.comp.cms.wyona.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /repository/lenya/src/java/org/apache/lenya/cms/cocoon/acting
In directory erbium:/tmp/cvs-serv16577/src/java/org/apache/lenya/cms/cocoon/acting
Modified Files:
URIParametrizerAction.java
Log Message:
Updated to use the SourceUtil.toSAX static method.
Index: URIParametrizerAction.java
===================================================================
RCS file: /repository/lenya/src/java/org/apache/lenya/cms/cocoon/acting/URIParametrizerAction.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** URIParametrizerAction.java 12 May 2003 13:00:33 -0000 1.7
--- URIParametrizerAction.java 20 May 2003 15:11:27 -0000 1.8
***************
*** 13,16 ****
--- 13,18 ----
import org.apache.cocoon.acting.ConfigurableComposerAction;
+ import org.apache.cocoon.components.source.SourceUtil;
+
import org.apache.excalibur.source.Source;
import org.apache.cocoon.xml.AbstractXMLConsumer;
***************
*** 103,107 ****
this.getLogger().debug("file resolved to " + inputSource.getURI());
}
! resolver.toSAX(inputSource, xmlConsumer);
map.put(parameterNames[i], xmlConsumer.getParameter());
}
--- 105,109 ----
this.getLogger().debug("file resolved to " + inputSource.getURI());
}
! SourceUtil.toSAX(inputSource, xmlConsumer);
map.put(parameterNames[i], xmlConsumer.getParameter());
}