W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2001

Re: Bug reports (fao Dave Raggett)

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 15 Apr 2001 05:39:27 +0200
To: "Main identity" <gr@3bearz.freeserve.co.uk>
Cc: <html-tidy@w3.org>
Message-ID: <no5idtkol643284o9i4n3ru119lbqe1lij@4ax.com>
* Main identity wrote:
>1. When I edit the XHTML file in Notepad or Wordpad (saving as text of
>course) and save it again, all the line ends are lost. Refreshing the
>display in IE then results in an error dialogue saying "error in line 1,
>character 1, object expected". I tried this many times and even if I make no
>editing changes in Notepad or Wordpad, but just save the file, the same
>problem always occurs.

I cannot see where HTML Tidy is the problem here.

>2. My second problem is a consequence of my HTML writing style. Throughout
>my site I have used thousands of anchor names for indexing purposes like
>    <A NAME="xyz"><H2>Section heading</H2></A>
>Tidy (and presumably the XHTML specification too) doesn't like this. It
>   <H2><A NAME="xyz">Section heading</A></H2>
>which is probably not unreasonable. What IS unreasonable, however, is that
>it completely omits the anchors from the XHTML output instead of changing
>the nesting order, and there doesn't seem to be any way of changing that
>behaviour in the configuration of Tidy.

This is a bug. I think this was processed correctly in former versions.


% tidy

Tidy (vers 4th August 2000) Parsing console input (stdin)
<A NAME="xyz"><H2>Section heading</H2></A>
line 1 column 1 - Warning: inserting missing 'title' element
line 1 column 15 - Warning: missing </a> before <h2>
line 1 column 39 - Warning: discarding unexpected </a>

stdin: Document content looks like HTML 3.2
3 warnings/errors were found!

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<meta name="generator" content="HTML Tidy, see www.w3.org">
<h2>Section heading</h2>
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Saturday, 14 April 2001 23:38:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:49 UTC