A loaded schema can be dropped if:
* No other schema depends on it
* No data using the schema is loaded
I think you may force unloading schemas even if there is data loaded but I haven't tried that.
The code to drop a schema is:
dbms_xmlschema.deleteSchema(