/libxml-parser.html#xmlCleanupParser
see the documentation, you should call this function only once libxml2
is not in use anywhere in the application, which those days is very had
to assert. Simplest is to just not call it.
Daniel
-Original Message-
From: Daniel Veillard [mailto:veill
for predefined
entities of XML have always been cleaned up that way for example,
Calling it while the library or its data were still in use has always
been a dangerous thing to do, then it's a matter of luck...
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan
?)
I would rather suggest you use xmlParseInNodeContext() for this,
see include/libxml/parser.h
http://xmlsoft.org/html/libxml-parser.html#xmlParseInNodeContext
You will get back a node list to place at that location, it doesn't
try to insert automatically.
Daniel
--
Daniel Veillard
as well?
No they are here, and will remain, but you're loosing all the recent
work on API and parser optimization by not using the more recent
xmlReadFile()/xmlRead... new entry points. See the bottom of parser.h
New set of simpler/more flexible APIs,
Daniel
--
Daniel Veillard | libxml Gnome
to be in 2.0
though but I don't know it...
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org
/?id=a7e79f28689c574e0bbef17f4cb3da00249181ff
If you change things randomly, yes you can get crashs because of this.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com
On Sun, Mar 06, 2011 at 05:30:25PM +0100, Michael Ludwig wrote:
Daniel Veillard schrieb am 06.03.2011 um 22:18 (+0800):
On Sun, Mar 06, 2011 at 12:43:23PM +0100, Michael Ludwig wrote:
But what about the question I raised? Is it possible to turn off
namespace awareness with libxml2 using
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
___
xml mailing list, project page http
a libxml2 issue. But if gdome modify the tree
with a piece of memory allocated by malloc and then tries to free the
tree you will get this problem.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http
On Wed, Mar 02, 2011 at 09:00:12PM +, Lucian Smith wrote:
* Daniel Veillard veill...@redhat.com [2011-03-02 06:31] writes:
On Tue, Mar 01, 2011 at 10:14:30PM +, Lucian Smith wrote:
Hello, all. I am investigating how to modify a system that currently
uses
libxml, with its
() on the resulting document.
You will have to use xmlXIncludeProcessTreeFlags() on all the top
element node that xmlParseChunk may return to you.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http
option to eliminate the 10MB
size limit.
My suggestion would be to directly create the parent node and its
children via the tree API instead of giving it to an intermediary
parser.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com
object containing a string.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
___
xml
, but at the application layer, not at the parser
one.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org
/browse/libxml2/commit/?id=00819877651b87842ed878898ba17dba489820f0
the patch is the same, sorry !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library
pass the userData
4/4: it's a actually a bug too, yes, this makes the code simpler and correct
so the 4 patches are applied and pushed to the git tree,
thanks a lot !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search
on this
makes it an guessing exercise, not a debugging exercise. Provide a .c
which when compiled and linked shows the crash !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http
://xmlsoft.org/threads.html
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
___
xml
they expected.
I never use Windows myself so I can't really help you there
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org
pointers may still look like
valid pointers, but that's probably the best option at this point, yes
if this test end up failing for some reason that will still be easy to
sort out.
So I commited and pushed your patch, thanks Andrew !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit
On Tue, Nov 09, 2010 at 02:50:23PM -0800, Mark Rowe wrote:
On 2010-11-09, at 07:37, Daniel Veillard wrote:
On Tue, Nov 09, 2010 at 04:01:02AM -0800, Mark Rowe wrote:
Based on your description it sounds like you've overwritten your
system copy of libxml2 with a copy that you built
cannot garantee a quick review on bugzilla, unless I happen to step
on the notice, on the list it's more likely, but I always look for
bugs with patches attached on bugzilla before making a release. I guess
your patch wasn't attached or flagged as a patch.
Daniel
--
Daniel Veillard | libxml
On Sat, Nov 06, 2010 at 09:10:42AM -0400, dhk wrote:
Will this example (testSchemas.c) be posted to the
http://www.xmlsoft.org/examples/index.html page?
Hum, it would need to be tweaked up a bit and maybe cleaned up
before suggesting that as example code.
Daniel
--
Daniel Veillard
in ? Except a change
in the way encoding are provided I don't really how such an error
could happen. Not that I suggest replacing system libraries, but
I wonder if you have patches which should be upstreamed,
thanks !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http
are created on the fly to match
the namespace node semantic of XPath and destroyed when the XPath
nodeset is freed. To destroy namespaces in the tree you need to search
the NsDef where it is carried, and in the full tree in scope remove
any reference from elements or attributes.
Daniel
--
Daniel Veillard
or directory.
Can you please give me pointers from where i can download the required
libxml.h?
TestXPath .c is part of libxml2 own tests programs, it references
the internal include libxml.h and the code is not supposed to be
compiled outside of the tree without tweaking.
Daniel
--
Daniel Veillard
On Fri, Nov 05, 2010 at 05:14:34PM -0400, Daniel Macks wrote:
On Fri, 5 Nov 2010 19:10:41 0100, Daniel Veillard wrote:
On Thu, Nov 04, 2010 at 10:55:01PM -0400, Daniel Macks wrote:
Bug #630682...python self-test still fails with this latest
release.
And for the python HTML
, it actually forbids use of DTD or internal
subset, I think you're confused about terminology and how SOAP or
DTD validation is supposed to work.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net
On Thu, Nov 04, 2010 at 10:55:01PM -0400, Daniel Macks wrote:
On Thu, 4 Nov 2010 18:59:50 0100, Daniel Veillard wrote:
I got urged to make a release, so spend the last couple of days
chasing for bugs and patches in bugzilla. It's too bad we don't
have a solution on the zlib problem seen
for a while and that's the first time I hear about
such a problem, so something weird is going on, but what ???
One of the things I'm wondering is the plugin for Firefox isn't
running 32 bits and somehow there is a zlib dependancy problem
there...
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT
problems (Daniel Veillard)
- Fix a couple of typo in HTML parser error messages (Michael Day)
- Forgot to update the news page for 0.7.7 (Daniel Veillard)
Portability:
- 607273 Fix python detection on MSys/Windows (LRN)
- 614087 Fix Socket API usage to allow Windows64 compilation (Ozkan Sezer)
- Fix
On Thu, Nov 04, 2010 at 06:59:50PM +0100, Daniel Veillard wrote:
I got urged to make a release, so spend the last couple of days
chasing for bugs and patches in bugzilla. It's too bad we don't
have a solution on the zlib problem seen by higuita but the new
version of zlib and libxml2 have
for this book ...
/inc
paphio:~/XML -
So except for the second line of error which is wrong the processing
however seems correct,
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http
?
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
___
xml mailing list, project page
apply and commit the first 3 patches nearly as is, adding the
new xmllint option. IMHO there isn't really a need at the xmllint level
for the following since --c14n just implement the spec. At the API level
c14n really comes as a separate module.
Daniel
--
Daniel Veillard | libxml Gnome XML
On Wed, Nov 03, 2010 at 04:02:57PM -0400, Sam Ruby wrote:
On 11/03/2010 02:50 PM, Daniel Veillard wrote:
This does not need to wait until REC status, the parsing algorithm
is fairly stable.
okay
Some background: Henri wrote a fully compliant HTML parser in Java,
and has been keeping
On Sun, Oct 31, 2010 at 05:04:26PM +0100, buch...@gmx.net wrote:
Hi,
Hi Kasimier !
Von: Daniel Veillard veill...@redhat.com
On http://xmlsoft.org/html/libxml-xmlschemas.html I read that validation
of schemas is incomplete. Does anybody know what is missing? The most
[...]
I
for the patch, applied, and pushed !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org
I have no question about the semantic, it's just a matter of fixing
code (when possible).
That said when people report obvious problems in XSD support I try to
plug it, if they have a patch that's even better, but in practice it
doesn't happen very often.
Daniel
--
Daniel Veillard
this.
But note that some errors may occur in part of the code where the
parsing context may not be available, and there you won't be able to
disambiguate,
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http
with make distcheck --
but that bug's been marked as fixed.
Well that break for me too, but somewhere else. I take patches.
I usually just 'make dist' as 'make distcheck' tends to break easilly
especially since it's trying to run regression tests outside of the
tree.
Daniel
--
Daniel Veillard
of what's
going on.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
___
xml mailing
On Thu, Oct 28, 2010 at 05:44:03PM +0100, R. Mattes wrote:
On Thu, 28 Oct 2010 18:27:54 +0200, Daniel Veillard wrote
On Mon, Oct 25, 2010 at 09:09:03PM +, Ralf Mattes wrote:
Hello list,
is it possible to register a custom error function per xmlParserCtxtPtr
created
, and libxml2 implements based
on that (and in a portable way) see
struct _xmlSchemaValDecimal in xmlschemastypes.c.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com
is being called by xmlInitParser.
And as the doc says
http://xmlsoft.org/threads.html
xmlInitParser() should be called from main if you use threads...
For the SAXv1 handlers they are deprecated, hence the need for
LIBXML_LEGACY_ENABLED to be on
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
___
xml mailing list, project page http
at it, but confirmed, there is a leak,
so I made the simple fix needed and commited it to git,
thanks again !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization
On Thu, Sep 09, 2010 at 12:14:39PM +0200, Daniel Veillard wrote:
On Wed, Sep 08, 2010 at 07:00:20PM +0200, Mike Hommey wrote:
PS: Posting here, because it seems bugzilla is not read... I have 3 patches
in there that are bitrotting. (613466, 613467, 625851)
argh, well yes for urgent
);
return (total);
#endif
I think the =+ should be +=, however total is zero initialized so
this should not make any difference.
Gahhh ... I wonder for how many years this went unnoticed, since 2006
apparently !
Pushed the fix to git, thanks !
Daniel
--
Daniel Veillard
this properly.
Try to use the HTML_PARSE_RECOVER option to parse such documents.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org
experience.
See xmllint options:
--c14n : save in W3C canonical format v1.0 (with comments)
--c14n11 : save in W3C canonical format v1.1 (with comments)
--exc-c14n : save in W3C exclusive canonical format (with comments)
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http
On Tue, Oct 12, 2010 at 09:34:11AM +0200, Daniel Veillard wrote:
On Tue, Oct 05, 2010 at 10:22:22PM +0100, Adam Spragg wrote:
libxml developers,
Please find for your consideration a series of patches to add 2 new
xmlSaveOptions to libxml.
XML_SAVE_WSNONSIG is a new pretty-printing
by libtool.
Right, small problem, easy to fix, commited to git,
thanks !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org
the options,
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
___
xml mailing list
immediately and delete it!
This legal requirement is incompatible with the use of this mailing-list,
get it removed or post from another address in the future !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http
too long, then I will investigate
provide me a gzipped version of the file on some server to have a look.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization
!xmlTextWriterEndDocument+0x1f3
08 xxx!wrap_to_xml+0x2cf
Any tip would help me,
Either you exhausted memory or some of the code broke the memory
allocation management. I don't know how to debug this on Windows.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http
.
xmlNodeGetBase() should get it right at least if the xml:base
attributes are kept.
Is there any workaround for this other than implementing XInclude
resolution by hand?
I think the 2 methods above provide an heuristic and the possibility
for an exact algorithm :-)
Daniel
--
Daniel Veillard
have set the
value 444 to that node. Now I have to extract the modified xml string.
Waiting for response.
Why do you ask instead of looking the existing provided examples in the
documentation ?
http://xmlsoft.org/examples/index.html#xpath2.c
Daniel
--
Daniel Veillard | libxml Gnome
On Fri, Sep 10, 2010 at 03:22:20PM +0200, Nikolai Weibull wrote:
On Fri, Sep 10, 2010 at 15:12, Daniel Veillard veill...@redhat.com wrote:
On Fri, Sep 10, 2010 at 02:52:17PM +0200, Nikolai Weibull wrote:
Wow, that was a fast response!
!DOCTYPE a PUBLIC a.dtd [
!ENTITY b PUBLIC b
allocated in that case
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
diff --git a/SAX2.c b/SAX2.c
index 84c1f00..c0482c0 100644
by glibc, and glibc notices
during an allocation from libxml2 but the corruption was done earlier.
Use valgrind to track this down. Don't assume the problem is in other
people code,
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com
inheriting the default namespace from root.
Don't use a default namespace on the root. and fix the children
namespace definition.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http
.
There isn't much more, maybe you can look at some of the program
code in the sources like xmllint.c,
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library
an xmlMemSetup() equivalent and all functions go
though that wrapped allocator. If the problem was present even
the most trivial tests would fail in this mode.
The problem is likely to be somewhere else...
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http
the filtering, libxml2 can't do that for you.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org
SIZE TYPE
paphio:~/XML -
and the parser allocated only 31 KBytes to build the document.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library
in all cases.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
___
xml mailing list
the output to serialize it.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org
On Mon, Aug 02, 2010 at 11:57:10AM +1000, Michael Day wrote:
Hi,
htmlParseCharRef in HTMLparser.c has two missing semicolumn error
messages, these should be semicolon instead.
Best regards,
okidoc, pushed :-)
thanks !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT
++;
if ((*cur == '-') || (*cur == '+'))
Okay that patch looks fine, except for mail mangling and code format,
so I applied it manually, look fine, passes regtests, so pushed to git,
thanks !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com
not show up. If I were to do libxml3 then sure,
but I don't see that on the horizon, sorry :-\
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http
On Wed, Jul 28, 2010 at 03:52:44PM +0300, Andrew W. Nosenko wrote:
On Wed, Jul 28, 2010 at 14:50, Csaba Raduly rcs...@gmail.com wrote:
On Wed, Jul 28, 2010 at 11:44 AM, Daniel Veillard wrote:
On Thu, Jul 22, 2010 at 02:38:16PM +0200, Csaba Raduly wrote:
Anyway, here's a revised version
content=
paphio:~/XML - xmllint --html --nodefdtd --debug tst.html
HTML DOCUMENT
URL=tst.html
standalone=true
ELEMENT html
ELEMENT body
TEXT
content=
paphio:~/XML -
thanks for raising the issue,
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http
LIBXML_DEBUG_ENABLED has been defined during compilation. And
that seems to be controlled by the --with-debug `configure` option.
Confirming both points from Björn ! :-)
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine
not sure if or when I
may have time for looking at XPointer code again, but if the issues are
well explained in bugzilla with examples making it easy to reproduce
then there is a chance it will get fixed :-)
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan
validation of smaller
chunk. In general libxml2 chunks also mean arbitrary range of characters
on the document, that doesn't even match structural ranges in the
document so in that case it really doesn'[t make sense to validate at
that level.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT
in alphabetical order etc ... I'm all for portability
but to the limit it doesn't completely penalize maintainability or
code efficiency.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http
On Thu, May 13, 2010 at 07:46:53PM +0300, Alon Bar-Lev wrote:
On Thu, May 13, 2010 at 7:38 PM, Daniel Veillard veill...@redhat.com wrote:
On Wed, May 12, 2010 at 03:15:02PM +0300, Alon Bar-Lev wrote:
Thank you for your comments.
I found the first problem, the correct code page should
of the problem ? An excerpt
out of context can hide so many things...
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org
API to do this from a preparsed document, but
really people use the Reader to avoid loading the full document
in memory, so this is not widely used,
http://xmlsoft.org/html/libxml-xmlreader.html#xmlReaderNewWalker
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org
a patch, for example.
Should HTMLparser parse bad broken html or not ?
it tries to, but there is a limit to what is achieveable, some areas
are harder than others decently handle brokeness.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan
it further in order to
help get it patched.
Well I may have misunderstood your report. build with debug and
running the crashing test under gdb to find where it crashes and
then try to sort out the problem would be a very first step
toward a fix.
Daniel
--
Daniel Veillard | libxml Gnome
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
___
xml mailing list, project page http
, they should have made sure to push the libxml2 update
at the same time.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org
the board?
I'm not sure but I think at some point I had to create that m4
directory and everything went well there after, maybe this need
to be added to autogen.sh
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine
I could find more information
about it?
Thanks in advance,
http://xmlsoft.org/threads.html
I don't see an xmlInitParser() call in your code.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http
it in its context, i.e. passing
the target to the subtree creation. There is contextual references from
a subtree like namespaces and entities, and it's best to avoid moving
stuff if you don't understand perfectly all the data structures
involved.
Daniel
--
Daniel Veillard | libxml Gnome XML
of picking up what you need. If not well look in the sources, there are
examples from various platforms from win32 to vms ... usually in
subdirectories.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http
for a single instance.
Either you didn't properly freed the tree, or you're unable to get a
precise memory usage from your libc memory allocator, but libxml2
do free everything.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM
./test/ebcdic_566012.xml
and compare the output with result/ebcdic_566012.xml
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org
On Tue, Apr 06, 2010 at 12:39:08PM -0500, Todd Rinaldo wrote:
On Apr 6, 2010, at 7:20 AM, Daniel Veillard wrote:
Works for me on a RHEL-5.4 x86_64.
run
xmllint ./test/ebcdic_566012.xml
and compare the output with result/ebcdic_566012.xml
Please disregard my earlier email
at this point.
XPath queries return pointers into the document tree. Don't free the
tree until you are still accessing it.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com
recover from.
Check the errors emitted by the parser.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org
the
taken as a whole
clearly indicating it's absolutely forbidden to stop applying the rules
at some point.
You feed the XML parser what the entiti(es) contains and it provides a
result back. If there is an error in the middle or the end, it
invalidates the whole document.
Daniel
--
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
___
xml mailing list, project page http
#xmlParseBalancedChunkMemory
or
http://xmlsoft.org/html/libxml-parser.html#xmlParseInNodeContext
But you have to provide the boundaries.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http
to do so would just make the parser non-conformant to the
XML-1.0 specification.
If you don't need an XML parser, fine, but libxml2 *is* an XML parser.
Stacking XML document without keeping track of boundaries *is* a design
error failure, unrelated to the parser being used.
Daniel
--
Daniel
such routines.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
___
xml mailing list, project
On Wed, Feb 17, 2010 at 10:04:08AM +0100, Daniel Veillard wrote:
On Tue, Feb 16, 2010 at 10:00:03AM +0300, Eugene Pimenov wrote:
Hello everyone,
As my colleague pointed out in December
(http://mail.gnome.org/archives/xml/2009-December/msg00036.html ; although
he didn't do
401 - 500 of 1973 matches
Mail list logo