DSpace/DSpace — pull request #230 by awaterma (2013-06-06 17:42:56+00:00)
Title: Fix for Metadata Schema lookup by long namespace and not short name.

Sometimes DSpace looks up a schema by the long namespace, and not the short name while serializing an Item. This patch fixes this issue. It also throws a RuntimeException (I didn't want to change the signature, so there could be a much better way to express this) when the schema is not available via either method. This alleviates the mystery of why DSpace cant' find a defined symbol when parsing the metadata for an Item, as an Item with a bad reference to internal metadata should be an error.