Thanks for your answer Janine.
In fact, I'm using de CR Tcl API, my tcl wrapper function verifies some parameters and then makes a call to the content::item::new and/or content::revision::new functions.
I'm currently using your solution, it works fine, thanks, but I think someone should take a look to that bug in the CR Tcl API.
Regards.