logo       


Re: non-recursion: msg#00145

Subject: Re: non-recursion
"Ilya N. Golubev" <gin@xxxxxxxxx> writes:

> Duplicating my <120a3f5f47e620-gin@xxxxxxxxx> sent on Wed, 10 Sep 2003
> 19:48:56 +0400 since mailer reports that <wget@xxxxxxxxxx> does not
> work.
>
> wget -mLd http://www.hro.org/docs/rlex/uk/index.htm
>
> does not follow `<A HREF="uk1.htm#1">' links contained in the
> resource.

That's because Wget thinks those links are part of a huge comment that
spans the better part of the document.  Unlike most browsers, Wget
implements a (too) strict comment parsing, which breaks pages that use
non-SGML-compliant comments.

As http://www.htmlhelp.com/reference/wilbur/misc/comment.html explains:

    [...] There is also the problem with the "--" sequence. Some
    people have a habit of using things like "<!-------------->" as
    separators in their source. Unfortunately, in most cases, the
    number of "-" characters is not a multiple of four. This means
    that a browser who tries to get it right will actually get it
    wrong here and actually hide the rest of the document.

Currently the only workaround is to alter the source, e.g. by
modifying advance_declaration() in html-parse.c.  A future version of
Wget will probably parse comments in a non-compliant fashion, by
considering everything between <!-- and --> to be a comment, which is
what most other browsers have been doing since the beginnings of the
web.



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe