Ok, in this case I'd modify the application so you can write out the
generated FO within your application. Maybe there's something special
about that environment.

I'm sure you did it right, but are you certain that you properly
override the default XSLT implementation with Xalan 2.7.0 using the
endorsed standards override mechanism?

I don't think the difference in processor technology should make any
difference here. Normally, the choice of JVM and application server is a
more likely cause.

On 10.01.2007 18:48:12 pwillsey wrote:
> 
> I ran the transformation from both computers on the command line, the FO file
> was identical and did not contain a fo:simple-page-master element with more
> then one fo:region-body.  I'm using Xalan 2.7.0 on both machines for XSLT
> processing.  Not sure if this is relevant but the machine I'm having
> problems with is running OS X with an intel chip and the development machine
> is a powerpc.
> 
> 
> Jeremias Maerki-2 wrote:
> > 
> > If you haven't done so already, run only the XSLT transformation outside
> > your application (on the command-line) and inspect the generated FO file.
> > You may also need to verify that you're using the same XSLT processor in
> > both environments.
> > 
> > On 10.01.2007 06:33:05 pwillsey wrote:
> >> 
> >> Hello,
> >> I'm getting a validation exception:
> >> javax.xml.transform.TransformerException:
> >> org.apache.fop.fo.ValidationException: Error(Unknown location): For
> >> fo:simple-page-master, only one fo:region-body may be declared.
> >> 
> >> But I've checked the XLST sheet and there is no fo:simple-page-master
> >> element with more then one fo:region-body.  I've also tested this on
> >> another
> >> machine and it works fine.  I'm using FOP V. 0.93 (on Both machines). 
> >> 
> >>  Not sure if this makes a difference but I'm using FOP in a webobjects
> >> project and I get the exception when I deploy the project but not when I
> >> run
> >> it using eclipse on my development machine.
> >> 
> >> Any help would be greatly Appreciated



Jeremias Maerki


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

Reply via email to