[Bond-users] dbobject issues
Colin Close
itchka at compuserve.com
Mon Nov 19 19:04:02 EST 2012
Hi All,
I've run into a bit of a problem with naming "dbobj's". I have some xml which
starts off in the normal manner with a window title and a dbobject. This is
fine.
Slightly further down the xml I open a "vbox" which contains a "dbobj" as
follows:-
<vbox name="xmas_ref" longname="xmas_ref" border="8" homogeneous="true">
<dbobject name="xmas_ref">
<sql>
SELECT to_char(current_timestamp, 'YYYY') AS xmas_year;
NOTIFY pidone32;
</sql>
</dbobject>
According to the DTD this is a legal construct but when I run it I get this:-
Error: src/bondxml.c: 2411: bondxml_parsewidget_adddb(): <dbobject> naming
inconsistent. addinfo_xmas !=
xmas_ref/frame639:138/box640:139/frame641:141/box642:151/box664:250/hbox665:252.
This could cause potentially problems or confusion.
Keep widget and dbobject names the same.
As far as I can see this should work so I must be doing something wrong but I
can't figure out what. I've also attached the full xml so that context can be
examined,
Best,
Colin Close
Any Ideas?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: visit_selection_xmas.xml.gz
Type: application/x-gzip
Size: 6794 bytes
Desc: not available
Url : http://lists.hcoop.net/pipermail/bond-users/attachments/20121120/8bbe3960/attachment.bin
More information about the Bond-users
mailing list