Hi Javier,
When the package is being imported, the manifest is parsed. For each resource, a callback is called in order to manage the resource in a different way depending on the resource type.
If the type is one of the above described (see Jose Pablo's post), then the Assessment module gets the control and import the QTI resource, sending back an identifier to the IMS LD module.
If it is OK, once imported, you will find a row in the imsld_cp_resources table with the proper type.
You can also try to import the package again and see what happens in the log files. You can find useful information there.
Anyway, you can send me the package you are trying to import, I can have a look and locate the problem more accurately. My email address is in my profile.
Cheers,
Luis