<?xml version="1.0" encoding="LATIN1"?>
Message: The main XML document cannot be empty
-----Original Message-----
From: Williamson, Siehnai [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 11, 2001 9:08 AM
To: '[EMAIL PROTECTED]'
Subject: RE: parsing an empty xml fileI am using Xerces 1.4 on the Win98 platform. I am using the SAX parser.
-----Original Message-----
From: Tinny Ng [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, December 11, 2001 8:14 AM
To: [EMAIL PROTECTED]
Subject: Re: parsing an empty xml fileWhich platform and which version of Xerces-C++ are you using? I tried Xerces-C++ 1.6 on a number of platforms (linux, solaris, aix, hp, windows) and able to get the following message:
> DOMCount empty.xml
Fatal Error at file /home/tng/buildtest/xerces-c_2001-11-29-AIX43_5.02/bin/empty.xml, line 2, char 1
Message: The main XML document cannot be emptyErrors occured, no output available
Tinny
"Williamson, Siehnai" wrote:
Hi Guys,
Currently, if I attempt to parse an xml file which is empty (no tags, nothing), then I don't get an error back and Xerces is locked up. Please help.
Thanks
