Consultor Eletrônico



Kbase P76513: Loading XML file where node contents contains a pound sign causes the rest of the document to be ign
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/14/2004
Status: Unverified

FACT(s) (Environment):

Progress 9.1D

SYMPTOM(s):

Loading XML file where node contents contains a pound sign causes the rest of the document to be ignored

CAUSE:

Application code made assumption that as soon as file existed it was completely written to disk and could be loaded by the XML parser

FIX:

Use the FILE-INFO handle to determine that the file exists and that the file size is greater than zero before attempting to load it into the XML parser