Gerald Pfeifer wrote:
On Thu, 7 Apr 2005, Kaveh R. Ghazi wrote:

Not necessary.  If people would simply follow the directions here:
<http://gcc.gnu.org/install/specific.html#*-*-solaris2*> by setting

Also, when I click on the link above, it doesn't follow down the page to the anchor. I'm not sure why that is. Gerald?


Just a few days ago I learned that this is a "feature" in current
versions of texinfo: apparently XHTML disallows characters like "*"
at the beginning of an anchor, so makeinfo now prepends some magic
string.

If "*-*-solaris2*" should appear as/in the "name" attribute of an <a>, prepending a name start character is not enough, because this attribute is of type NMTOKEN. Therefore it cannot contain * at all.

If international character sets in XHTML are o.K., maybe there are
some letter sets to choose from. Here is a sample.

<?xml version='1.0'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html>
<head>
<title>No * in NMTOKEN</title>
</head>

<body>

<h2>going to</h2>

<p><a href="#bar-Ã-Ã-foo-Ã">bar</a></p>
<p><a href="#bar-Î-Î-foo-Î">bar</a></p>
<p><a href="#bar-Ï-Ï-foo-Ï">bar</a></p>
<p><a href="#bar-Ï-Ï-foo-Ï">bar</a></p>

<h2>gone to</h2>

<!-- p><a name="*foo">foo</a></p -->
<p><a name="bar-Ã-Ã-foo-Ã">bar-Ã</a></p>
<p><a name="bar-Î-Î-foo-Î">bar-Î</a></p>
<p><a name="bar-Ï-Ï-foo-Ï">bar-Ï</a></p>
<p><a name="bar-Ï-Ï-foo-Ï">bar-Ï</a></p>

</body>
</html>


-- Georg



Reply via email to