If you want to use strict mode using the command line interface, then you need to use the FOP configuration file to specify strict validation mode. See http://xmlgraphics.apache.org/fop/1.1/configuration.html. In other words, insert
<strict-validation>true</strict-validation> into your fop.xconf file at the appropriate level. On Thu, Jan 17, 2013 at 12:45 AM, John Brown <johnbrown...@hotmail.com>wrote: > Nels wrote: > > > > Thanks John, doing that I now get this error: > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > <snip/> > > Could not find the main class: fopFactory.setStrictValidation(false). > > Program will exit. > > > > I was not really paying atention to what you were trying to do. > The previous instruction was just to get the shell to accept > brackets. However, FOP_OPTS is for specifying parameters to java, > for example -Xms64m to set the initial size of the heap to 64 MB. > You cannot insert a function call there. > > Regards, > John Brown. > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > >