XP> Incorrect example in Appendix B.3 of XHTML Print

XP> Incorrect example in Appendix B.3 of XHTML Print

don at lexmark.com don at lexmark.com
Fri Jul 25 08:15:24 EDT 2003


Jun:

The intent of this example was to show how an image can be declared inline
with the other XHTML while the actual data for the image may come later.
Neither of your two alternatives separate the delaration of the image from
the actual data of the image.  If the example provided is incorrect, can
you provide an example that achieves this separation?

**********************************************
 Don Wright                 don at lexmark.com

 Chair,  IEEE SA Standards Board
 Member, IEEE-ISTO Board of Directors
 f.wright at ieee.org / f.wright at computer.org

 Director, Alliances & Standards
 Lexmark International
 740 New Circle Rd
 Lexington, Ky 40550
 859-825-4808 (phone) 603-963-8352 (fax)
**********************************************





Jun Fujisawa <fujisawa.jun at canon.co.jp>@pwg.org on 07/24/2003 11:48:47 PM

Sent by:    owner-xp at pwg.org


To:    www-html-editor at w3.org
cc:    www-html at w3.org, xp at pwg.org, Jon Ferraiolo <jon.ferraiolo at adobe.com>
Subject:    XP> Incorrect example in Appendix B.3 of XHTML Print


Hello HTML editors,

Here is a comment to the last call draft for XHTML Print.

At 6:28 PM +0200 03.7.24, Steven Pemberton wrote:
>XHTMLT-Print
>http://www.w3.org/MarkUp/Group/2003/WD-xhtml-print-20030723

Jon Ferraiolo of SVG WG found out that the example in Appendix
B.3 looks strange since the two instances of 'object' element have
the sample value for 'id' attribute in a single XML document.

<object declare="declare"
     height="20 mm" width="20 mm"
     type="image/jpeg"
     id="image_1" >
</object>

. . . .

<object id="image_1"
     data="data:image/jpeg;base64,aGh67Fghsapa0Hji7dfGSweTa . . . ">
</object>

I believe the example is not correct. Also, I think the choice of this
particular example is not appropriate because we don't need to use
the case for 'object' element with 'declare' attributes in order to
show how we can include inline image data in XHTML-Print by using
data URI scheme.

I would like to suggest to replace this example by simpler ones such
as the following:

<object height="20 mm" width="20 mm" type="image/jpeg"
     data="data:image/jpeg;base64,aGh67Fghsapa0Hji7dfGSweTa . . . ">
     Example Image
</object>

or

<img height="20 mm" width="20 mm" alt="Example Image"
     src="data:image/jpeg;base64,aGh67Fghsapa0Hji7dfGSweTa . . . " />

--
Jun Fujisawa
 <mailto:fujisawa.jun at canon.co.jp>







More information about the Xp mailing list