closure of the 2014-03-07 support case
getting resource data from the DB and parsing / generating prefix / namespace for document elements (including xsi:type attribute)