.. 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?
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
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
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
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
- 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?
> >
> >
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
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
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
...
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.
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
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
- 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&
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="
> 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
15 matches
Mail list logo