View Single Post
Old 01-13-2009, 09:05 AM   #4
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by georg3200 View Post
here is the link
<a class="link" href="ch01.html#123456">4</a>

and it points to this target (within the same file ch01.html):
<p><a id="123456"/><span class="token">1</span>Das Telemediengesetz... </p>
If your fragment identifier actually is "123456" or otherwise begins with a number, there's your problem. The letter of the XHTML spec requires that the values of 'id' attributes match the pattern [A-Za-z][A-Za-z0-9:_.-]*, and thus must begin with an ASCII alphabetic character. Other renderers are a bit more flexible, but in my quick test ADE actually does seem to care (example attached).
Attached Files
File Type: epub example.epub (2.8 KB, 546 views)
llasram is offline   Reply With Quote