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=8520>. 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=8520 property output opton indent is ignored [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | ------- Additional Comments From [EMAIL PROTECTED] 2002-05-13 08:50 ------- The program you made ist correct - no doubts. What we mean is the usage of Translets (or so called Templates if we use Trax/JAXP API) that fails in the described way. Look at this excerpt of what we have done: // set the apache xalan xsltc factory ls_Key = "javax.xml.transform.TransformerFactory"; ls_Value="org.apache.xalan.xsltc.trax.TransformerFactoryImpl"; System.setProperty(ls_Key,ls_Value); //create factory lo_Factory = TransformerFactory.newInstance(); //create xslt source lo_XsltSource = new StreamSource(ao_Url.openStream()); //create Template (Translet) lo_Template = lo_Factory.newTemplates(lo_XsltSource); // create xml source Source xmlSource = new DOMSource(lo_DomDocument); // create output result stream xmlResult = new StreamResult(ao_OutputStream); // Get a XSLT transformer lo_Transformer = lo_Template.newTransformer(); lo_Props = lo_Transformer.getOutputProperties(); lo_Props.setProperty(OutputKeys.INDENT,"no"); lo_Transformer.setOutputProperties(lo_Props); lo_Transformer.transform(xmlSource, xmlResult); It's almost the same steps as described on the apache/xalan-j homepage. And this generates output that produces indents with no regard to the indent settings of Transformer oder XSLT and messes the html. When we switch the layouter to the other non-Template implementation the indent stuff works fine. But for performance reasons we intend to switch to Templates.
