Project

Profile

Help

Premature end of file

Added by Anonymous over 14 years ago

Legacy ID: #7716973 Legacy Poster: Roger Bishop Jones (rbjones)

I have a small stable set of scripts which I have been running on saxonb8 for a few years. I am now undertaking a general upgrade and amd trying to get them to work on saxon9he.(9.2) I was previously compiling the scripts which is not possible with saxon9he, but apart from that I have made no changes. (though most of the environment has changed since I moved from openSUSE 10.3 to Ubuntu 9.04) I am getting the following error message: Error on line 1 column 1 of xreal01.xmlt: SXXP003: Error reported by XML parser: Premature end of file Any idea what might be causing this? Roger Jones


Replies (2)

RE: Premature end of file - Added by Anonymous over 14 years ago

Legacy ID: #7717014 Legacy Poster: Michael Kay (mhkay)

"Premature end of file" is something of a catch-all diagnostic from Xerces to indicate a wide range of things that went wrong during parsing. The only thing it really tells you is that the file isn't well-formed XML. Opening the file in an XML editor can often be helpful to tell you what the problem is.

RE: Premature end of file - Added by Anonymous over 14 years ago

Legacy ID: #7717047 Legacy Poster: Roger Bishop Jones (rbjones)

Thanks for that quick response. The problem has now gone away. Must have been some glitch in getting my build set up. The source .xml file is OK but I was running saxon on a preprocessed version which was in fact empty, though I havn't a clue why. After cleaning up the build and starting it again it went through OK. Thanks, Roger Jones

    (1-2/2)

    Please register to reply