Hello developer, currently SQL::T::Parser::XML... doesn't support database_events.
The current XML format has an attribute database_event which can be used to set one database event.
Example: <triggers><trigger name="foo_trigger" database_event="insert" on_table="Basic"
perform_action_when="after" order="1"> <action>update modified=timestamp();</action> <extra foo="bar" hello="world" bar="baz" /> </trigger> </triggers> But we need more than one database event. My idea for a new XML Syntax. It deletes the attribute database_event and adds a tag database_events. Example: <triggers> <trigger name="foo_trigger" on_table="Basic" perform_action_when="after" order="1"> <database_events> <event>insert</event> </database_events> <action>update modified=timestamp();</action> <extra foo="bar" hello="world" bar="baz" /> </trigger> </triggers>The parser should support both variants and the producer create only the new style.
What is your opinion? Thanks, Robert --- Robert Bohne | E-Mail: rob...@openserv.org
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
-- sqlfairy-developers mailing list sqlfairy-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlfairy-developers