After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 700942 - libgweather test fail due to new glade-catalog changes
libgweather test fail due to new glade-catalog changes
Status: RESOLVED FIXED
Product: libgweather
Classification: Core
Component: general
3.9.x
Other Linux
: Normal normal
: future
Assigned To: libgweather-maint
libgweather-maint
: 705141 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-05-24 08:12 UTC by Evgeny Bobkin
Modified: 2014-02-18 23:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Evgeny Bobkin 2013-05-24 08:12:09 UTC
>>> Test phase [check]: dev-libs/libgweather-9999
Making check in data
make[1]: Entering directory `/var/tmp/portage/dev-libs/libgweather-9999/work/libgweather-9999/data'
Making check in glade
make[2]: Entering directory `/var/tmp/portage/dev-libs/libgweather-9999/work/libgweather-9999/data/glade'
make  check-local
make[3]: Entering directory `/var/tmp/portage/dev-libs/libgweather-9999/work/libgweather-9999/data/glade'
xmllint --dtdvalid /usr/share/glade/catalogs/glade-catalog.dtd --noout libgweather.xml
libgweather.xml:2: element glade-catalog: validity error : No declaration for attribute version of element glade-catalog
libgweather.xml:2: element glade-catalog: validity error : No declaration for attribute domain of element glade-catalog
libgweather.xml:2: element glade-catalog: validity error : No declaration for attribute depends of element glade-catalog
libgweather.xml:2: element glade-catalog: validity error : No declaration for attribute book of element glade-catalog
libgweather.xml:4: element glade-widget-class: validity error : No declaration for attribute get-type-function of element glade-widget-class
libgweather.xml:8: element glade-widget-class: validity error : No declaration for attribute get-type-function of element glade-widget-class
Document libgweather.xml does not validate against /usr/share/glade/catalogs/glade-catalog.dtd
make[3]: *** [check-local] Error 3
Comment 1 Evgeny Bobkin 2013-05-24 08:14:13 UTC
$ cat /usr/share/glade/catalogs/glade-catalog.dtd
<!ELEMENT glade-catalog (glade-widget-classes?, 
			 glade-widget-group*)>

<!ATTLIST glade-catalog name     CDATA #REQUIRED
                        library  CDATA #IMPLIED
			requires CDATA #IMPLIED>

<!ELEMENT glade-widget-classes (glade-widget-class+)>

<!ELEMENT glade-widget-class (post-create-function?,
			      get-internal-child-function?,
			      child-property-applies-function?,
			      properties?,
			      children?,
			      packing-defaults?)>

<!ATTLIST glade-widget-class toplevel     CDATA #IMPLIED
			     name         CDATA #REQUIRED
                             generic-name CDATA #IMPLIED
			     title        CDATA #IMPLIED>

<!ELEMENT properties (property+)>

<!ELEMENT property (spec?, 
		    type?,
		    tooltip?, 
		    parameters?,
		    set-function?,
		    get-function?, 
		    verify-function?)>

<!ATTLIST property id               CDATA #REQUIRED
                   name             CDATA #IMPLIED
		   default          CDATA #IMPLIED
		   query            CDATA #IMPLIED
		   common           CDATA #IMPLIED
		   disabled         CDATA #IMPLIED
		   visible          CDATA #IMPLIED
		   optional         CDATA #IMPLIED
		   optional-default CDATA #IMPLIED
		   translatable     CDATA #IMPLIED>

<!ELEMENT set-function (#PCDATA)>
<!ELEMENT get-function (#PCDATA)>
<!ELEMENT spec (#PCDATA)>
<!ELEMENT tooltip (#PCDATA)>
<!ELEMENT verify-function (#PCDATA)>

<!ELEMENT parameters (parameter+)>

<!ELEMENT parameter EMPTY>

<!ATTLIST parameter key   CDATA #REQUIRED
                    value CDATA #REQUIRED>

<!ELEMENT children (child+)>

<!ELEMENT child (type, 
		 add-child-function?, 
		 remove-child-function?, 
		 get-children-function?, 
		 get-all-children-function?,
		 set-property-function?, 
		 get-property-function?, 
		 replace-child-function?, 
		 fill-empty-function?, 
		 properties?)>

<!ELEMENT type (#PCDATA)>
<!ELEMENT add-child-function (#PCDATA)>
<!ELEMENT remove-child-function (#PCDATA)>
<!ELEMENT get-children-function (#PCDATA)>
<!ELEMENT get-all-children-function (#PCDATA)>
<!ELEMENT set-prop-function (#PCDATA)>
<!ELEMENT get-prop-function (#PCDATA)>
<!ELEMENT fill-empty-function (#PCDATA)>
<!ELEMENT replace-child-function (#PCDATA)>

<!ELEMENT post-create-function (#PCDATA)>
<!ELEMENT get-internal-child-function (#PCDATA)>
<!ELEMENT child-property-applies-function (#PCDATA)>

<!ELEMENT glade-widget-group (default-palette-state?, 
			      glade-widget-class-ref+)>

<!ATTLIST glade-widget-group name  CDATA #REQUIRED
                             title CDATA #REQUIRED>

<!ELEMENT default-palette-state EMPTY>
<!ATTLIST default-palette-state expanded CDATA #IMPLIED>

<!ELEMENT glade-widget-class-ref EMPTY>
<!ATTLIST glade-widget-class-ref name CDATA #REQUIRED>

<!ELEMENT packing-defaults (parent-class+)>

<!ELEMENT parent-class (child-property+)>
<!ATTLIST parent-class name CDATA #REQUIRED>

<!ELEMENT child-property EMPTY>
<!ATTLIST child-property id      CDATA #REQUIRED
                         default CDATA #REQUIRED>
Comment 2 Evgeny Bobkin 2013-05-24 08:34:05 UTC
and the one from git also does not has anything related :/

https://git.gnome.org/browse/glade/tree/plugins/glade-catalog.dtd
Comment 3 Giovanni Campagna 2013-05-24 15:22:17 UTC
No, the catalog is correct, but the glade DTD is outdated. Bug 700962.
Comment 4 Evgeny Bobkin 2013-05-24 18:29:20 UTC
thanks good to know.
Comment 5 Giovanni Campagna 2013-07-31 08:53:53 UTC
*** Bug 705141 has been marked as a duplicate of this bug. ***