I think the idea is that only database-types are taken into consideration, so 'TYPE_NODE' and 'TYPE_XML' do not really exist? Should we add this kind of code on a higher level? (bridge's query?).
My idea was that type-conversion was to take place in the lower levels, i.e. in the storage layer. This allows you to use abstract types (i.e. Nodes) as input in higher levels, including the core.
Yes, you can put this in the bridge. You can put anything in the bridge. But that is of no use to the core, or utilities that do not use the bridge.
-- Pierre van Rooden Mediapark, C 107 tel. +31 (0)35 6772815 "Never summon anything bigger than your head."
