[PR Comment] Error in section 3.4, type attribute

WebCGM Working Group,

In section 3.4, an example is given on how to use the object element to
include a WebCGM file in a HTML document. The type attribute in the object
tag is written as follows.

type="image/cgm;Version=4;ProfileId=WebCGM";

This is repeated in the example later in the section. I'm not sure about
SGML, but XML only allows spaces, tabs, carriage returns, and linefeeds to
delimit attributes in an element tag. Such a construct is invalid in a XHTML
document.

I'm not sure if the third semicolon is required in the type attribute value
for WebCGM. If it is required, it of course needs to be inside the quotes to
satisfy the XML requirement. I have not had the time to wade through the
appropriate IANA and IETF documents to determine if it is required, but I
suspect that it is not required. After all, one usually writes

<object data="xxx.jpeg" type="image/jpeg" ...

instead of

<object data="xxx.jpeg" type="image/jpeg;" ...

Regards,

Rob Orosz
Senior Software Engineer
Auto-trol Technology
12500 North Washington Street
Denver, CO. 80241-2400
(303) 252-2262
http://www.auto-trol.com

Received on Tuesday, 31 October 2006 21:31:20 UTC