[Gambas-devel] XML component, expat

Christian Faure christian.faurebouvard at ...156...
Sat Sep 11 17:19:48 CEST 2004


El Viernes, 10 de Septiembre de 2004 14:40, Benoit Minisini escribió:
> I can make the Makefile if needed.
>
> > I'v seen in a previous post a How-to to implement a new component,
> > but for te next version....
>
> I put this Howto on the wiki. You can read it if you want.

Thanks, i read the howto and try to write a makefile.
The component name must be gb.xml.expat ? 
and the Class Name? XMLParser? or XMLParserExpat ? or another?

> If possible, you should allow to parse from a string directly.

Ok,
I add 
	ParseFile(<filename>) 
	ParseString(<string>)

and remove the 
	Parse(<filename>)
	
>> The Attribute parameter of StartElement is declared as "o" Object
>> in the signature, How can declare it as Collection?
>
> Replace 'o' by 'Collection;'. Note the semicolon at the end of the class
> name.

 Very Simple!  :)

> I will check your component as soon as possible. I don't have the time I
> had last month, because the acting studies started again!

Ok, 
Thanks, 




More information about the Devel mailing list