Hi,

AnshulN <[email protected]> writes:

> doc = parser->parse(input);
> 
> 
> For some files, the parse() functions returns NULL while for others it 
> passes. Can anyone help on this issue...as to why parse() returns a NULL?

The most likely cause is the failure to parse because the documents are
invalid. Install an error handler and see if anything gets reported.

Boris

-- 
Boris Kolpackov, Code Synthesis        http://codesynthesis.com/~boris/blog
Open-source XML data binding for C++   http://codesynthesis.com/products/xsd
XML data binding for embedded systems  http://codesynthesis.com/products/xsde
Command line interface to C++ compiler http://codesynthesis.com/projects/cli

Reply via email to