[xml] How to Build DOM tree from sax api

2008-05-14 Thread Umesh Chandak
Hi All, I want to build the DOM tree from sax api's of the libxml. Is there any way that I can achieve this. I wan to do something like this. 1. I will register the sax api's first 2. Once the control come the sax call back handlers . I want to build the DOM tree in the call back handlers re

Re: [xml] query on xmlSetDocCompressMode

2008-05-14 Thread Daniel Veillard
On Wed, May 14, 2008 at 07:35:43PM +0530, Senthil Nathan wrote: > Hi All, > I have been using libxml for a while and recently came up with a memory > usage problem for the xmlDocPtr. > > So, tried using the compression as, > xmlSetDocCompressMode(m_domTree, 9); > > But looks like there is no

[xml] query on xmlSetDocCompressMode

2008-05-14 Thread Senthil Nathan
Hi All, I have been using libxml for a while and recently came up with a memory usage problem for the xmlDocPtr. So, tried using the compression as, xmlSetDocCompressMode(m_domTree, 9); But looks like there is no change in the memory usage. Also following is the way, how did I check the memo

Re: [xml] Very large integer support in schema

2008-05-14 Thread Daniel Veillard
On Wed, May 14, 2008 at 03:31:15PM +0200, [EMAIL PROTECTED] wrote: > I'm trying to validate a document against a schema using the xs:integer > built-in type. The xmlschema spec defines such a type to be an arbitrarily > large integer, however it looks like libxml imposes it's own limit. This is

[xml] Very large integer support in schema

2008-05-14 Thread dnorrell
I'm trying to validate a document against a schema using the xs:integer built-in type. The xmlschema spec defines such a type to be an arbitrarily large integer, however it looks like libxml imposes it's own limit. This is causing problems for me as my document has such very large integers. Is t