with lxml 2.3.6, this test can pass.