tristan/jsonld-java — pull request #24 by retobg (2012-09-04 21:10:08+00:00)
Title: Recursively expands shortened URIs

This should fix issue #23. Rather than expanding the context itself (as the issue suggests) json-ld shortened URIs are now recursively expanded till no further expansion is possible. e.g. "name" might be expanded to "foaf:name" before recursion and to "http://xmlns.com/foaf/0.1/name" on the first recursion. As http is not a prefix the value cannot be further expanded and is thus returned.