Categories
JavaScript

Opera 8.x XML/DOM appendChild problem

Found a problem with Opera’s XML/DOM support. Seems that they don’t support appendChild() if the document is created with an “” (empty) QualifiedName.

document.implementation.createDocument("","",null);

This only seems to be a problem if you try to append to such a document. Opera 8.x (and prior?) requires you to create the document with a QualifiedName like:

document.implementation.createDocument("","foo",null);

This way appendChild will work as expected. Of course this works fine in Firefox and IE. It also apprears to be fixed in the upcoming 9.0 release of Opera.

Kevin Henrikson
Kevin Henrikson is a seasoned technology executive and entrepreneur with deep expertise in building productivity tools and scaling engineering teams. After serving as Vice President of Engineering at Instacart, where he led the Shopper & Fulfillment Engineering organization, he became the founder and CEO of Dust Labs. Prior to Instacart, Kevin co-founded Acompli, which was acquired by Microsoft; there, he led engineering for Outlook on iOS, Android, and Mac. Earlier in his career, he played key roles at Zimbra, contributing to its acquisition by Yahoo! for $350 million. Kevin is also the co-founder and former CTO of Alpha Brand Media, a digital media publishing company. As an angel investor, he supports entrepreneurs working on disruptive solutions in mobile, crypto, enterprise SaaS, and consumer internet sectors.
Kevin Henrikson
Kevin Henrikson

Latest posts by Kevin Henrikson (see all)

By Kevin Henrikson

Kevin Henrikson is a seasoned technology executive and entrepreneur with deep expertise in building productivity tools and scaling engineering teams. After serving as Vice President of Engineering at Instacart, where he led the Shopper & Fulfillment Engineering organization, he became the founder and CEO of Dust Labs. Prior to Instacart, Kevin co-founded Acompli, which was acquired by Microsoft; there, he led engineering for Outlook on iOS, Android, and Mac. Earlier in his career, he played key roles at Zimbra, contributing to its acquisition by Yahoo! for $350 million. Kevin is also the co-founder and former CTO of Alpha Brand Media, a digital media publishing company. As an angel investor, he supports entrepreneurs working on disruptive solutions in mobile, crypto, enterprise SaaS, and consumer internet sectors.