RE: [xep-support] Adobe SVG

From: James Drayton (James.Drayton@Solipsys.com)
Date: Mon Jun 21 2004 - 12:08:02 PDT

  • Next message: Chris Bowditch: "[xep-support] border conditionality"

    Nikolai,

    Thank you. I am sorry to have missed this obvious error. One more
    question:

    I have attached a SVG that when viewed by itself in Internet Explorer or in
    a PDF created with FOP maintains a white background. However, in a PDF
    created with XEP the background is black. Why does this happen?

    ...Thank you once again for your time and consideration...

    Regards,

    James

    -----Original Message-----
    From: owner-xep-support@renderx.com [mailto:owner-xep-support@renderx.com]
    On Behalf Of Nikolai Grigoriev
    Sent: Monday, June 21, 2004 1:33 PM
    To: xep-support@renderx.com
    Subject: Re: [xep-support] Adobe SVG

    James,

    > I can do following and not receive an error:
    > ...
    > <arg line="-DROOT=${XEP_HOME} -Dcom.renderx.sax.entityresolver=foo

    You are specifying these classes as arguments to XSLDriver class,
    whereas they should be arguments _to the Java machine itself_.
    In Ant, system variables for a forked Java call are set using <jvmarg>:

    <java classname="com.renderx.xep.XSLDriver" ...>
    <arg line="...."/>
    <jvmarg
    value="-Dcom.renderx.sax.entityresolver=com.sun.resolver.tools.CatalogResolv
    er"/>
    <jvmarg
    value="-Dcom.renderx.jaxp.uriresolver=com.sun.resolver.tools.CatalogResolver
    "/>
    </java>

    Regards,
    Nikolai

    ----- Original Message -----
    From: "James Drayton" <James.Drayton@Solipsys.com>
    To: <xep-support@renderx.com>
    Sent: Monday, June 21, 2004 8:26 PM
    Subject: RE: [xep-support] Adobe SVG

    Nikolai,

    It appears that the following:

    java
       -Dcom.renderx.sax.entityresolver=.sun.resolver.tools.CatalogResolver
       -Dcom.renderx.jaxp.uriresolver=com.sun.resolver.tools.CatalogResolver

    I can do following and not receive an error:

    <propertycopy name="PDF_DOC" from="${docType}_PDF" />
      <echo message="Building ${docType} PDF Document with XEP..." />
        <java classname="com.renderx.xep.XSLDriver"
              classpathref="docbook.classpath"
              fork="true"
              dir="."
              maxmemory="${MAX_MEMORY}"
              failonerror="true"
    >
        <arg line="-DROOT=${XEP_HOME} -Dcom.renderx.sax.entityresolver=foo
    -Dcom.renderx.jaxp.uriresolver=foo
    -fo ${DOC_TMP_DIR}/.tmp${docType}.PDF.fo -pdf ${PDF_DOC}" />
        </java>

    -------------------
    (*) 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

    -------------------
    (*) 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 : Mon Jun 21 2004 - 12:22:25 PDT