Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000268graphvizBuild/Installpublic2003-08-16 20:022011-04-28 04:02
ReporterPaul Sydney 
Assigned Toellson 
PrioritynormalSeveritycriticalReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSMac-OSX-10.2.6OS Version
Summary0000268: Error assuming LIBEXPAT is defined in dotneato/common/table.c
Description



Error building dotneato/common/table.c in the current snapshot.
It assumes that libexpat is defined. Part of the fix is to pad out
expat.h:
<CD>
#ifdef HAVE_LIBEXPAT
#include <expat.h>
#endif



In addition, the routine, parseTbl (node_t * n) makes reference to LIBEXPAT
routines, so I just padded those as well:



static tbl_t *
parseTbl (node_t * n)
{
  tbl_t *tbl;
#ifdef HAVE_LIBEXPAT
  XML_Parser parser = XML_ParserCreate (NULL);
  parse_ctx *ctx = newParseContext (n);



  XML_SetUserData (parser, ctx);
  XML_SetElementHandler (parser, startElementHandler, endElementHandler);
  XML_SetCharacterDataHandler (parser, characterDataHandler);



  if (XML_Parse (parser, n->u.label->text, strlen (n->u.label->text), 1) ==
      XML_STATUS_ERROR)
    {
      fprintf (stderr, "%s at line %d\n",
               XML_ErrorString (XML_GetErrorCode (parser)),
               XML_GetCurrentLineNumber (parser));
      return (tbl_t *) 0;
    }



  tbl = ctx->tables[0]->tbl;



  freeParseContext (ctx);
  XML_ParserFree (parser);
#endif
  return tbl;
}
<CD>
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID341
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (18 August 2003)
VERSION     1.10 snapshot
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:02 user1 New Issue
2011-04-28 04:02 user1 Assigned To => user695


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker