[gnome-db] gda-report-document
- From: "Santi Camps" <santicamps wanadoo es>
- To: gnome-db-list gnome org
- Subject: [gnome-db] gda-report-document
- Date: Mon, 28 Oct 2002 19:41:05 +0100
Hi,
I have been viewing the code of gda-report.dtd and gda-report-document.*, in order to continue the development of gda-reports.
I see that GdaReportDocument inherits from GdaXmlDocument, but it also have a private struct with a property for each attribute defined in the DTD. I also see that there are enum's defined for some of these attributes.
I am asking myself, it could be better not to have these enum's and private struct, and store data directly in the xmlDoc ? Attributes assignments could also be validated using the DTD and libxml, I think. Thus, there would be no duplicated information in the data type, and maintaning the information could be easier (now, creating a GdaReportDocument from an file or using _set_ funcitons store the data in diferent places).
What do you thing about this?
Thanks
Santi Camps
_____________________________________________________________________
Horas ilimitadas para leer y enviar correos con Tarifa Plana Wanadoo
¡¡ desde las 3 de la tarde!!
Compruébalo en http://www.wanadoo.es/acceso-internet
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]