W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 1999

Possible Tidy 30 Nov 99 bug

From: Terry Teague <teague@mailandnews.com>
Date: Thu, 2 Dec 1999 00:35:45 -0800
Message-Id: <l03130300b46bdec28236@[17.219.108.47]>
To: html-tidy@w3.org
Dear Dave,

While updating my source to the 30 Nov 99 version, I discovered what looks
like a bug :

24 Nov 99 "html.h" :
------------------

/* error codes for element messages */

#define MISSING_ENDTAG_FOR      1
#define MISSING_ENDTAG_BEFORE   2
#define DISCARDING_UNEXPECTED   3
#define NON_MATCHING_ENDTAG     4
#define TAG_NOT_ALLOWED_IN      5
#define MISSING_STARTTAG        6
#define UNEXPECTED_ENDTAG       7
#define USING_BR_INPLACE_OF     8
#define INSERTING_TAG           9
#define SUSPECTED_MISSING_QUOTE 10
#define MISSING_TITLE_ELEMENT   11
#define DUPLICATE_FRAMESET      12
#define CANT_BE_NESTED          13
#define OBSOLETE_ELEMENT        14
#define PROPRIETARY_ELEMENT     15
#define UNKNOWN_ELEMENT         16
#define TRIM_EMPTY_ELEMENT      17
#define COERCE_TO_ENDTAG        18
#define ILLEGAL_NESTING         19
#define NOFRAMES_CONTENT        20
#define CONTENT_AFTER_BODY      21
#define INCONSISTENT_VERSION    22
#define MALFORMED_COMMENT       23
#define BAD_COMMENT_CHARS       24
#define BAD_XML_COMMENT         25
#define BAD_CDATA_CONTENT       26
#define INCONSISTENT_NAMESPACE  27
#define DOCTYPE_AFTER_TAGS      28
#define MALFORMED_DOCTYPE       29
#define UNEXPECTED_END_OF_FILE  30

30 Nov 99 "html.h" :
------------------

/* error codes for element messages */

#define MISSING_ENDTAG_FOR      1
#define MISSING_ENDTAG_BEFORE   2
#define DISCARDING_UNEXPECTED   3
#define NESTED_EMPHASIS         4
#define NON_MATCHING_ENDTAG     5
#define TAG_NOT_ALLOWED_IN      6
#define MISSING_STARTTAG        7
#define UNEXPECTED_ENDTAG       8
#define USING_BR_INPLACE_OF     8
#define INSERTING_TAG           10
#define SUSPECTED_MISSING_QUOTE 11
#define MISSING_TITLE_ELEMENT   12
#define DUPLICATE_FRAMESET      13
#define CANT_BE_NESTED          14
#define OBSOLETE_ELEMENT        15
#define PROPRIETARY_ELEMENT     16
#define UNKNOWN_ELEMENT         17
#define TRIM_EMPTY_ELEMENT      18
#define COERCE_TO_ENDTAG        19
#define ILLEGAL_NESTING         20
#define NOFRAMES_CONTENT        21
#define CONTENT_AFTER_BODY      22
#define INCONSISTENT_VERSION    23
#define MALFORMED_COMMENT       24
#define BAD_COMMENT_CHARS       25
#define BAD_XML_COMMENT         26
#define BAD_CDATA_CONTENT       27
#define INCONSISTENT_NAMESPACE  28
#define DOCTYPE_AFTER_TAGS      29
#define MALFORMED_DOCTYPE       30
#define UNEXPECTED_END_OF_FILE  31


I'm guessing :

#define UNEXPECTED_ENDTAG       8
#define USING_BR_INPLACE_OF     8

should be :

#define UNEXPECTED_ENDTAG       8
#define USING_BR_INPLACE_OF     9

Regards, Terry
Received on Thursday, 2 December 1999 03:42:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:42 GMT