RE: [xep-support] Behaviour of 'rx:meta-field name="keywords"'

From: DESEYNE Jacques (
Date: Fri Sep 10 2004 - 01:35:25 PDT

  • Next message: DESEYNE Jacques: "[xep-support] Cell borders appear with slightly variable width in Acrobat"


    RenderX cuts off string values specified for the 'keywords' meta-field at 255 characters. I guess it happens for the other
    meta-fields as well and quite appropriate IMO, as the PDF Spec 1.3 (Appendix H3, Implementation Notes) specifies in Note 94 "Acrobat
    viewers impose a limit of 255 bytes on any string appearing as a value in the document information dictionary".

    Although Acrobat 6.0 allows you to edit the value (making it, say, 1000 characters long will activate the scroll bar), when you save
    and re-open the PDF the 'keywords' value will be cut off again at 255 characters.

    As far as I read the PDF spec correctly (Table 8.2 in PDF 1.3), there is only one 'Keywords' entry.

    These specifications can be found at

    Best regards,

    Jacques Deseyne
    >-----Original Message-----
    >[] On Behalf Of Paul A. Hoadley
    >Sent: Friday, September 10, 2004 8:13 AM
    >Subject: [xep-support] Behaviour of 'rx:meta-field name="keywords"'
    >I have a (DocBook) document which contains quite a few 'keyword'
    >elements.  The current DocBook XSL stylesheets collect the text values
    >in these elements, and insert them as a comma-separated list into an
    >'rx:meta-field name="keywords"' element.  No surprises so far.
    >In this particular document, there are about twenty keywords.  When I
    >open the "Document Properties" window on the PDF using Acrobat 6.0.2,
    >I get a comma-separated list in the "Keywords" text area, but the list
    >is truncated and trails off with "...".  There is a scroll bar on the
    >right hand side of the text area, but it is not active---this last
    >observation makes me wonder whether XEP is inserting a giant
    >comma-separated list into a single PDF "keyword" field, when, in fact,
    >it should be inserting each keyword into separate fields.  I do not
    >know whether this is the case, though---I just don't know enough about
    >the PDF format itself.
    >If the PDF format does allow this, it would seem appropriate to allow
    >multiple 'rx:meta-field name="keywords"' elements, and have each
    >provide a single keyword for the PDF.  (Currently, XEP seems to ignore
    >all but the last.)  The DocBook XSL stylesheets would need about two
    >lines of code altered to conform to this behaviour.  If the PDF format
    >_doesn't_ allow for this, I wonder why that text field has a scroll
    >bar.  :-)

    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service

    This archive was generated by hypermail 2.1.5 : Fri Sep 10 2004 - 01:52:28 PDT