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 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 1 October 2009 14:48:40 GMT