@jace 
```python
>>> s = '<a href="http://example.com">This <b>is</b> an <b>example<b/> link.</a>'
>>> html_tree = html.fromstring(s)
>>> for atag in html_tree.xpath("//a"):
...   print atag.text_content()
... 
This is an example link.
>>>
```
So, if there validation error occurs it will show:
The URL http://example.com linked from This is an example link is not valid. It's extracting all the text from a tag.