Permalink
Browse files

Fix Resource.parse of URIRef.

  • Loading branch information...
1 parent 2bafe85 commit 012e1f051692a8ed64ab91a17cb3b2a9af17ed15 @gkellogg committed Dec 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rdf_context/resource.rb
View
2 lib/rdf_context/resource.rb
@@ -46,7 +46,7 @@ def graph?
def self.parse(str)
case str
when /^_:/ then BNode.parse(str)
- when /^<"/ then URIRef.parse(str)
+ when /^</ then URIRef.parse(str)
when /^http:/ then URIRef.parse(str)
when /^\"/ then Literal.parse(str)
else Literal.parse(str)

0 comments on commit 012e1f0

Please sign in to comment.