Re: wrong namespace??

2002-06-06 Thread Esteban Gonzalez
.. but i´ll try to do a little more research and i´ll keep the list updated!!! Thanks J.Pietschman!! A LOT - Original Message - From: "J.Pietschmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 05, 2002 9:13 PM Subject: Re: wrong namespace?

Re: wrong namespace??

2002-06-06 Thread J.Pietschmann
Esteban Gonzalez wrote: This is taking forevr! So I created PDFGenerator.java ( just for testing... attached ) and did the transformation as J.Pietschmann pointed out... Interesting, the test program fails if Xalan 2.0.0 is in the classpath but works if Saxon 6.5.4 is substituted for Xalan. See

Re: wrong namespace??

2002-06-05 Thread Esteban Gonzalez
This is taking forevr! I´ve tried doing the FOP conversion by hand with this command "java -cp build/fop.jar:lib/batik.jar:lib/xalan-2.0.0.jar:lib/xerces-1.2.3.jar:lib/ava lon-framework-4.0.jar:lib/ logkit-1.0b4.jar:lib/jimi-1.0.jar org.apache.fop.apps.Fop -xsl /usr/local/assistcard/com/icard

Re: wrong namespace??

2002-06-04 Thread J.Pietschmann
Esteban Gonzalez wrote: > I´m running out of ideas. For a start, if you have still stuff after this: >>> trans.transform( new DOMSource( voucher ), new >>>SAXResult( driver.getContentHandler() )); delete it. Especially delete the call to render(). It is possible that the error is generated by t

Re: wrong namespace??

2002-06-04 Thread Esteban Gonzalez
mpl.jar #wrapper.classpath=/opt/xerces2.0/xmlParserAPIs.jar There´s anything wrong there? - Original Message - From: "J.Pietschmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 31, 2002 5:48 PM Subject: Re: wrong namespace?? > Esteban

Re: wrong namespace??

2002-05-31 Thread Esteban Gonzalez
- Original Message - From: "J.Pietschmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 31, 2002 5:48 PM Subject: Re: wrong namespace?? > Esteban Gonzalez wrote: > > seems like an error in the code? > > > >

Re: wrong namespace??

2002-05-31 Thread J.Pietschmann
Esteban Gonzalez wrote: seems like an error in the code? // ADDED XML VOUCHER GENERATION XMLGenerator xml = new XMLGenerator(); Document voucher = xml.generateVoucher( voucherGener ); Document xsl = xml.getXSL(); // XSL

Re: wrong namespace??

2002-05-31 Thread Esteban Gonzalez
rom: "Ralf Steppacher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 31, 2002 1:44 PM Subject: Re: wrong namespace?? > I´ve copied your xsl and tried doing a transformation... > > unfortunately i´m still getting the same error... Have you tried to do

Re: wrong namespace??

2002-05-31 Thread Ralf Steppacher
I´ve copied your xsl and tried doing a transformation... unfortunately i´m still getting the same error... Have you tried to do the transformation on the command line? How does the code you use look like? Ralf

Re: wrong namespace??

2002-05-31 Thread Esteban Gonzalez
... Best Regards, Esteban - Original Message - From: "Ralf Steppacher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 31, 2002 1:23 PM Subject: Re: wrong namespace?? > > > Esteban Gonzalez wrote: > > This is the error > > javax.xml.

Re: wrong namespace??

2002-05-31 Thread Ralf Steppacher
Esteban Gonzalez wrote: This is the error javax.xml.transform.TransformerConfigurationException: stylesheet requires attribute: version at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer And this is the XSL styleSheet [..] I pruned your stylesheet and transform

Re: wrong namespace??

2002-05-31 Thread Esteban Gonzalez
ROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 31, 2002 12:18 PM Subject: Re: wrong namespace?? > So looking at what you just said this > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; > xmlns:fo="http://www.w3.org/1999/XSL/Format"; > > > should

Re: wrong namespace??

2002-05-31 Thread Ralf Steppacher
- Original Message - From: "Ralf Steppacher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 31, 2002 4:46 AM Subject: Re: wrong namespace?? > xmlns:xsl="http://www.w3.org/1999/XSL/Transform";> > > http://www.w3.org/1999/XSL/Transform&

Re: wrong namespace??

2002-05-31 Thread Esteban Gonzalez
quot; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 31, 2002 4:46 AM Subject: Re: wrong namespace?? > > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform";> > > > > http://www.w3.org/1999/XSL/Transform"; > > xmlns:fo="

Re: wrong namespace??

2002-05-31 Thread Ralf Steppacher
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";> > > http://www.w3.org/1999/XSL/Transform"; > xmlns:fo="http://www.w3.org/1999/XSL/Format"; version="1.0"> > > wich one is right?... If you write a stylesheet that contains formatting objects you have to include both the Transform and Format nam

wrong namespace??

2002-05-30 Thread Esteban Gonzalez
Hi J.Pietschmann, You pointed me into the right path! I´m now solved my problems with the parser.. altough now I get a brand new error... javax.xml.transform.TransformerConfigurationException: stylesheet requires attribute: version at org.apache.xalan.processor.TransformerFactoryImpl.newTr