Re: [xml] prerelease of 2.2.5

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Sat Oct 14 2000 - 07:40:26 EDT


On Sat, Oct 14, 2000 at 11:00:21AM +0000, Bjorn Reese wrote:
>
> Daniel Veillard wrote:
>
> > In 1/ you may be able to gain over the current implementation memory
> > use but as i pointed out, not that much (or it will be really slow if
> > you don't have simple pointer walk to traverse XPath axis). And unless
> > you know in advance the XPath function that you will target (which
> > may even be computationally impossible depending on the use case) one
> > really need to store the informations for the full document "/.." is
> > alaway possible in any XPath step !
>
> True, the ancestry and sibling axes may require access to already
> parsed (and ignored) parts of the document.
>
> However, I still find the idea interesting because we have documents
> that can be as big as 20Mb, where only a few pieces of information
> has to be extracted. Furthermore, we only use a subset of the XPath
> functionality, none of which use ancestry.

   XPath spec don't define conformance level since this is intended for
reuse by other specs but I really dislike the message
"Oh we are only implementing 10% of the spec because that's what we need"
Either you're spec compliant or not !

> > In 2/ that will be an awful lot of function calls, but this is
> > realistic. Maybe a good starting point is to look at the XML Infoset
> > draft
> > http://www.w3.org/TR/xml-infoset
> > and map all the information items to associated functions. Then try
> > to refine to eliminate unused functions and build the implementation
> > on this function set.
>
> This is an interesting approach. I will be looking into this in the
> future. Thanks.

  no problem,

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux XML libxml WWW
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind
 http://www.w3.org/People/all#veillard%40w3.org  | RPM badminton Kaffe
----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Oct 14 2000 - 09:43:39 EDT