Context root links display validation errors
Posted: Thu Jan 16, 2014 9:47 pm
To link between documents residing in different ditamaps, we are using URL formats like this:
instead of an absolute URL:
This allows us to test the documents on a staging server before publishing; the generated links work great.
The problem is that when you validate a ditamap, you get errors:
Is there some way to avoid displaying these kinds of errors? It interferes with catching actual problems.
Thanks,
Paul
Code: Select all
<xref href="/documentation/upgrade/doc/upgrade/ds/upgrdVerSpecif.html"
format="html" scope="external">Version specific upgrade instructions</xref>
Code: Select all
<xref href="[b]http://www.ds.com[/b]/documentation/upgrade/doc/upgrade/ds/upgrdVerSpecif.html"
format="html" scope="external">Version specific upgrade instructions</xref>
The problem is that when you validate a ditamap, you get errors:
Code: Select all
No profile (100 items):
System ID: /Users/pt/work/documentation_dita/ds/RNdse32/RNdse32.dita
Engine name: oXygen
Severity: warning
Description: Reference "file:/documentation/upgrade/doc/upgrade/ds/upgrdVerSpecif.html" does not exist.
Type: Reference
Start location: 212:20
End location: 212:96
Length: 76
...
Thanks,
Paul