[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GSXML
From: |
Stefan Urbanek |
Subject: |
GSXML |
Date: |
Sun, 19 May 2002 09:44:00 +0200 |
Hi,
It was the first time I was using GSXML and I have few comments about it,
mostly about method naming. In GSXMLNode there is a method named -children. I
was expecting (by the method's name) to return an array of node's children, bt
it returns first child of the node.
Also some method names are abbreviated (prev, doc, setProp:). Well, it
requires less typing, but it is inconsistent with other GNUstep/Cocoa method
names (previous, document, setProperty: or setPropertyValue:).
In NSSet, for example, we have setWithArray:, setWithObject: and setWithSet:.
In GSXMLNode we have nodeFrom:. I think, it should be nodeFromData: (then we
can have nodeFromString: and similar).
There are just rather cosmetic things, but I think, appropriate and consistent
method naming makes writing code easier.
One question: is there an Objective-C XML library that is available for both
GNUstep and MacOS-X? Maybe some wrapper around libxml (like GSXML) and core
foundation with unified interface, so it is not needed to write the same code
twice.
Thank you,
Stefan
- GSXML,
Stefan Urbanek <=
- Re: GSXML, Marcus Müller, 2002/05/19
- Re: GSXML, Richard Frith-Macdonald, 2002/05/20
- Re: GSXML, Nicola Pero, 2002/05/20
- Re: GSXML, Richard Frith-Macdonald, 2002/05/20
- Re: GSXML, Nicola Pero, 2002/05/20
- Re: GSXML, Richard Frith-Macdonald, 2002/05/20
- Re: GSXML, Nicola Pero, 2002/05/20
- Re: GSXML, Nicola Pero, 2002/05/20
- Re: GSXML, Nicola Pero, 2002/05/20
- Re: GSXML, Nicola Pero, 2002/05/20