discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML idea


From: Dennis Leeuw
Subject: Re: XML idea
Date: Thu, 08 Jan 2004 09:45:20 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3

Nicola Pero wrote:

The issue is a bit more complex for me, and the need for standards play an
important role.

Generally, I think that we should try to keep our core libraries down to a
small, good, well-designed and hopefully standard set of APIs common with
other OpenStep systems.

In this light, GSXML is not a particularly strong candidate for inclusion
in gnustep-base: its API is totally non-standard (and the design is not
terrific - it's just a wrapper around libxml2), and there are major users
of gnustep who use other XML libraries/APIs with gnustep - some use
libxml2 directly, some use OGo/Helge's XML libraries, some use Marcel's
ones. The existence of all those widespread alternatives make the case for including GSXML in gnustep-base weaker.

Said that, it would be very nice if OpenStep systems had a good,
well-designed standard API for doing basic XML things such as SAX parsing,
and it would be in our interest to help establish such a standard and
support it in -base.

Judging by the emails, NSXMLParser seems to be doing good in terms of
acceptance, but not very good in terms of design and quality.  If
NSXMLParser had a good well-done design, I think we'd definitely look at
implementing it into gnustep-base.  Just think how much easier life would
become. :-)

Given it's not that good, I'm not sure ... maybe we should hope a better
design comes out, or be pro-active and offer Apple a hand with the design
(would they be interested in our help ?) in order to establish a good
standard - we've got some very good designers and programmers (and some of
them have already written entire XML APIs and frameworks) who might be
very much interested in having a good NSXMLParser and so interested in
discussing it and its details.

Maybe we could look at NSXMLParser, figure out what's wrong, and produce
an API spec (and an implementation wrapping libxml2 or expat) trying to
talk to some Apple people and see if they'd read it later and consider it
for their system as well.

... don't know, just brainstorming.


This sounds like a great idea! And finally one that is not disagreeing with others but trying to come up with a solution!!!!
Great Nicola!

Do we know people within Apple with whom we can discuss this?
Any ideas how to go forward on this. Although I am not a programmer (but learning) I am willing to lent a hand. IMHO a good and portable XML framework is needed for GNUstep and, what I have heard about NSXMLParser, for MacOSX too.

Should be a parser that does tree and SAX parsing I guess...?

Dennis





reply via email to

[Prev in Thread] Current Thread [Next in Thread]