Islandora/tuque — pull request #19 by acoburn (2012-07-31 14:17:38+00:00)
Title: 1.x

Three changes:
* Added a validate() function to FedoraApi and FedoraApiSerializer, which provides access to Fedora's API-M validate() function
* When RELS-EXT and RELS-INT datastreams are created, they should be populated with a MimeType of application/rdf+xml and a proper formatURI
* When a FedoraDatastream object is initialized, without the optional fourth param ($datastream_info), then the object will fetch these values from Fedora using the getDatastream() method. This method, however, is part of API-M, and so it may not be accessible by the user in question, who may only need access to the Datastream::content, Datastream::mimetype, and Datastream::label values. By passing in those values -- retrieved from listDatastreams(), API-M access is completely avoided.