Re: libxml errors: non-fatal?



On Fri, Jul 16, 1999 at 09:43:51AM -0700, Nathan Clegg wrote:
> make check in libxml-1.4.0 produces the following errors.  Are these
> normal or a problem?

 Hi Nathan,

> 
> test/HTML/fp40.htm:1: error: Space required after the Public Identifier
> <!doctype html public "-//IETF//DTD HTML//EN">
>                                              ^
> test/HTML/fp40.htm:1: error: SystemLiteral " or ' expected
> <!doctype html public "-//IETF//DTD HTML//EN">
>                                              ^
> test/HTML/fp40.htm:1: error: htmlParseExternalID: PUBLIC, no URI
> <!doctype html public "-//IETF//DTD HTML//EN">
>                                              ^

  That's a bug in the HTML parser I need to fix

> test/HTML/fp40.htm:153: error: htmlParseEntityRef: no name
> technical articles from Microsoft's extensive Knowledge Base, FAQs, &
> troublesh
>                                                                      ^
> result.fp40.htm:1: error: Space required after the Public Identifier

  That's an error in the HTML input the & should have been encoded 
as &amp;   common mistake

> test/HTML/test3.html:6: error: htmlParseEndTag: unexpected close for tag P
> </a><p><hr></p>
>               ^
> test/HTML/test3.html:13: error: htmlParseEndTag: unexpected close for tag P
> <p><hr></p>
>           ^

  Bug in the HTML, the HR tag implicitely coses the P

> test/HTML/test3.html:27: error: Opening and ending tag mismatch: H4 and B
> <h4><b>Links</h4></b>
>                  ^
> test/HTML/test3.html:27: error: Opening and ending tag mismatch: B and H4
> <h4><b>Links</h4></b>
>                     ^

  Bug in the HTML, the tags are not closed in the proper order.

> Cannot read file example.dtd :
> gzopen failed: No such file or directory

  Messages I need to remove from the output,


  so basically it's a mix of errors in the HTML input, and bugs needing fixes
in the HTML parser.

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel: +33 476 615 257  | 655, avenue de l'Europe | Linux, WWW, rpmfind,
Fax: +33 476 615 207  | 38330 Montbonnot FRANCE | rpm2html, XML,
http://www.w3.org/People/W3Cpeople.html#Veillard | badminton, and Kaffe.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]