Kbase P105592: Random SAX-PARSE-FIRST error implying that the XML document could not be opened
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  6/22/2005 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.1D
SYMPTOM(s):
Batch job processes requests stored in records within table in the database
Some of the requests require processing XML files using the SAX Parser
After a few days any request that requires the use of the SAX Parser will fail with a SAX-PARSE-FIRST error
Error: SAX-PARSE-FIRST, Error parsing file: The primary document entity could not be opened. ld=/full/path/and/filename/of/xml/file.
After six hours the batch process spins off a copy of itself using OS-COMMAND NO-WAIT and terminates itself
CAUSE:
Bug# 20050622-004
CAUSE:
The SAX Parser fails to open the requested XML file when the file handle
umber returned when the file is opened is greater than 255
FIX:
Import the XML document into a memory pointer and pass the memory pointer to the SAX Parser as its input source