[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [cgmo-webcgm] why not use 'data' on <object>?
Just a quick observation, <param name="src"/> is not allowed in WebCGM 1.0/2.0, (I can't find it in the specs). It looks like a proprietary feature and should not be used in the test suite. -- Benoit mailto:firstname.lastname@example.org 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. Tuesday, April 11, 2006, 9:46:29 AM, you wrote: > Lofton, > > 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. > Good observation. We had to implement the basic getWebCGMDocument() > interface before we could use the HTML on the Statics to load the CGM. > > 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? > We don't support the 'da'ta' attribute. > Or you can use the <OBJECT .... params="src" value="NUBS01.cgm"> > to load the CGM in a non-DOM viewer. > > -Lofton.