Context root links display validation errors
Oxygen general issues.
-
- Posts: 70
- Joined: Thu Mar 21, 2013 12:55 am
Context root links display validation errors
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
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Context root links display validation errors
Hi Paul,
When you press the Validate and check for completeness toolbar button the dialog which shows up has a checkbox called Check the existence of non-DITA referenced resources. You can uncheck that to remove the errors. But this will also avoid checking image references.
Maybe another approach for you would be to save the received errors (right click in the results panel and Save Results as XML) then apply an XSLT stylesheet which removes a part of them, all errors which have this text file:/documentation in the Description field for example.
Regards,
Radu
When you press the Validate and check for completeness toolbar button the dialog which shows up has a checkbox called Check the existence of non-DITA referenced resources. You can uncheck that to remove the errors. But this will also avoid checking image references.
Maybe another approach for you would be to save the received errors (right click in the results panel and Save Results as XML) then apply an XSLT stylesheet which removes a part of them, all errors which have this text file:/documentation in the Description field for example.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service