N. Hart | 5 Jan 2004 10:55
Picon
Favicon

Problem accessing DOM using 1.6 ActiveX Mozilla Control

Hi all,

When I access the Webbrowser control in ActiveX and retrieve the
"Document" property, I get a valid OLE automation control. If I then
retrieve the "all" property from the Document, I get an OLE automation
control with no methods/properties.

If I do the same thing in IE I get a list of valid methods such as
"length()", "item(int i)" etc etc

Is this just a problem with the ActiveX bridge in Mozilla?

Any help would be much appreciated!

--
N. Hart
ndhart <at> webmail.co.za
Martin Honnen | 5 Jan 2004 12:42
Picon
Favicon

Re: Problem accessing DOM using 1.6 ActiveX Mozilla Control


N. Hart wrote:

> When I access the Webbrowser control in ActiveX and retrieve the
> "Document" property, I get a valid OLE automation control. If I then
> retrieve the "all" property from the Document, I get an OLE automation
> control with no methods/properties.
> 
> If I do the same thing in IE I get a list of valid methods such as
> "length()", "item(int i)" etc etc
> 
> Is this just a problem with the ActiveX bridge in Mozilla?

I don't know about the Mozilla Active-X control but in general Mozilla 
implements the W3C DOM and that doesn't define an all property for 
document objects.

--

-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/
Martin Honnen | 5 Jan 2004 12:42
Picon
Favicon

Re: Problem accessing DOM using 1.6 ActiveX Mozilla Control


N. Hart wrote:

> When I access the Webbrowser control in ActiveX and retrieve the
> "Document" property, I get a valid OLE automation control. If I then
> retrieve the "all" property from the Document, I get an OLE automation
> control with no methods/properties.
> 
> If I do the same thing in IE I get a list of valid methods such as
> "length()", "item(int i)" etc etc
> 
> Is this just a problem with the ActiveX bridge in Mozilla?

I don't know about the Mozilla Active-X control but in general Mozilla 
implements the W3C DOM and that doesn't define an all property for 
document objects.

--

-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/
N. Hart | 5 Jan 2004 14:10
Picon
Favicon

Re: Problem accessing DOM using 1.6 ActiveX Mozilla Control

On 2004/01/05 01:42, Martin Honnen wrote:
> 
> I don't know about the Mozilla Active-X control but in general Mozilla 
> implements the W3C DOM and that doesn't define an all property for 
> document objects.
> 

Fair enough.

However, it also doesn't have any properties/methods in
the "body" property of "Document" which seems wrong
according to the W3C DOM.

--
N. Hart
ndhart <at> webmail.co.za
Martin Honnen | 6 Jan 2004 13:06
Picon
Favicon

Re: Problem accessing DOM using 1.6 ActiveX Mozilla Control


N. Hart wrote:

> On 2004/01/05 01:42, Martin Honnen wrote:
> 
>>
>> I don't know about the Mozilla Active-X control but in general Mozilla 
>> implements the W3C DOM and that doesn't define an all property for 
>> document objects.
>>

> However, it also doesn't have any properties/methods in
> the "body" property of "Document" which seems wrong
> according to the W3C DOM.

Maybe someone having experience with embedding can answer/explain that, 
as said I don't use the control and only know about the DOM in Mozilla 
when used in a browser and there for HTML documents the document object 
has a body property.

--

-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/
Martin Honnen | 6 Jan 2004 13:06
Picon
Favicon

Re: Problem accessing DOM using 1.6 ActiveX Mozilla Control


N. Hart wrote:

> On 2004/01/05 01:42, Martin Honnen wrote:
> 
>>
>> I don't know about the Mozilla Active-X control but in general Mozilla 
>> implements the W3C DOM and that doesn't define an all property for 
>> document objects.
>>

> However, it also doesn't have any properties/methods in
> the "body" property of "Document" which seems wrong
> according to the W3C DOM.

Maybe someone having experience with embedding can answer/explain that, 
as said I don't use the control and only know about the DOM in Mozilla 
when used in a browser and there for HTML documents the document object 
has a body property.

--

-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/
N. Hart | 5 Jan 2004 14:10
Picon
Favicon

Re: Problem accessing DOM using 1.6 ActiveX Mozilla Control

On 2004/01/05 01:42, Martin Honnen wrote:
> 
> I don't know about the Mozilla Active-X control but in general Mozilla 
> implements the W3C DOM and that doesn't define an all property for 
> document objects.
> 

Fair enough.

However, it also doesn't have any properties/methods in
the "body" property of "Document" which seems wrong
according to the W3C DOM.

--
N. Hart
ndhart <at> webmail.co.za

Gmane