assertEquals(expected, r);
assertEquals(expected, r);  string = "$"; expected = "$"; query = "iri-to-uri(\"" + string + "\")"; result = service.query(query); r 	= (String) result.getResource(0).getContent(); assertEquals(expected, r);
	public void testIRIToURI() {		ResourceSet result 		= null;		String		r			= "";		String string;		String expected;		String query;				try {			string = "http://www.example.com/00/Weather/CA/Los%20Angeles#ocean";			expected = "http://www.example.com/00/Weather/CA/Los%20Angeles#ocean";			query = "iri-to-uri(\"" + string + "\")";			result = service.query(query);			r 	= (String) result.getResource(0).getContent();			assertEquals(expected, r);									string = "http://www.example.com/~b\u00e9b\u00e9";			expected = "http://www.example.com/~b%C3%A9b%C3%A9";			query = "iri-to-uri(\"" + string + "\")";			result = service.query(query);			r 	= (String) result.getResource(0).getContent();			assertEquals(expected, r);					} catch (XMLDBException e) {			System.out.println("testIRIToURI(): " + e);			fail(e.getMessage());		}	}	