duplicated attributes

"Achim Domma (Procoders)" <[email protected]>
Newsgroups gmane.comp.web.html-tidy.devel
Message-ID <[email protected]>
Hi,

I have a problem with invalid XML due to duplicated attributes. 
Following the discussions in the mailinglist, I thought that this 
problem has been solved some times ago, but I still get invalid xml.

I downloaded the tidy sources and looked at the code. It seems to me, 
that duplicate attributes are eleminated only if they follow each other. 
Something like

<input type='text' type='radio' size='3'>

would be fixed, but something like

<input type='text' size='3' type='radio'>

would not. Is there a reason not to fix the second version? Would a 
patch have a chance to make it in the official sources? Or am I missing 
something?

regards,
Achim



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.