mediashelf/active_fedora — pull request #11 by barmintor (2011-11-10 00:28:25+00:00)
Title: changing URI target validation in semantic_node to allow non-info URIs

Elaborates the way a relationship target is validated. Basically, any popular URI scheme I can think of (http, ldap, mailto, hdl/doi, urn, xri) will have a character outside those allowed for Fedora pid namespaces, so this checks against /^[\w\-]+:[\w\-]+$/ to determine if the target is a PID, after requiring that the target be parse-able as a URI.