- From: Gerald Oskoboiny <gerald@w3.org>
- Date: Sat, 21 Oct 2000 04:01:44 -0400
- To: Terje Bless <link@tss.no>
- Cc: W3C Validator <www-validator@w3.org>
On Tue, Oct 03, 2000 at 05:12:31AM +0200, Terje Bless wrote: > Here is a patch for the bug that made the validator choke on explicitly > labeled XML. The patch isn't tested, but I've been running the code in > my development branch for while (and it's pretty trivial) so there > shouldn't be any problems. > -} elsif ($guessed_doctype == 2) { # no doctype, with xmlns attr on 1st element > - $File->{Type} = 'xml'; # @@ probably a better way to do this > +} elsif ($File->{Type} eq 'xml' or $guessed_doctype == 2) { > + # no doctype, with xmlns attr on 1st element > + $File->{Type} = 'xml'; # @@ probably a better way to do this Thanks! Applied. -- Gerald Oskoboiny <gerald@w3.org> +1 613 261 6630 System Administrator http://www.w3.org/People/Gerald/ World Wide Web Consortium (W3C) http://www.w3.org/
Received on Saturday, 21 October 2000 04:01:51 UTC