anchor.diff:  			assertFalse(local.validator.isValidDirectoryPath("test", "c:\temp\..\etc", local.parent, false));
   		
   			// Windows paths
  -			assertTrue(local.validator.isValidDirectoryPath("test", "C:\", local.parent, false));                        // Windows root directory
  -			assertTrue(local.validator.isValidDirectoryPath("test", local.sysRoot, local.parent, false));                  // Windows always exist directory
  -			assertFalse(local.validator.isValidDirectoryPath("test", local.sysRoot & "\System32\cmd.exe", local.parent, false));      // Windows command shell
  -
  +			assertTrue(local.validator.isValidDirectoryPath("test", "C:\", local.parent, false));// Windows root directory
  +			assertTrue(local.validator.isValidDirectoryPath("test", local.sysRoot, local.parent, false));// Windows always exist directory
  +			assertFalse(local.validator.isValidDirectoryPath("test", local.sysRoot & "\System32\cmd.exe", local.parent, false));// Windows command shell
   			// Unix specific paths should not pass
  -			assertFalse(local.validator.isValidDirectoryPath("test", "/tmp", local.parent, false));      // Unix Temporary directory
  -			assertFalse(local.validator.isValidDirectoryPath("test", "/bin/sh", local.parent, false));   // Unix Standard shell
  +			assertFalse(local.validator.isValidDirectoryPath("test", "/tmp", local.parent, false));// Unix Temporary directory
  +			assertFalse(local.validator.isValidDirectoryPath("test", "/bin/sh", local.parent, false));// Unix Standard shell
   			assertFalse(local.validator.isValidDirectoryPath("test", "/etc/config", parent, false));
   		
   			// Unix specific paths that should not exist or work
  
positive.code: 			assertTrue(local.errors.size() == 3);
  		
  			// Windows paths
  			assertTrue(local.validator.isValidDirectoryPath("test4", "C:\", local.parent, false, local.errors));                        // Windows root directory
  			assertTrue(local.errors.size() == 3);
  			assertTrue(local.validator.isValidDirectoryPath("test5", sysRoot, local.parent, false, local.errors));                  // Windows always exist directory
  			assertTrue(local.errors.size() == 3);
  			assertFalse(local.validator.isValidDirectoryPath("test6", sysRoot & "\System32\cmd.exe", local.parent, false, local.errors));      // Windows command shell
  			assertTrue(local.errors.size() == 4);
  		
  			// Unix specific paths should not pass
  			assertFalse(local.validator.isValidDirectoryPath("test7", "/tmp", local.parent, false, local.errors));      // Unix Temporary directory
  			assertTrue(local.errors.size() == 5);
  			assertFalse(local.validator.isValidDirectoryPath("test8", "/bin/sh", local.parent, false, local.errors));   // Unix Standard shell
  			assertTrue(local.errors.size() == 6);
  			assertFalse(local.validator.isValidDirectoryPath("test9", "/etc/config", local.parent, false, local.errors));
  			assertTrue(local.errors.size() == 7);
  
negative.code: 	
  		// TODO: This test case fails due to an apparent bug in SimpleDateFormat
  		// Note: This seems to be fixed in JDK 6. Will leave it commented out since
  		// we only require JDK 5. -kww
  		local.validator.getValidDate("test", "June 32, 2008", newJava("java.text.DateFormat").getDateInstance(), false, local.errors);
  		// assertEquals( 2, local.errors.size() );
  	}
  	
  	// FIXME: Should probably use SecurityConfigurationWrapper and force
  	//  Validator.AcceptLenientDates to be false.
  	
  	public void function testLenientDate() {
  		newJava("java.lang.System").out.println("testLenientDate");
  		local.acceptLenientDates = instance.ESAPI.securityConfiguration().getLenientDatesAccepted();
  