Re: [xml] setting URL for xmlRelaxNGParserCtxt?

2005-01-26 Thread Daniel Veillard
time 2/ I don't have a reproductible test case Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net

Re: [xml] Using wchar_t string with libxml2.

2005-01-26 Thread Daniel Veillard
: http://xmlsoft.org/html/libxml-parserInternals.html#xmlCopyCharMultiByte Ahh, yeah I forgot that they append that. I do apologise, I'll use my own personal email account from now on. okay. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml

Re: [xml] setting URL for xmlRelaxNGParserCtxt?

2005-01-26 Thread Daniel Veillard
it? they will point to freed memory. So don't free the dictionnary until it it not in use anymore. Use another one, but you will loose unicity of strings. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org

Re: [xml] setting URL for xmlRelaxNGParserCtxt?

2005-01-26 Thread Daniel Veillard
On Wed, Jan 26, 2005 at 05:39:56PM +0100, Martijn Faassen wrote: Daniel Veillard wrote: On Wed, Jan 26, 2005 at 03:12:52PM +0100, Martijn Faassen wrote: So what *is* stored in these dictionaries? I still don't know. Tagnames? Namespace strings? Text node content? IDs? All of them? I guess

Re: [xml] win32 build system

2005-01-26 Thread Daniel Veillard
, build is far too generic. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ___ xml

Re: [xml] When will be xmlTextReaderReadString implemented

2005-01-27 Thread Daniel Veillard
collecting the children ? The fact that you're on a given node in the reader doesn't mean all its children are available. Seems an xmlTextReaderDoExpand() call is needed in case of an ELEMENT, wrong or right ? I will defer commiting the patch based on your answer :-) Daniel -- Daniel Veillard

Re: [xml] xml diff and patch support -- new node type

2005-02-03 Thread Daniel Veillard
of the subtree rooted at that node, node-extra is used for bitwise flags, and node-line is used for relative position of a child. Okay, maybe use -psvi to avoid using _private at all but it's a detail... sounds good :-) Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL

Re: [xml] can't compile non-debug build

2005-02-03 Thread Daniel Veillard
., but none seem to work. export CFLAGS=-O2 ; ./configure ; make ; make install should do it. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http

Re: [xml] reduce padding in xpath.h

2005-02-03 Thread Daniel Veillard
the change might be OK. Should be added in the code as a comment for future releases, but right now it's impossible to do, it would break ABI unfortunately ! Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http

Re: [xml] xpointer range in attribute node

2005-02-03 Thread Daniel Veillard
-- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ___ xml mailing list, project page http

Re: [xml] windows multi-threading

2005-02-24 Thread Daniel Veillard
-- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ___ xml mailing list, project page http

Re: [xml] Delphi bindings now available for XMLSec

2005-03-04 Thread Daniel Veillard
. thanks ! Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ___ xml mailing list

Re: [xml] about libxml2

2005-03-04 Thread Daniel Veillard
not plan to implement XQuery in libxml2. People who might want to implement it on top of libxml2 are free to do so. XQuery is not complete, it is still a W3C Working Draft. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit

Re: [xml] Nested nodes

2005-03-07 Thread Daniel Veillard
On Mon, Mar 07, 2005 at 12:09:13AM -0800, dan berry wrote: Is there an api for checking if one node is nested in another node (without going over the tree structure and check each node)? Hum, no. just walk the -parent list, Daniel -- Daniel Veillard | Red Hat Desktop team http

Re: [xml] Memory not going away..

2005-03-08 Thread Daniel Veillard
#Debugging Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ___ xml mailing list, project

Re: [xml] Memory not going away..

2005-03-08 Thread Daniel Veillard
depending on the ratio of data to markup. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net

Re: [xml] Memory not going away.. SOLUTION

2005-03-08 Thread Daniel Veillard
to then build your own structures reslly does not make sense, use the reader for this really. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http

Re: [xml] Memory not going away..

2005-03-08 Thread Daniel Veillard
left. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ___ xml mailing list, project page

Re: [xml] http_proxy

2005-03-09 Thread Daniel Veillard
://xmlsoft.org/catalog.html Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ___ xml mailing list

Re: [xml] minor declaration fixes for xpath2.c and xmlregexp.c in 2.6.17

2005-03-10 Thread Daniel Veillard
stuff. sure, send more patches :-), could be a good idea to use the cvs checkout version for further patches ftp://xmlsoft.org/libxml2-cvs-snapshot.tar.gz thanks ! Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit

Re: [xml] Probably should not look for/use shl_load if dlopen is found (2.6.17)

2005-03-10 Thread Daniel Veillard
by the transport layers. thanks Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net

Re: [xml] xmlTextReaderNext skipping nodes

2005-03-10 Thread Daniel Veillard
On Thu, Mar 10, 2005 at 07:13:05AM -0500, Rob Richards wrote: Attached is a patch for this. Testing for the XML_TEXTREADER_BACKTRACK state is correct. Thanks, applied and commited. Unclear how to best check this in the regression tests, maybe as a Python script ? Daniel -- Daniel Veillard

[xml] Release of libxml2-2.6.18

2005-03-13 Thread Daniel Veillard
(William Brack) - xmlByteConsumed static buffer (Ben Maurer). # Documentation: - Wiki support (Joel Reed) Thanks to everybody who contributed to this release, either by code, submitting fixes or documentation ! Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL

Re: [xml] Help on finding out badly formed Xml documents.

2005-03-14 Thread Daniel Veillard
is there a single API , which would tell me about this, before parsing really starts ? or is it possible only when the document parsing has begun ? Detecting well formedness is only the result of parsing. There is no shortcut. What are you trying to do ? Daniel -- Daniel Veillard

Re: [xml] XPath, namespaces and no results. :(

2005-03-15 Thread Daniel Veillard
http://www.foo.com;); Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ___ xml mailing

Re: [xml] c14n

2005-03-15 Thread Daniel Veillard
On Tue, Mar 15, 2005 at 07:26:13AM -0800, Aleksey Sanin wrote: The most likely reason for c14n failure in your case is DAV: namespace. Most likely, it failed on xml parsing stage. hum, no, it's only a warning, garanteed ! Daniel -- Daniel Veillard | Red Hat Desktop team http

Re: [xml] c14n

2005-03-15 Thread Daniel Veillard
. you and/or the note in the c14n spec? either way, it would be nice if the error reported explained the problem a bit better. that I agree with, Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http

Re: [xml] c14n

2005-03-15 Thread Daniel Veillard
when stuff fails. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ___ xml mailing list

Re: [xml] c14n

2005-03-15 Thread Daniel Veillard
in before the new rfc gets published? I don't have any problem with it. Daniel? It's a bit more general than just WebDAV, see my other post about 3986, Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http

Re: [xml] c14n

2005-03-15 Thread Daniel Veillard
:) especially if they can automate the processing of said errors :-) Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net

Re: [xml] c14n

2005-03-15 Thread Daniel Veillard
for now. It's ugly but I am not sure there is other workaround for Martijn. it's ugly, but it's your module, so :-) At least keep a note about the future uri.c revision around the hack... Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML

Re: [xml] gethrtime and *Timer

2005-03-15 Thread Daniel Veillard
by CLI tools front end. For performance analysis I usually do top down, i.e. run and then check the majors offenders for said run. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com

Re: [xml] xml Schema : question about element content type

2005-03-17 Thread Daniel Veillard
= XML_SCHEMA_CONTENT_MIXED) instead of : if (base-contentType == XML_SCHEMA_CONTENT_MIXED). I corrected this line, recompiled, but the problem still exist. that definitely looks like a typo bug, fixed in CVS, thanks ! Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL

Re: [xml] Question about xmlGetNodePath()

2005-03-17 Thread Daniel Veillard
). This is easily reproducible if you search a conrete text path and then print the paths of found nodes. They are different. Is this ok? Maybe I've missed something sounds like a bug, please bugzilla, thanks, Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com

Re: [xml] Getting crashes with xmlFreeDoc()

2005-03-18 Thread Daniel Veillard
On Thu, Mar 17, 2005 at 03:03:07PM -0800, Sebastien Boisvert wrote: Any ideas? no idea without a reproduceable example, sorry, I still don't use a cristal ball ... Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit

Re: [xml] IDREF/IDREFS attribute are not validated in xml Schema or RelaxNG

2005-03-18 Thread Daniel Veillard
validates. strange, I though I tested that for Relax-NG ... I can provide a test case if you want some. yes, bugzilla please ! thanks, Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http

Re: [xml] Getting crashes with xmlFreeDoc()

2005-03-18 Thread Daniel Veillard
and not find if you don't take those 3mn. I know why I'm asking a reproduceable test case ! Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http

Re: [xml] memory allocation errors

2005-03-18 Thread Daniel Veillard
/ otherwise we just can't handle it anyway without ways to reproduce. It is reproducible in my prod environment once a day. I can not We cannot debug memory exhaustion, but we can debug leaks on given examples, especially if xmllint can show them. Daniel -- Daniel Veillard | Red Hat Desktop

Re: [xml] c14n

2005-03-20 Thread Daniel Veillard
it in or need to do something. Looks fine to me :-) Please go ahead ! thanks ! Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net

Re: [xml] memory allocation errors

2005-03-20 Thread Daniel Veillard
-- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ___ xml mailing list, project page http://xmlsoft.org

Re: [xml] Adding a namespace to an existing tree?

2005-03-20 Thread Daniel Veillard
an ns field indicating to which manespace they pertain or NULL if they are not related to any namespace. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine

Re: [xml] Removing a xmlns

2005-03-20 Thread Daniel Veillard
want to eval /html/body/a. How can I do for deleting this xmlns or fixing the problem ? Same misunderstanding of XPath query for namespaced node as a million others have asked before check the FAQ ! http://xmlsoft.org/wiki/index.php?title=Libxslt:FAQ Daniel -- Daniel Veillard | Red

Re: [xml] Questions about xml:id

2005-03-21 Thread Daniel Veillard
On Mon, Mar 21, 2005 at 11:21:52AM -0500, Rob Richards wrote: Funny this topic came up as I just recently was looking at the id stuff for the PHP DOM extension. Have a few questions/comments as well as a few issues regarding this. Daniel Veillard wrote: It seems that libxml2 only gives

Re: [xml] Questions about xml:id

2005-03-22 Thread Daniel Veillard
On Tue, Mar 22, 2005 at 09:53:16AM -0500, Rob Richards wrote: Daniel Veillard wrote: if you modify a subtree grabbed from the reader you're very likely in anyway to crash the parser or library, people should not do this ! Should/shouldn't - people will try anyways :) it's C

Re: [xml] compiling against uclibc

2005-03-23 Thread Daniel Veillard
a configure.in patch to add a --without-large-files option, I will take it. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net

Re: [xml] Windows Binaries And The Web

2005-03-23 Thread Daniel Veillard
a latest link or copy is a good one to allows scripting access too. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net

Re: [xml] function consolidation

2005-03-25 Thread Daniel Veillard
, I'm alway vary of problem introduced by the changes to text made by mail software. thanks ! Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine

Re: [xml] processes and threading with xmlInitParser()

2005-03-31 Thread Daniel Veillard
-- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ___ xml mailing list, project page http

Re: [xml] using raise in Python error handler callbacks

2005-03-31 Thread Daniel Veillard
On Thu, Mar 31, 2005 at 10:58:33PM +0100, Andrew McDermott wrote: Isn't it the case that the calling sequence starts within Python so it should be possible to return an error indication? I don't see how. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL

Re: [xml] using raise in Python error handler callbacks

2005-03-31 Thread Daniel Veillard
On Thu, Mar 31, 2005 at 02:19:47PM -0800, Ron Ohmer wrote: Why was I unsubscribed? all the out of context mails, however if you have a rational explanation for your last 5 mails about cheese I may re-add you. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL

Re: [xml] configure --with-threads and config.log

2005-04-04 Thread Daniel Veillard
or the configure code could not find your thread library. You will have to look at the .log to find out why, that can't be debugged on a different OS. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http

Re: [xml] makefile sample

2005-04-05 Thread Daniel Veillard
On Tue, Apr 05, 2005 at 05:13:10PM +0200, emanuele berinotti wrote: Any ideas??? I already replied 2 or 3 times, why push it over and over and over ! Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http

Re: [xml] xmlIO enhancements?

2005-04-05 Thread Daniel Veillard
On Tue, Apr 05, 2005 at 03:49:05PM -0400, Joel Reed wrote: On Tue, Apr 05, 2005 at 01:34:32PM -0400, Daniel Veillard wrote: On Tue, Apr 05, 2005 at 01:22:50PM -0400, Joel Reed wrote: I'm reviewing xmlFileOpen_real and xmlGzfileOpen_real in xmlIO.c and have two quick questions/possible

Re: [xml] makefile sample

2005-04-06 Thread Daniel Veillard
, not /usr . Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ___ xml mailing list

Re: [xml] using raise in Python error handler callbacks

2005-04-06 Thread Daniel Veillard
On Wed, Apr 06, 2005 at 03:10:30PM -0400, Brad Clements wrote: On 5 Apr 2005 at 16:48, Daniel Veillard wrote: and what happens when 2 threads use libxml2 python bindings. Parsing of A fails because parsing of B generated and error. No this is more complex than that, really. Somewhat

Re: [xml] Namespace - Saving to a File

2005-04-28 Thread Daniel Veillard
-- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ___ xml mailing list, project page http://xmlsoft.org

Re: [xml] Binary serialization/deserialization of xmlDocPtr?

2005-04-28 Thread Daniel Veillard
faster than trying to copy the same preparsed xmlDocPtr subtree. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net

Re: [xml] *mlDocDumpMemory[Enc] functions croak?

2005-05-04 Thread Daniel Veillard
of the script itself. The input HTML page is too broken w.r.t. the HTML spec to actually parse correctly and be serialized correctly too. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com

Re: [xml] *mlDocDumpMemory[Enc] functions croak?

2005-05-04 Thread Daniel Veillard
On Wed, May 04, 2005 at 09:52:56AM -0700, Abraham Nelson wrote: --- Daniel Veillard [EMAIL PROTECTED] wrote: paphio:~/XML - xmllint --html http://www.teleworking.gr/ http://www.teleworking.gr/:97: HTML parser error : Unexpected end tag : style css += '/style\n

Re: [xml] accessing xmlIO from the python api

2005-05-05 Thread Daniel Veillard
On Wed, May 04, 2005 at 01:44:27PM -0700, Dan Mercer wrote: On Wed, May 04, 2005 at 04:18:21PM -0400, Daniel Veillard wrote: Is it possible to access calls like IOHTTPOpen from the python API, or is there a mechanism for providing a callback to some other HTTP implementation

Re: [xml] Segfault freeing doc after replaceNode() in python

2005-05-05 Thread Daniel Veillard
/usr/lib/libpython2.3.so.1.0 #24 0x0021d65e in Py_Main () from /usr/lib/libpython2.3.so.1.0 #25 0x080485b2 in main () (gdb) This is in my debugging environment, but apparently a node refers to a deleted dictionnary (dict=0x means a freed area in libxml2 debug mode). Daniel -- Daniel

Re: [xml] controlling xpath streaming

2005-05-06 Thread Daniel Veillard
11303c11303 namespaces = xmlMalloc(2 * (ctxt-nsNr + 1) * sizeof(xmlChar*)); --- namespaces = xmlMalloc(2 * (ctxt-nsNr + 1)); yes, that's Mark's fix ! Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http

Re: [xml] FW: SAXHandler is not reset

2005-05-06 Thread Daniel Veillard
then repost clean code, how you compiled it, the library version used, and then I will try to reproduce the problem again. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM

Re: [xml] new PARSER_NO_DISK_ACCESS constant

2005-05-08 Thread Daniel Veillard
On Sun, May 08, 2005 at 12:48:36PM +0100, Nuno Lopes wrote: Hi, Hi Nuno I've filled my request to add a new constant in the bugzilla (http://bugzilla.gnome.org/show_bug.cgi?id=303342), but Daniel Veillard asked me to discuss my request here. thanks for doing that first step. I

Re: [xml] Parse dtd

2005-05-08 Thread Daniel Veillard
-- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ___ xml mailing list, project page http

Re: [xml] Problem in xsltSaveResultToFile

2005-05-10 Thread Daniel Veillard
uses xsltSaveResultToFile(stdout, ... BTW it's a libxslt question so your mail is to the wrong list Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine

Re: [xml] Will xmllint use schematron?

2005-05-11 Thread Daniel Veillard
separate from libxml2. It seems when is then never as far as I can tell. But that could be implemented as a separate tool on top of libxml2/libxslt/libexslt. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http

Re: [xml] xmlSchema : problem with the 'token' datatype ?

2005-05-11 Thread Daniel Veillard
On Wed, May 11, 2005 at 03:37:48PM +0200, Kasimier Buchcik wrote: Kasimier (or Kasiemir as Daniel thinks my name is :-D) Oops sorry :-) . I will use cazic from now on ;-) Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT

Re: [xml] C API question: reading attribute name?

2005-05-11 Thread Daniel Veillard
On Wed, May 11, 2005 at 12:50:57PM -0500, Jeremy Enos wrote: Daniel Veillard wrote: I think the solution is explained at http://xmlsoft.planetmirror.com/xmlreader.html#Extracting1 You can either: - loop with for all values of 0 .. AttributeCount() - 1 and use MoveToAttributeNo

Re: PATCH: Re: [xml] Segfault freeing doc after replaceNode() in python

2005-05-11 Thread Daniel Veillard
require a fixup) but it's a good first step. Applied and commited, thanks ! Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net

Re: [xml] xmlFree() segmentation fault with dinamic library

2005-05-11 Thread Daniel Veillard
, no problem. Now something is screwed in the way you use the C++ or the dynamic shared library loading but this has positively nothing to do with libxml2 as I just demonstrated. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT

Re: [xml] redicting parts of trees

2005-05-15 Thread Daniel Veillard
On Sun, May 15, 2005 at 12:59:54AM +0200, Martijn Faassen wrote: Martijn Faassen wrote: Daniel Veillard wrote: [snip] I think that if we add this then we should try to match the existing semantic of those operation in PHP for example. Does PHP implement this operation on top of libxml2? We

Re: [xml] redicting parts of trees

2005-05-16 Thread Daniel Veillard
for a DOM wrapper helper C file, will it? I won't object, unless it penalizes the comon case. For example if it forces the use of an expensive callbck on each processed node, which would just be an implementation mistake, not a principle error. Daniel -- Daniel Veillard | Red Hat Desktop

Re: [xml] redicting parts of trees

2005-05-16 Thread Daniel Veillard
); return (-1); } Obviously lot of thinking and testing need to be carried on. I would really like to get something we can finally rely on and not half of solutions. Thanks a lot for starting the effort though there is obviously some work left :-) Daniel -- Daniel Veillard | Red Hat

Re: [xml] redicting parts of trees

2005-05-16 Thread Daniel Veillard
On Mon, May 16, 2005 at 03:47:20PM +0200, [EMAIL PROTECTED] wrote: Hi, Obviously it's not enough to say that it is a sketch when Daniel is around ;-) don't get me wrong, I just wanted to provide some comments :-) Von: Daniel Veillard [EMAIL PROTECTED] Datum: Mon, 16 May 2005 08:28:27

Re: [xml] Get path of embedded stylesheet

2005-05-18 Thread Daniel Veillard
/xslt.c Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ___ xml mailing list, project page

Re: [xml] Problem with CDATA entities

2005-05-18 Thread Daniel Veillard
to digest any crap in RSS that they didn't even managed to find this monstruosity any validating XML parser should show. Blame them, not libxml2, thanks. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org

Re: [xml] redicting parts of trees

2005-05-19 Thread Daniel Veillard
. And I will check code sanity too :-). I'm off but not far away :-) Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net

Re: [xml] xmlsave serialization patch for CDATA

2005-05-20 Thread Daniel Veillard
this outputs ![CDATA[]]. It could be argued that it should output nothing for the CDATA node but I believe[2] this is the correct thing to do. Oops, right, looks fine. Applied and commited. thanks a lot ! Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED

Re: [xml] Parsing an in-memory DTD?

2005-05-24 Thread Daniel Veillard
On Mon, May 23, 2005 at 11:30:53PM +0200, Anne Martens wrote: There comes my question: Is there any way to parse a DTD from an in-memory string? I think yes. Using xmlIOParseDTD() with a NULL SAX handler, and an xmlParserInputBufferPtr built from your in-memory string. Daniel -- Daniel

Re: [xml] isoLat1toUTF8 conv error

2005-05-24 Thread Daniel Veillard
. isolat1ToUTF8 is exactly like an iconv function except it has no context parameter since the conversion is stateless. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM

Re: [xml] how do I...

2005-05-24 Thread Daniel Veillard
conformant does not offer APIs for what you want. I strongly suggest you redesign your network format to include markers or documents size in the pipe, the current state sounds broken. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT

Re: [xml] how do I...

2005-05-24 Thread Daniel Veillard
documents are short, in which case a stream of [(inti, documenti) *] where inti == len(documenti) would be quite easier to handle, as you can directly read the right number of bytes and then pass directly the complete buffer for a single pass parsing. Daniel -- Daniel Veillard | Red Hat

Re: [xml] Problems with xmlChar* as a key in STL Map

2005-05-25 Thread Daniel Veillard
the document or if you free the XPath object which was returned, I assume that's the problem you're facing. otherwise no idea. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http

Re: [xml] Porting libxml2-2.6.19 On symbian

2005-05-25 Thread Daniel Veillard
. XPath requires floating point support ! http://www.w3.org/TR/xpath#numbers You will need to work on the portability for Symbian. You should use trio precisely because it is a portability layer for this kind of problems. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com

Re: [xml] !ELEMET declarations

2005-05-30 Thread Daniel Veillard
shall be selected. For example: You can't do that in DTD or Schemas. This is possible by building a choice with two branches one with the attribute and one without in Relax-NG. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML

Re: [xml] find out wether a node is a leaf or contains other elements

2005-06-07 Thread Daniel Veillard
informations in your brain instantly. There is a learning curve, then you will be able to ask clearer questions. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM

Re: [xml] Problems with xmlDocDump

2005-06-08 Thread Daniel Veillard
! http://xmlsoft.org/html/libxml-tree.html#xmlElemDump elements being parsed are generated within a document, always. I don't know how you do the parsing but the leanest solution would be to use the reader interface and its expand function. Daniel -- Daniel Veillard | Red Hat Desktop team

Re: [xml] error when parse a html file whose name includes a '%' character

2005-06-08 Thread Daniel Veillard
for me, your report is incomplete: paphio:~/XML - cat a%b.html html body pfoo/p /body /html paphio:~/XML - xmllint --html a%b.html !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN http://www.w3.org/TR/REC-html40/loose.dtd; htmlbodypfoo/p/body/html paphio:~/XML - Daniel -- Daniel Veillard

Re: [xml] xml:space and xml:lang problem

2005-06-08 Thread Daniel Veillard
too. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ___ xml mailing list, project page

Re: [xml] xml:space and xml:lang problem

2005-06-08 Thread Daniel Veillard
as that used in xmlParseAttribute, which does only check lang if pedantic is used. The change was just to get the checks to actually kick in as they would never be true in xmlParseAttribute2. thanks for the explanations. Daniel -- Daniel Veillard | Red Hat Desktop team http

Re: [xml] xml:space and xml:lang problem

2005-06-08 Thread Daniel Veillard
;-) (allocated at value 102), thanks again ! Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net

Re: [xml] When will be the release of libxml2-2.6.20

2005-06-09 Thread Daniel Veillard
there is less incentive to push a release that often. You could make statistics based on http://xmlsoft.org/news.html a graph with the frequencies of releases over time would be interesting historically :-) Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED

Re: [xml] does libxml2 really needs libdl.so.2 and libz.so.1?

2005-06-09 Thread Daniel Veillard
support, which can be turned off by configuring with --without-modules option. Concerning linking, you should use xml2-config --libs to get the dependancies based on the options compiled locally. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME

Re: [xml] xml schema api

2005-06-12 Thread Daniel Veillard
the description for a type can be given easilly in an API, as this is likely do be defined by recursive definition of subtypes in the case of complex types. And opening up the data structure is a no-go (at least at this point though it would be good practice). Daniel -- Daniel Veillard | Red

Re: [xml] xml schema api

2005-06-13 Thread Daniel Veillard
our attention at in the Schemas field right now. But the process is open and if you want to make a difference, you can. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind

Re: [xml] libxml-2.0.pc

2005-06-13 Thread Daniel Veillard
#include libxml2/libxml/h Can you justify your suggestion ? Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net

Re: [xml] Functions of xmlsave.c

2005-06-13 Thread Daniel Veillard
, it is switching to some other encoding Format.Please clarify my doubt. I'm not sure I understand your question, nor that it's specific to libxml2 Read appendix F of the XML specification: http://www.w3.org/TR/REC-xml/#sec-guessing when in doubt, re-read it :-) Daniel -- Daniel Veillard

Re: [xml] Question about packing...

2005-06-13 Thread Daniel Veillard
On Mon, Jun 13, 2005 at 02:24:27PM +0200, Remy HAREL wrote: I hope you see what I mean, No I still don't see what you mean by pack. You add nodes to a tree, and then want to pack, but I have no idea what you mean by that. Daniel -- Daniel Veillard | Red Hat Desktop team http

Re: [xml] libxml-2.0.pc

2005-06-14 Thread Daniel Veillard
may be fairly common, it's a namespace problem. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net

  1   2   3   4   5   6   7   8   9   10   >