Hello Support,

I am having an issue with the following FO converting to RTF in that I get a 
SAXParseException but I cannot debug into the xmlmind code to figure out why.  
I suspect maybe the styles.xfc file, which is referenced by setting the 
“styles” property to a URI like so.. driver.setProperty("styles", new 
String(styleURI)); is not being obtained, however I don’t see any reference in 
the access.log for that website.  Is there a way to turn on more logging, or 
obtain the source code in order to step through the code?







Caused by: org.xml.sax.SAXParseException; Premature end of file.

     at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)

     at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)

     at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

     at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

     at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown 
Source)

     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

     at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)

     at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)

     at com.xmlmind.fo.converter.UserStylesLoader.load(UserStylesLoader.java:74)

     at com.xmlmind.fo.converter.UserStylesLoader.load(UserStylesLoader.java:49)

     at com.xmlmind.fo.converter.UserStyles.loadFrom(UserStyles.java:525)

     at com.xmlmind.fo.converter.Converter.loadUserStyles(Converter.java:670)

     at com.xmlmind.fo.converter.Converter.setUserStyles(Converter.java:646)

     at com.xmlmind.fo.converter.Converter.startDocument(Converter.java:626)

     at org.apache.xerces.parsers.AbstractSAXParser.startDocument(Unknown 
Source)

     at org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(Unknown Source)

     at org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown 
Source)

     at org.apache.xerces.impl.XMLVersionDetector.startDocumentParsing(Unknown 
Source)

     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

     at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)

     at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)

     at com.xmlmind.fo.converter.Converter.convert(Converter.java:517)

    at com.xmlmind.fo.converter.Driver.convert(Driver.java:544)

    at com.xmlmind.fo.converter.Driver.convert(Driver.java:559)

     at com.bm.xchange.bmlib.fo.XmlMind.getRTFFromFO(XmlMind.java:74)



Thanks,
-Jeff

Attachment: xslFO_GenException.xml
Description: xslFO_GenException.xml

Attachment: styles.xfc
Description: styles.xfc

--
XMLmind FO Converter Support List
xfc-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to