phamcong / rdfquery

Automatically exported from code.google.com/p/rdfquery
0 stars 0 forks source link

databank load() does not detect url properly #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The documentation of rdf.databank.load(data) says: "If the data is a string
and starts with 'http://' then it's taken to be a URI".

For this to be true, the data.substring condition has to be 
data.substring(0, 7) === 'http://'

Original issue reported on code.google.com by scorlosq...@gmail.com on 21 Mar 2010 at 12:56

Attachments: