[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: ATTN: implementors especially -- Forrest, Ulrich
Lofton,
the result of my review:
I can't find it right now, however it as confirmed by Benoit that
we made the following decision a while ago:
GetWebCGMDocument will always return the WebCGMMetafile object, i.e.
it will return the object no matter whether a WebCGM is open in the
viewer or not.
The reason for that decision was that thus
- the user has access to the src parameter of the WebCGMMetafile interface
- the user has access to the addEventListener method of this interface
Hence, I suggest to change the wording of 5.7.2 and 5.7.3 as follows:
.
getWebCGMDocument
Returns the WebCGMMetafile object for the referenced WebCGM document. If no WebCGM
document is open in the viewer, the WebCGMMetafile object will still be returned.
5.7.3 Interface WebCGMMetafile
Attributes
metafileDescription of type WebCGMString, readonly
Returns the Metafile Description of the WebCGM document, which is a string consisting of QUOTE-delimited substrings, as defined in the WebCGM PPF. For example: "ProfileId:WebCGM""ProfileEd:2.0""Source:A software vendor""Date:20040602""ColourClass:monochrome". Also as specified by the WebCGM PPF, a valid metafileDescription will always contain the ProfileId: and the ProfileEd:, other information such as Source, ColourClass etc... is optional. If no WebCGM document is open in the viewer, an <a href="#empty-string">empty string</a> is returned.
firstPicture of type WebCGMPicture, readonly
Returns the first WebCGMPicture element of the WebCGM document. Subsequent WebCGMPictures can be accessed using the WebCGMPicture interface. A WebCGM 2.0 document contains exactly one WebCGMPicture. If no WebCGM document is open in the viewer, <a href="#null-return-value">null</a> is returned.
metafileID of type WebCGMString, readonly
Returns the Metafile Identifier, which is the parameter of the BEGIN METAFILE element in the CGM document. If no WebCGM document is open in the viewer, an <a href="#empty-string">empty string</a> is returned.
metafileVersion of type unsigned short, readonly
Returns the Metafile Version of the WebCGM document. If no WebCGM document is open in the viewer, the value zero is returned.
src of type WebCGMString
The URI of the current document. On setting, the new document pointed to by the URI is loaded by the user agent. The user agent must fully parse the fragment identifier (if any) in the URI and execute the indicated behavior. If a URI fragment is present, it must not contain a picture behavior term, following the "Picture behaviors" rule for links to CGM content from non-CGM content. If the CGM resource pointed to by the URI is currently loaded for the object, the user agent shall not reload the CGM (similar to the specification of a same-CGM URI for the _replace behavior on a CGM-to-CGM link<delete>.</delete>) . Upon getting, if no WebCGM document is open in the viewer, an <a href="#empty-string">empty string</a> is returned.
_________________________
Rest is ok.
Respectfully submitted,
Dieter
> -----Original Message-----
> From: Lofton Henderson [mailto:lofton@rockynet.com]
> Sent: Thursday, October 20, 2005 5:09 PM
> To: dieter Weidenbruck; Galt, Stuart A; Forrest Carpenter
> Cc: David Cruikshank
> Subject: for your interface-checking assignment
>
> [1]
> http://www.oasis-open.org/committees/download.php/14983/WebCGM
> 20-DOM-refmt.html
>
> As agreed at today's telecon:
>
> 5.7.1 -- Stuart
> 5.7.2 -- Dieter
> 5.7.3 -- Forrest
>
> I have reformatted the descriptive text following the IDL
> code blocks. Extensive cut/paste. Check the text of [1]
> line-by-line against previous draft [2] (7-oct Editors
> Draft), to ensure that I didn't make mistakes.
>
> Please point out any errors, or tell me "okay".
>
> Thanks,
> -Lofton.
>
> [2]
> http://www.oasis-open.org/committees/download.php/14826/WebCGM
> 20-20051007.zip
>
>
>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]