Please don't post XSLT stylesheets, just plain FO files. Having to deal
with XSLT makes it less likely for people to take the time because of
the many problems that can occur (like missing XSLT extensions, reliance
on certain XSLT parameters, etc.) In your case, the XML file doesn't
match the stylesheet. The XML uses "pWeeks" as top-level element, but
the stylesheet requires a "xmlreport" element as top-level element to
produce a correct FO file. So I had to tweak the XMLs before I could run
your files.

At any rate, it looks like you need to upgrade your FOP version to
0.95beta which fixes the bug you've run into.

On 10.07.2008 19:25:11 Nopalin wrote:
> 
> Hi, i am using apache fop for almost 2 years and i encountered it a great
> tool. i am using the compiled version: Build-Id: 20070818-190950-GMT+01:00
> (vincent [Linux 2.6.20-16-generic i386, Java 1.4.2_14-b05]) and everything
> works fine.
> 
> But recently, i made a report who has the next xsl-fo:
> 
<snip/>
> 
> with this XML the report works fine!
<snip/>
> 
> 
> but with the next one: it generates an excepcion:
<snip/>
> 
> Excepción: (this is all stack trace)
> 12:44:47,234 ERROR AWT-EventQueue-0:FOTreeBuilder -
> javax.xml.transform.TransformerException: java.lang.NullPointerException
> SystemId desconocido; Línea núm.0; Columna núm.0;
> java.lang.NullPointerException
> 
> i am getting crazy because it has no logic, if the value is empyt or a space
> it fails. But when i put any character it works fine.
> What i do for now is put an underline, but i'd like to know why it is
> throwing that exception...
> 
> 
> grettings
> -- 
> View this message in context: 
> http://www.nabble.com/Same-XSL-FO%2C-with-one-xml-it-works-fine%2C-but-with-similar-xml-with-less-info-it-fails-tp18387906p18387906.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to