Skip to main content
1-Visitor
January 17, 2012
Question

Image URLs for graphic references in Arbortext Editor 6.0+DITA

  • January 17, 2012
  • 1 reply
  • 5621 views

Hi,


We are in the process of implementing Arbortext 6.0 with DITA (upgrading from previous version of Arbortext and non-DITA DTDs). We want to use a central image web server to manage our image files and reference them in the DITA topics using URLs (e.g., http://myserver.com/digitalasset/cnt070794.jpg). To do this we tried setting an image element to have href="http://myserver.com/digitalasset/cnt070794.jpg" and scope="external" but this is causing an error during the completeness check:

ERROR: Dita reference "http://myserver.com/digitalasset/cnt070794.jpg"

on image element in "Document1" does not refer to a dita/ditabase document.

This error doesn't happen if I insert the same image URL in a non-DITA document in Arbortext 6.0, so I'm assuming it's part of the enhanced DITA completeness check.

Does anyone know how to get this error to go away? Is there another attribute that we need to set besides scope?

Thanks,

Jessica

    1 reply

    17-Peridot
    January 19, 2012

    Jessica

    It seems to work on my side even without setting the "scope" attribute - check the attached video.

    Do you take same steps as me when trying? What 6.0 build are you using?

    http://communities.ptc.com/videos/2496

    JTrue1-VisitorAuthor
    1-Visitor
    January 19, 2012

    Thank you for responding, Dmitry. I was not able to access your video. I get "The item does not exist. It may have been deleted."

    I just upgraded to Version 6.0 M030, Build R60M030-349, but this did not solve the problem. Which build are you using?

    Here's an example of how I set the image element to use a URL with the scope attribute:

    imageelement.png

    Here are the completeness check errors:

    imageerrormessage.png

    The reason I set the scope attribute was to get rid of a different warning about the local referencing appearing to be an external/peer reference. Setting the scope attribute made that warning go away, but then it gives an error saying the external/peer referencing doesn't exist (the second error in the example above). I'm not too worried about that because that error doesn't appear when I use a URL from a server inside the firewall. It's an odd error, though. Obviously the image exists because it's displayed in the image element in the Edit view.

    Anyway, if you have any thoughts, please let me know.

    Thanks,

    Jessica

    17-Peridot
    January 24, 2012

    Jessica, the video is now available - please, check it. It was captured on 6.0 M030. Are you still getting the error when following the same steps?