Re: [xep-support] Adobe SVG

From: Nikolai Grigoriev (
Date: Mon Jun 21 2004 - 02:19:07 PDT

  • Next message: Jez Brewster: "[xep-support] Newspaper Layout Column Separator"


    > I am creating PDF's off-line and am unable to render Adobe SVGs.
    > I assume it is because of the entities they define:
    > <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
    > "" [

    You probably mean that you are unable to render these SVGs on
    a computer that has no Internet access. This may happen because
    of the DTD reference: by the XML spec, the XML parser has
    to access the DTD in order to resolve entities.

    If you are using XEP for Java, then the most straightforward method
    of resolving the issue consist in leveraging XML catalogs. You
    can read about it in XEP User Guide:

    Alternatively, you could simply postprocess the resulting SVG, e.g.
    by applying an XSLT identity transformation to them. This would
    remove all remote DTD references, and resolve all entities.
    Please note that you will need to add catalog support to the XSLT
    processor if you want this process to be performed without network
    access; this is processor-dependent, so please refer to the
    documentation of your XSLT processor.
    > <!ENTITY ns_flows "">
    > <!ENTITY ns_extend "">
    > <!ENTITY ns_ai "">
    > <!ENTITY ns_graphs "">
    > <!ENTITY ns_vars "">
    > <!ENTITY ns_imrep "">
    > <!ENTITY ns_sfw "">
    > <!ENTITY ns_custom "">
    > <!ENTITY ns_adobe_xpath "">
    > <!ENTITY ns_svg "">
    > <!ENTITY ns_xlink "">

    The rest of your entities are just namespace URIs. They never
    get resolved, and should not pose any problem.

    Best regards,

    Nikolai Grigoriev
    (*) 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 : Mon Jun 21 2004 - 02:33:39 PDT