You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Peter Schmidt <Pe...@adv.sonybpe.com> on 2001/01/16 17:56:23 UTC
SAX Parsing
Hi:
I am new to the Xerces library for C++. My programming platforms are as follows:
--> Platform Specifications
Windows NT 4.0 with Visual C++ 6.0
and
Linux RedHat 6.2 using gcc version ecgs-2.91.66 for a pentium
--> Installation,Configuration and Compilation
After installation, I included Xerces/bin-directory in my search-path, set up system variables such as
XERCESROOT and on Linux LD_LIBRARY_PATH. The version of Xerces C++ is 1.3.0 .
The code compiles without error or warnings.
---> Problem Description:
When parsing, the SAX2 parser goes into startDocument and endDocument, but seems to ignore startElement and endElement. An exception (error,warning or fatalError is not thrown).
I tried to disable namespace and validation checking (which I understand is set to true/auto per default).
The problem with SAX2 parsing is Linux/Windows independent.
Any help to what may be the reason for this behaviour (which doesn't occur when using the SAX 1.0 parser) is greatly appreciated.
Contact Details:
Peter Schmidt
Peter.Schmidt@adv.sonybpe.com
or
pwe.schmidt@dial.pipex.com
Many thanks in advance
Peter
*************************************************************************
The information contained in this message or any of its
attachments may be privileged and confidential and intended
for the exclusive use of the addressee. If you are not the
addressee any disclosure, reproduction, distribution or other
dissemination or use of this communication is strictly prohibited
**************************************************************************