if (!text) throw("SPARQL service returned empty successful response.");     var no_strings = text.replace(/"(\\.|[^"\\])*"/g, '');    var hasBadCharacter = /[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(no_strings);  if (!hasBadCharacter) return eval('(' + text + ')'); return null; } 
if (!text) return null;     var no_strings = text.replace(/"(\\.|[^"\\])*"/g, '');    var hasBadCharacter = /[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(no_strings);  if (!hasBadCharacter) { try { return eval('(' + text + ')'); } catch (e) { return null; } } return null; } 
    function _create_json(text) {         if (!text)            throw("SPARQL service returned empty successful response.");        // make sure this is safe JSON        // see: http://www.ietf.org/internet-drafts/draft-crockford-jsonorg-json-03.txt                // (1) strip out quoted strings        var no_strings = text.replace(/"(\\.|[^"\\])*"/g, '');        // (2) make sure that all the characters are explicitly part of the JSON grammar        // (in particular, note as discussed in the IETF submission, there are no assignments        //  or function invocations allowed by this reg. exp.)        var hasBadCharacter = /[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(no_strings);        // (3) evaluate the JSON string, returning its contents        if (!hasBadCharacter)            return eval('(' + text + ')');        return null;     }   
125	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/125/5e31ba8eccc9476c419646f8c63981cd789b47c1/sparql.js/buggy/webapps/joseki/snorql/sparql.js