Re: [xml] Getting Error from the parser.

On Tue, Oct 07, 2003 at 08:19:35AM -0700, Harring Figueiredo wrote:

 I am parsing a document and would like to get the error returned by the xml

Example:Opening and ending tag mismatch: merge_filename line 6 and merge_file
        <merge_filename> merge_file </merge_file>

 I am using the DOM. (i.e. opening the document with

  I tried setting up the xmlSetGenericErrorFunc; howerver, the eroor message
comes in "chunks" (calls the handle multiple times). 

   Is there another way to do that, or am I doing it the correct way ?

  with xmlParseFile() it's not possible. You nedd either a lower
level function or wait for 2.6.0 where this will be possible,


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]