W3C home > Mailing lists > Public > public-webcgm@w3.org > October 2006

[PR Comment] Error in section 3.4, type attribute

From: Robert Orosz <roboro@auto-trol.com>
Date: Tue, 31 Oct 2006 13:40:27 -0700
Message-ID: <BC0ED9AF75BE394D8256087283FD9887018D31@isa.auto-trol.com>
To: "'public-webcgm@w3.org'" <public-webcgm@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:37:34 GMT