[xep-support] Extra blank lines in linefeed-treatment="preserve" environment

From: Jirka Kosek (jirka@kosek.cz)
Date: Sat Feb 28 2004 - 15:35:54 PST

  • Next message: Jirka Kosek: "[xep-support] Tip for a new feature"

    Hi,

    I'm using XEP 3.6.2 to render documents containing:

    <fo:block wrap-option="no-wrap" white-space-collapse="false"
    white-space-treatment="preserve"
    linefeed-treatment="preserve">&lt;html&gt;&#xD;
    &lt;head&gt;&#xD;
    &lt;title&gt;Str?nka s obr?zkem&lt;/title&gt;&#xD;
    ....

    Please note entity reference &#xD; at the end of each line. I agree that
    this is quite uncommon, but software which I use to produce FO do it
    this way. Line endings in my FO file are Unix ones (<LF>). I thought
    that &#xD; followed by <LF> will be treated as <CR> <LF> and thus
    normalized to single <LF> at the XML parsing time. But XEP inserts blank
    line between lines in my listing. That leads me to the conclusion that
    both &#xD; and <LF> are treated as newlines, not as just one newline.

    Is this a bug in XEP which I hitted or did I misunderstood XML entity
    and newline handling machinery?

    Thanks,

                                            Jirka

    -- 
    -----------------------------------------------------------------
       Jirka Kosek  	
       e-mail: jirka@kosek.cz
       http://www.kosek.cz
    
    

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html




    This archive was generated by hypermail 2.1.5 : Sat Feb 28 2004 - 15:43:34 PST