RE: [xml] On validating a DOM with a schema, in Python

2005-10-26 Thread Meunier, Jean-Luc
Ok, thanks Kasimier for this good pointer to the test suite file xstc/xstc.py. So here are the steps (note that in xstc.py the error cases are properly handled) JL # inspired from the test suite file xstc/xstc.py # thanks to Kasimier Buchcik # import libxml2 ctxt =

Re: [xml] libxml-2.6.22 SEGV on Solaris

2005-10-26 Thread Daniel Veillard
On Wed, Oct 26, 2005 at 03:28:32AM -0500, Albert Chin wrote: testapi -q is generating a SEGV on Solaris. 2.6.22 was built with the Sun C compiler (though I duplicated the SEGV with gcc-3.4.3). From the coredump: $ dbx .libs/testapi core program terminated by signal SEGV (no mapping at the

Re: [xml] HTMLparser and namespaces

2005-10-26 Thread Daniel Veillard
On Wed, Oct 26, 2005 at 12:25:44PM +1000, Michael Day wrote: Hi, What is the status of namespaces in HTMLparser? Currently, the following HTML will produce an error message: p xmlns:foo=blah/p error: Namespace prefix xmlns of attribute foo is not defined It seems to be

[xml] Help on installing libxml2 on BIOCASE

2005-10-26 Thread Lawson, Michael (IITA)
Dear all, Im having problem trying to make our BIOCASE tool to access or recognize the LIBXML2 library. Dont know whether Im explicit enough. Will be grateful if you could help me. Thanks Michael ___ xml mailing list, project page

Re: [xml] Help on installing libxml2 on BIOCASE

2005-10-26 Thread Remy HAREL
Hi, I think this is not enough to help us understanding your problem. Perhaps you have just forgotten to add the libflags and cflags ? ( xml2-config --cflags --libs) Good luck, regards, _ Remy HAREL -Teamlog|

Re: [xml] libxml-2.6.22 SEGV on Solaris

2005-10-26 Thread Albert Chin
On Wed, Oct 26, 2005 at 05:03:02AM -0400, Daniel Veillard wrote: filename == NULL must be tested first to make a separate __xmlLoaderErr call. if (filename == NULL) __xmlLoaderErr(ctxt, failed to load external entity: NULL filename \n,

[xml] Tru64 UNIX 5.1/IRIX 6.5 test suite errors

2005-10-26 Thread Albert Chin
I'm getting the following errors from Tru64 UNIX 5.1 and IRIX 6.5 for libxml 2.6.22: ## Error cases regression tests name.xml result 1c1 ./test/errors/name.xml:3: parser error : Couldn't find end of Start Tag

Re: [xml] Tru64 UNIX 5.1/IRIX 6.5 test suite errors

2005-10-26 Thread Albert Chin
On Wed, Oct 26, 2005 at 01:48:03PM -0500, Albert Chin wrote: On Wed, Oct 26, 2005 at 01:27:43PM -0500, Albert Chin wrote: I replaced vsnprintf() with trio_vsnprintf() on these platforms in error.c and: ./runtest Error cases regression tests ## Error cases regression tests Total

[xml] another of those fun SEGV's in xmlFreeDoc?

2005-10-26 Thread Rick Jones
So, I'm trying to get netperf4 up and running under Debian Itanium (64-bit). It uses libxml2 :) I've apt-got libxml2, libxml2-dev, -doc and -utils. Being an HP-UX refugee, I just did this: [EMAIL PROTECTED]:~/netperf-4.0.0alpha2/src$ xmllint --version xmllint: using libxml version 20622