XML rendering [IRC Channel]

Zack Rusin zack at kde.org
Sat Jun 5 20:45:56 CEST 2004


On Saturday 05 June 2004 13:52, Dave Hyatt wrote:
> Seems like you should push this fix down behind setAttributeNS,
> right? You want to make sure that function does the right thing for
> HTML elements when the URI is the XHTML namespace...

Essentially, that would be ideal, but it won't work because Qt SAX 
parser feeds us XML attributes with an empty namespace if they're not 
explictely prefixed. I'll hack around that.

I think you forgot to attach the fix :) (see, if you'd be using KMail it 
would let you know ;) ). I think I know what you're talking about 
though and the patch is rather big since it involves xml_tokenizer, 
dom_docimpl and quite a few files in between. I like the attrid and 
tagid but I want to use IdNameMapping instead of pure array searches 
there (since you have the fixme in the header you probably do as well).
Thanks :)

Zack

-- 
Earth First - We'll strip mine the other planets later.


More information about the Khtml-devel mailing list