From: Ahmed A. <asa...@ya...> - 2008-04-23 08:25:17
|
Dear Rodney, Please be specific, XmlElement or XMLElement (one in .html, other in .host packages). public class XmlElement extends DomNamespaceNode implements Element { Regarding XMLElement, Firefox doesn't have XMLElement, but it is exact to 'Element', which should be subclassed by HTMLElement. I wanted to make this change, but didn't find much complain from anyone so far. Yours, Ahmed ---- Blog: http://asashour.blogspot.com ----- Original Message ---- From: Rodney Gitzel <ro...@dr...> To: htm...@li... Sent: Wednesday, April 23, 2008 4:18:56 AM Subject: Re: [Htmlunit-user] When XmlElement.hasAttribute() is called, what should happen? Hey Marc, I think I can tackle that, but one weird thing: XmlElement currently extends Node instead of Element. HtmlElement extends the latter. I changed XmlElement to extend Element and so far so good. Do you foresee any problems? Also, I tried moving of the jsx_ methods to "Element" and ended up with exceptions because the corresponding definition wasn't in the XML. Is it appropriate to move the XML to "Element" to be shared, or would you see a problem with that. rodney ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |