Title: RE: parsing an empty xml file

I 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 file

    Which 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 empty

    Errors 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

Reply via email to