Santiago Gala
Mon, 26 Feb 2001 10:07:23 -0800
[EMAIL PROTECTED] wrote: > > > Santiago, > > I think it is better if you just update the EcsStylesheetElement properly, > > I don't think using SimpleTransform in ECSStylesheet element or somewhere > else as a wrapper for the standard XML API is necessary. I think it is ok > to call the standard XML API from the EcsStylesheetElement directly. Using > the SimpleTransform class does not seem a lot simpler than just using the > XML APIs. > Maybe for the portlet developer is about the same complexity level, but for the developer porting jetspeed from xalan1 and xerces to TRAX and JAXP it doubled work (I had to modify two classes: SimpleTransform.java and ECSStylesheet.java, instead of just one). So, I prefer to add streaming support in SimpleTransform.java, to refactor code and avoid having to duplicate efforts again. I prefer to have all code that depends on TransformerFactory, TemplatesHandle,... concentrated in one file, so that it is easier to spot and fix problems. The rest of the code will depend only on org.w3c.dom and org.xml.sax packages. -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: <http://www.mail-archive.com/jetspeed@list.working-dogs.com/> List Help?: [EMAIL PROTECTED]