Has anyone seen the following when trying to use FOP?

URL is 
http://localhost:8080/fop/FOPServlet?source=http://www.fedora-commons.org/definitions/1/0/foxmlRules1-0.xml

javax.servlet.ServletException: org.apache.fop.apps.FOPException: http://www.fedora-commons.org/definitions/1/0/foxmlRules1-0.xml:9:60 Root element must be root, not http://www.ascc.net/xml/schematron:schema
        fedora.localservices.fop.FOPServlet.renderFO(FOPServlet.java:84)
        fedora.localservices.fop.FOPServlet.doGet(FOPServlet.java:53)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause

org.apache.fop.apps.FOPException: http://www.fedora-commons.org/definitions/1/0/foxmlRules1-0.xml:9:60 Root element must be root, not http://www.ascc.net/xml/schematron:schema
        org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:367)
com .sun .org .apache .xerces .internal .parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533) com .sun .org .apache .xerces .internal .impl .XMLNSDocumentScannerImpl .scanStartElement(XMLNSDocumentScannerImpl.java:330) com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl $NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java: 779) com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl $ FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java: 1794) com .sun .org .apache .xerces .internal .impl .XMLDocumentFragmentScannerImpl .scanDocument(XMLDocumentFragmentScannerImpl.java:368) com .sun .org .apache .xerces .internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) com .sun .org .apache .xerces .internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) com .sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java: 148) com .sun .org .apache .xerces .internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
        org.apache.fop.apps.Driver.render(Driver.java:498)
        org.apache.fop.apps.Driver.run(Driver.java:565)
        fedora.localservices.fop.FOPServlet.renderFO(FOPServlet.java:77)
        fedora.localservices.fop.FOPServlet.doGet(FOPServlet.java:53)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
I am using Tomcat 6.0.20, Fedora 3.2, Mac OSX Server 10.5.8, Apache 2.2.13
Stuart Chalk, Ph.D.
Director - UNF Environmental Digital Library
Associate Professor of Chemistry
Department of Chemistry, University of North Florida
1 UNF Drive, Jacksonville, FL 32224 USA
P: 904-620-1938
F: 904-620-3535
E: [email protected]
W: http://www.unf.edu/coas/chemistry/

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to