RE: How to use XSL-FOP-Java together

2003-12-30 Thread Cristóbal Ruiz, Oscar
. -Mensaje original- De: J.Pietschmann [mailto:[EMAIL PROTECTED] Enviado el: lunes, 29 de diciembre de 2003 18:37 Para: [EMAIL PROTECTED] Asunto: Re: How to use XSL-FOP-Java together Clay Leeds wrote: fo:flow flow-name=xsl-region-body xsl:apply-templates select=//ATOM/ ... Notice it shows

Re: How to use XSL-FOP-Java together

2003-12-30 Thread J.Pietschmann
Cristóbal Ruiz, Oscar wrote: If I find what was happening exactly, I will post it to you. Both of the problems you reported are well known and widely reported problems with older XML parser releases (either Crimson or Xerces, I don't know exactly). J.Pietschmann

How to use XSL-FOP-Java together

2003-12-29 Thread Cristóbal Ruiz, Oscar
Hi there. I dont get to tranform directly from XML to a PDF file. I tried to execute the simplest example... but I cannot do it. I get this exception: Content is not allowed in prolog. What is the meaning of that? Thanks in advance. My xsl file is: ***

RE: How to use XSL-FOP-Java together

2003-12-29 Thread Lerias, Hugo
[mailto:[EMAIL PROTECTED] Sent: Montag, 29. Dezember 2003 12:11 To: [EMAIL PROTECTED] Subject: How to use XSL-FOP-Java together Hi there. I dont get to tranform directly from XML to a PDF file. I tried to execute the simplest example... but I cannot do it. I get this exception: Content

RE: How to use XSL-FOP-Java together

2003-12-29 Thread Cristóbal Ruiz, Oscar
some important tag... -Mensaje original- De: Lerias, Hugo [mailto:[EMAIL PROTECTED] Enviado el: lunes, 29 de diciembre de 2003 12:18 Para: '[EMAIL PROTECTED]' Asunto: RE: How to use XSL-FOP-Java together Hi Oscar, I can't really tell what the problem might be.But it looks like it's

Re: How to use XSL-FOP-Java together

2003-12-29 Thread J.Pietschmann
Cristóbal Ruiz, Oscar wrote: I get this exception: Content is not allowed in prolog. This means there are non-whitespace characters before the document element (and outside the XML decl and any PI or XML comment). Some older parsers reported this errorneously if the input file was UTF-16 encoded.

Re: How to use XSL-FOP-Java together

2003-12-29 Thread Rodolfo M. Raya
On Mon, 2003-12-29 at 08:11, Cristóbal Ruiz, Oscar wrote: Hi there. I dont get to tranform directly from XML to a PDF file. I tried to execute the simplest example... but I cannot do it. I get this exception: Content is not allowed in prolog. What is the meaning of that?Hi Oscar, I saw this

RE: How to use XSL-FOP-Java together

2003-12-29 Thread Cristóbal Ruiz, Oscar
Well, I solved the previous bug. Finally, there was an Unicode mark at the begining of my xml file. But now I got another bug. The exception states that I dont have any root element in my document... and it is there!!! Do you have some other suggestion for this kind of exception? Thanks Oscar

Re: How to use XSL-FOP-Java together

2003-12-29 Thread J.Pietschmann
Cristóbal Ruiz, Oscar wrote: But now I got another bug. The exception states that I dont have any root element in my document... and it is there!!! Do you have some other suggestion for this kind of exception? This is again typical for an older parser release. Upgrade your JDK. J.Pietschmann

Re: How to use XSL-FOP-Java together

2003-12-29 Thread Clay Leeds
On Dec 29, 2003, at 6:52 AM, Cristóbal Ruiz, Oscar wrote: Well, I solved the previous bug. Finally, there was an Unicode mark at the begining of my xml file. But now I got another bug. The exception states that I dont have any root element in my document... and it is there!!! Do you have some

Re: How to use XSL-FOP-Java together

2003-12-29 Thread J.Pietschmann
Clay Leeds wrote: fo:flow flow-name=xsl-region-body xsl:apply-templates select=//ATOM/ ... Notice it shows //ATOM? Since ATOM is the root element (/ATOM), this could be problem (I'm not sure, though). Using // in front of an XPath expression man cause a performance problem, but it wont