Me too, with the amount of information you are giving me. Can you give us some more of your source code, especially what Source object you create? Maybe not necessary because I suspect from the exception that you're doing something like that:
Source src = new StreamSource(myXMLAsString); (the String parameter here is not XML, but an URI/URL pointing to an XML file or resource.) where it should actually be: Source src = new StreamSource(new StringReader(myXMLAsString)); On 10.03.2003 22:27:46 Zmitko, Jan wrote: > Hello Jeremias, > > i have read papers about your tip with SAX events. Now I know what you mean > and I think thats a good possibility to make it faster. I have read the > ExampleXML2PDF and try to implement it to my Application. Now I have an > Problem at > > //Start XSLT transformation and FOP processing > transformer.transform(src, res); > > I get the following Exception: > > javax.xml.transform.TransformerException: java.net.MalformedURLException: no > protocol: <VO><dreba.prj.gm3.wp.vo.OrderBuchVO> <id > value="Wertpapierhandel"/><orders value=""/><sortColumn value="6"/><depotId > value="3710720011000"/> <depotinhaber > value="v20blankn20blank"/><beratername > value="Janz, Ali"/><agenturnummer value="123456789"/> > <erstelltam value="10.03.2003"/><depotid > value="3710720011000"/><anzorders value="131"/><anzseiten value="3"/> > <auftragsart value="Kauf"/><auftragsdatum > value="05.02.2003"/><ausfuehrungskurs value="-"/><menge value="15.000,00"/> > <mengenEinheit value="EUR"/><orderStatus > value="vorgemerkt"/></dreba.prj.gm3.wp.vo.OrderBuchVO></VO> > java.lang.Throwable(java.lang.String) > java.lang.Exception(java.lang.String) > javax.xml.transform.TransformerException(java.lang.Throwable) > void > org.apache.xalan.transformer.TransformerIdentityImpl.transform(javax.xml.tra > nsform.Source, javax.xml.transform.Result) > void fop.XsltcAdapter.applyStylesheet(java.lang.String, > java.lang.Object, java.io.OutputStream) > void fop.FopAdapter.applyStylesheet(java.lang.String, > java.lang.Object, java.io.OutputStream) > void fop.FopTest.create() > fop.FopTest() > void fop.FopTest.main(java.lang.String []) > > Can you help me again. I'm at a loss what to do. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
