<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title>invalid name to id</title>
</head>
<body>
  <p><a name="a b">a</a></p>
</body>
</html>