Please, register me :)
Posted on 2005-01-12 19:57:42 EET.
Finally.
Just called my local midgard-schema tool to check if xml file is correctly defined.
Debug output seems fine till now.
I also tried to register Piotrasa type, but unfortunatelly I was lazy to write all properties. Luckily mgdlib_create_schema function didn't even try to register such type.
Just called my local midgard-schema tool to check if xml file is correctly defined.
midgard-schema ./MgdObjects.xml
Debug output seems fine till now.
** (process:27960): DEBUG: Registering new 'MgdRpd' typeWhich simply means : I defined MidgardArticle and by default now it extends MgdRpd object. There are some work left to correctly install properties and this is one of these difficult_kill_me_i_do_not_want_do_this things ;)
(process:27960): midgard-schema-DEBUG: Source schema is empty
(process:27960): midgard-schema-DEBUG: TYPE in Schema: MidgardArticle
(process:27960): midgard-schema-DEBUG: Number of properties: 31
** (process:27960): DEBUG: Registering new 'MidgardArticle' type
I also tried to register Piotrasa type, but unfortunatelly I was lazy to write all properties. Luckily mgdlib_create_schema function didn't even try to register such type.
(process:27960): midgard-schema-DEBUG: TYPE in Schema: PiotrasaYeah, debug output is fine , as nobody wants to know how this works ;)
(process:27960): midgard-schema-WARNING **: Type Piotrasa has less than 1 property!