Premature End Of File (XML/XSL)

This has been working fine (XMLMill PDF conversion)… now I’m getting this in the log and the PDF is never generated.

***sound like an issue -w- the XSL file?

01/16/2007 03:44:53 PM HTTP JVM: INFO [Thread-86]: Dbid : pdf/testpdf.nsf

01/16/2007 03:44:53 PM HTTP JVM: INFO [Thread-86]: Docid : 11EE8C31885E81D185257265006BA918

01/16/2007 03:44:53 PM HTTP JVM: INFO [Thread-86]: Agid : (EmailPDF)

01/16/2007 03:44:53 PM HTTP JVM: INFO [Thread-86]: TempDocid : 4956

01/16/2007 03:44:53 PM HTTP JVM: INFO [Thread-86]: Query_String: dbid=test/testpdf.nsf&docid=11EE8C31885E81D185257265006BA918&agid=(EmailPDF)&actionid=6

01/16/2007 03:44:53 PM HTTP JVM: INFO [Thread-86]: Transforming with: D:\Lotus\Domino\data\domino\html\xmlmill\xsl\formatpdf.xsl

01/16/2007 03:44:53 PM HTTP JVM: [Fatal Error] :-1:-1: Premature end of file.

01/16/2007 03:44:53 PM HTTP JVM: FATAL [Thread-86]: org.xml.sax.SAXParseException: Premature end of file.

01/16/2007 03:44:53 PM HTTP JVM: FATAL [Thread-86]: ** Parsing aborted at Tue Jan 16 15:44:53 EST 2007

01/16/2007 03:44:53 PM HTTP JVM: FATAL [Thread-86]: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Premature end of file.

01/16/2007 03:44:53 PM HTTP JVM: FATAL [Thread-86]: ** Parsing aborted at Tue Jan 16 15:44:53 EST 2007

01/16/2007 03:44:53 PM HTTP JVM: FATAL [Thread-86]: javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Premature end of file.

Subject: Premature End Of File (XML/XSL)

This can be caused by several things. e.g. encoding changes when transferring from another OS to Windows, corrupt file, incomplete tags, etc… In my case, it was a corrupt XSL file. This is why we have backups!