Publishing fails with error: “Expected scheme-specific part at index 5: http:”

Last Updated : Nov 07, 2023 |
Prolog information

Condition

When the output you published fails, review the DITA-OT log. You might see the following error:
[filter] Processing file:/D:/InfoShare/Data/Publish/Data/<outputid>/work/<version>/<lang>/<GUID.xml
 to file:/D:/InfoShare/Data/Publish/Data/<outputid>/work/temp/<GUID>.xml
Error: java.lang.RuntimeException: Expected scheme-specific part at index 5: http:

Solution

  1. In Tridion Docs web interface, search for the topic using the GUID.
  2. Look for the <xref> element that has a URL issue.
  3. Do one of the following:
    1. Ensure that the URL added in the href attribute in the xref element is valid.
    2. To provide a format or an example of URL and not the actual URL, use the cite element instead of xref.
      • <cite>http://username:password@...</cite>
      • <cite>http://localhost:nnnn</cite>
      • <cite>http://IDP_IP</cite>