2009/7/22 <[email protected]>: > Hi Mike, > > To fix this bug: > > http://code.google.com/p/google-caja/issues/detail?id=1073 > > We will need to tame the responseXML tree coming back from XHR > objects. There are a variety of approaches, but for full fidelity, > where the tamed nodes contain the expected behaviors > (getElementById(), etc.) and are "instanceof" the correct thing, we > would have to refactor the Domita class hierarchy (e.g., to make > PseudoNode and BackedNode mixins -- so that we can have an > HTMLDocument PseudoNode and an XMLDocument BackedNode, both of which > are instanceof Document). > > Does this seem like the right approach?
Not without being very careful. I think there's a lot about XML/js bindings that I don't understand. > Ihab > > -- > Ihab A.B. Awad, Palo Alto, CA >
