My application requires servlet generated pdf from input xsl and xml files. In fact, the application seems to be exactly what is described in the document http://xml.apache.org/fop/embedding.html as
I am using fop 20.3 and cannot get the FopServlet included with that release to create the pdf via the url as above. I constanly get a massive error trace listing containing the error:
java.lang.reflect.InvocationTargetException: org.apache.fop.apps.FOPException: stylesheet requires attribute: version
my style sheet DOES have a version - so I'm a bit lost as to what is going on here!
I should add that FopServlet works fine when invoked with the url:
Any suggestions would be appreciated!