Re: Tidy Aug 4 2000 version with strange output

Hello Dave,

I found another example of Tidy setting an inappropriate XHTML TRANSITIONAL 
doctype:

"A Reformulation of HTML 4 in XML 1.0" [http://www.w3.org/TR/html/] is a 
valid XHTML 1.0 Strict document 
[http://validator.w3.org/check?uri=http%3A%2F%2Fwww.w3.org%2FTR%2Fhtml%2F], 
but Tidy incorrectly recognizes it as Transitional and changes the doctype 
accordingly:

>Tidy (vers 4th August 2000) Parsing console input (stdin)
>
>stdin: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN"
>stdin: Document content looks like XHTML 1.0 Transitional
>no warnings or errors were found


sebastian




At 18:02 01.09.2000 +0200, Sebastian Lange wrote:
>One quick example, before I go home:
>
><html>
>    <head>
>      <title>frameset</title>
>    </head>
>    <frameset>
>      <frame src="test.html">
>    </frameset>
></html>
>
> >Tidy (vers 4th August 2000) Parsing console input (stdin)
> >
> >stdin: Document content looks like HTML 4.01 Frameset
>
>... but Tidy sets DOCTYPE "-//W3C//DTD XHTML 1.0 Transitional//EN".
>
>For more examples I'll have to do a litte resarch, that'll have to wait
>till next week though.
>
>Have a nice weekend!
>
>
>Sebastian
>
>At 15:15 01.09.2000 +0100, Dave Raggett wrote:
> >On Thu, 24 Aug 2000, Sebastian Lange wrote:
> >
> > > I can confirm this, Tidy seems to ALWAYS set XHTML 1.0
> > > Transitional for output-xhtml: yes, even when it correctly
> > > recognized HTML 4.01 Strict or HTML 4.01 Frameset before...
> >
> >I have just checked and found that
> >
> ><test.htm>link
> >
> >is mapped to XHTML 1.0 strict while
> >
> ><test.htm>link
> >is mapped to XHTML 1.0 transitional, which is correct.
> >
> >Do you have any simple test cases where Tidy is doing the
> >wrong thing on this?
> >
> >Regards,
> >
> >-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
> >tel/fax: +44 122 578 3011 (or 2521) +44 778 532 0444 (mobile)
> >World Wide Web Consortium (on assignment from HP Labs)
>
>--
>Sebastian Lange
>http://www.sl-chat.de/
>Maybe the first chat site that validates as HTML
>4.0 even though user input may contain HTML codes.
>
>Courtesy to Dave Raggett's HTML Tidy:
>http://www.w3.org/People/Raggett/tidy/
>
>Tidy your documents ONLINE:
>http://www.sl-chat.de/Tidy/

Received on Monday, 4 September 2000 09:02:18 UTC