Re: [xml] bug in valid.c

Date view Thread view Subject view Author view

From: Gary Pennington - UK Performance Centre (Gary.Pennington@uk.sun.com)
Date: Mon Feb 12 2001 - 10:24:32 EST


Hi Daniel,

I got the source from gnome and started thinking about implementing this functionality.

I'm not sure that I can use your existing xmlNodeSetPtr becase I actually need to
maintain a list of xmlRefPtr.

When I add a reference, I want to update the ref table with a key (the value which is
passed into the xmlAddRef function) which identifies a list of xmlRefPtrs. I can then
use that key to retrieve all refs that refer to the key and I can free the refs when
I free the table or remove an individual reference.

Your xmlNodePtr code assumes that the manipulated data structures are xmlNode based,
but xmlRef isn't.

I think this means we have two options :-

1. Modify xmlRef so that it conforms to the standard xmlNode structure.
2. Add a new set of list manipulation functions that allows us to manipulate
non-xmlNode based data types.

I would prefer to go with 2, I have a set of list manipulation functions which we could
use, but I'll await your feedback.

Or am I missing something?

Gary

Daniel Veillard wrote:

> On Fri, Feb 09, 2001 at 04:00:53PM +0000, Gary Pennington wrote:
> >
> > Hi Daniel,
> >
> > I've been busy on other work the last couple of days. I'll look at doing this next
> > week.
> >
> > Where should I go to get the latest source,
> > ftp://rpmfind.net/pub/libxml/cvs-snapshot.tar.gz or
> > http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnome&dir=gnome-xml ?
>
> get it from gnome, I'm unsure my script on rpmfind is not using W3C
> CVs base (now out of date).
>
> Daniel
>
> --
> Daniel Veillard | Red Hat Network http://redhat.com/products/network/
> veillard@redhat.com | libxml Gnome XML toolkit http://xmlsoft.org/
> http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
> ----
> Message from the list xml@rpmfind.net
> Archived at : http://xmlsoft.org/messages/
> to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net

----
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 : Mon Feb 12 2001 - 10:44:56 EST