XP Mail Archive: Re: XP> Incorrect example in Appendix B.3 o

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

From: don@lexmark.com
Date: Fri Jul 25 2003 - 08:15:24 EDT

  • Next message: Jun Fujisawa: "Re: XP> Incorrect example in Appendix B.3 of XHTML Print"

    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@lexmark.com

     Chair, IEEE SA Standards Board
     Member, IEEE-ISTO Board of Directors
     f.wright@ieee.org / f.wright@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@canon.co.jp>@pwg.org on 07/24/2003 11:48:47 PM

    Sent by: owner-xp@pwg.org

    To: www-html-editor@w3.org
    cc: www-html@w3.org, xp@pwg.org, Jon Ferraiolo <jon.ferraiolo@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@canon.co.jp>
    



    This archive was generated by hypermail 2b29 : Fri Jul 25 2003 - 10:42:44 EDT