View Single Post
Old 01-15-2010, 06:29 PM   #1
paulpeer
Zealot
paulpeer is on a distinguished road
 
paulpeer's Avatar
 
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
The id/nam issue

Sigil (or Tidy) will change <a href="#note01" id="to_note01"> to <a href="#note01" id="to_note01" name="to_note01">. However, when parsing such a file in Validator (http://threepress.org/document/epub-validate/), you get the message:
ERROR: attribute "name" not allowed at this point.

The developers of Tidy are aware of this bug (see issue 226), but I wonder what we can do in the mean time. I can delete all the wrong attributes in a few minutes using wildcards, but when I save the file and open it again, all the wrong name-attributes are there again.

Does anyone have a good trick? Or do you just leave the name attributes?
paulpeer is offline   Reply With Quote