OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

cgmo-webcgm message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [cgmo-webcgm] why not use 'data' on <object>?

Hi Lofton,

This requires a very small DOM implementation to display the HTML:
 - getWebCGMDocument().src -

 I suspect that non-DOM implementers opened the .cgm file and
 said 'yes we pass' if it looked like the reference image.

 Of course you could use the 'data' attribute for this test. The
 reason 'data' is not there is because everyone copy/pasted my initial
 examples. The reason the interactive tests do not use the 'data'
 attribute is to be able to catch the 'onload' event (i.e., if you use
 'data', by the time you get the 'onload', the CGM is already
 Benoit   mailto:benoit@itedo.com

This e-mail and any attachments are confidential and may be protected
by legal privilege. If you are not the intended recipient, be aware
that any disclosure, copying, distribution or use of this e-mail or
any attachment is prohibited. If you have received this e-mail in
error, please notify us immediately by returning it to the sender and
delete this copy from your system. Thank you for your cooperation. 

Monday, April 10, 2006, 6:49:52 PM, you wrote:

> All (esp. implementers) --

> I just noticed that everyone passes NUBS01 test, even those without a DOM
> implementation.  This is curious, as the CGM is loaded thusly in the HTML
> harness:

>><body onload="document.getElementById('ivx1').getWebCGMDocument().src= 
>><object id="ivx1" type="image/cgm;Version=4;ProfileId=WebCGM" width="400" 

> Am I missing something, or does this require a DOM implementation to load
> the CGM?  Of course, the non-DOM implementations that have "pass" could
> mean that they view the same as the reference picture, when viewing the
> HTML standalone.

> But my real question is:  why not just use the 'data' attribute on the
> <object> element (per section 3.4 of WebCGM)?  Do all implementers handle
> it properly?

> -Lofton.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]