On Aug 29, 2007 3:32 PM, Daniel Veillard <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 29, 2007 at 06:50:53PM +0530, harbhanu wrote:
> > >> What libxml2 creates is a sliding window over the full document. It
> > >> contains the current node and its ancestors. That's the only guarantee

Therefore, if I understand correctly the phrase "It contains the
current node and its ancestors", the input document should be fully
loaded into memory and parsed at first time because of root node (in
any use-case, not only "<a><ab><abc><abcd> ... </abcd></abc></ab></a>"
case below)?

> > So, by this does it means that a document with only one nesting will have
> > the complete document in memory...
> > For ex....
> >       <a><ab><abc><abcd>. ..... </abc></abcd></ab></a>
> > In this case its memory requirement will be almost equivalent to DOM.
> > Right??
>
>   yes, stupid design leads to stupid problems, I don't care too much
> about it.

-- 
Andrew W. Nosenko <[EMAIL PROTECTED]>
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to