Re: [xml] sgi regression failure

On Thu, Feb 23, 2006 at 10:56:20AM -0700, Martin Cole wrote:
I ran into this because of a failure on this platform finding a dtd from
my catalog entry.  (works on other platforms)

I do the following and fail on this platform:

  I doubt it's platform specific. Did you tried on Linux ?

  xmlCatalogAdd(BAD_CAST "public", BAD_CAST "-//SCIRun/Network DTD, 
              BAD_CAST "path to the dtd file");

  /* create a parser context */
  ctxt = xmlNewParserCtxt();
  if (ctxt == 0) {
    std::cerr << " Failed to allocate parser context
    return -1;
  /* parse the file, activating the DTD validation option */
  doc = xmlCtxtReadFile( ctxt, argv[1], 0, (XML_PARSE_DTDATTR | 
                                            XML_PARSE_DTDVALID) );

  the code ain't a standalone application, I won't try it.

So i ran the regressions (whose output follows). It looks like the
regexp xpath tests fail which is likely why validation fails.

  no it's completely unrelated, and fixed in CVS.

Any suggestions for where I should go from here?

  Your code may just not work.


Daniel Veillard      | Red Hat
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]