On Wed, 4 Jul 2001, Jacob Burckhardt wrote:
+ <! ------------------------------------------------------ >
+ <A HREF="a.html">a</a>
+ <! ------------------------------------------------------ >
+ <A HREF="b.html">b</a>
+
+ It downloads b.html, but it does not download a.html.
It does this quite correctly as the reference to a.html is commented out!
'<!' is an SGML prefix, thereafter '--' starts a comment and the next '--'
closes the comment (with a finel '>' to satify the SGML syntax ...
If I counted correctly there are 27 occurences of '--' in each of your
pseudo comment lines which means that a correct parser will treat the
whole of the first three lines as a comment.
+ <! ------------------------------------------------------ >
+ <A HREF="a.html">a</a>
I suspect that works because of wget's error recovery action at the end of
your file. I also suspect the problem will go away if you give wget
genuine HTML!
regards,
Malcolm.
[EMAIL PROTECTED] http://users.ox.ac.uk/~malcolm/