← Prev in month ← Prev in thread

why not use 'data' on <object>?

From
Lofton Henderson <>
Date
2006-04-10T22:46:48+00:00
ID
Thread
why not use 'data' on <object>?
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= 
>'NUBS01.cgm';">
>...
><object id="ivx1" type="image/cgm;Version=4;ProfileId=WebCGM" width="400" 
>height="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.
← Prev in month ← Prev in thread