[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: XHTML
From:       Waldo Bastian <bastian () suse ! de>
Date:       1999-08-09 7:15:00
[Download RAW message or body]

On Fri, 06 Aug 1999, Bernhard Rosenkraenzer wrote:
> Just noticed KFM (KDE_1_1_BRANCH as of 1999/08/06) misinterprets the XHTML
> (==HTML 5.0) beginning tag "<?xml version="1.0"?>" as a line of content.
> 
> Are there any reasons not to fix it?
> 
> LLaP
> bero

Please try the following patch.

Cheers,
Waldo

Index: khtmlw/htmltoken.cpp
===================================================================
RCS file: /home/kde/kdelibs/khtmlw/Attic/htmltoken.cpp,v
retrieving revision 1.47.4.3
diff -u -r1.47.4.3 htmltoken.cpp
--- htmltoken.cpp	1999/04/07 07:22:24	1.47.4.3
+++ htmltoken.cpp	1999/08/09 07:08:39
@@ -539,6 +539,10 @@
 	    {
 	       // <!-- comment -->
 	    }
+	    else if ( *src == '?')
+	    {
+	       // <? meta stuff ?>
+	    }
 	    else
 	    {
 	       // Invalid tag

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic