XP Mail Archive: XP> Incorrect example in Appendix B.3 of XH

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

From: Jun Fujisawa (fujisawa.jun@canon.co.jp)
Date: Thu Jul 24 2003 - 23:48:47 EDT

  • Next message: don@lexmark.com: "Re: 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@canon.co.jp>
    



    This archive was generated by hypermail 2b29 : Thu Jul 24 2003 - 23:50:55 EDT