Validating a ditamap produces bogus errors
Posted: Fri Sep 07, 2012 9:54 pm
Hello
Using oXygen Author 12.2 on Windows Vista SP2.
I have a ditamap that references a bunch of dita XML files in folders at the next level down. My file structure is:
So the relative paths for referenced images in my topic files are in the form href="../../images/maint/myImage.png"
I open the map in the DITA Maps Manager and run the Validate and Check for Completeness routine, with the "Check the existence of non-DITA reference sources" option selected. The results tell me that 23 images referenced in my topic files don't exist.
The paths shown in the results panel are wrong. Author seems to have looked only one level up instead of two. For example, the results panel shows that Author is looking for:
href="../images/maint/myImage.png, and tells me the image doesn't exist.
There is nothing wrong with the ditamap as far as I can tell. If I open one of the topic files in Author, it displays the image without any issues. If I replace an image in the topic file, the resulting XML is exactly the same as before. Nevertheless, if I validate the map afterwards it still lists the image as missing.
Any ideas?
Roger Shuttleworth
London, Canada
Using oXygen Author 12.2 on Windows Vista SP2.
I have a ditamap that references a bunch of dita XML files in folders at the next level down. My file structure is:
Code: Select all
maps (contains the map)
images
maint (contains the image)
concepts
maint (contains the topic file)
I open the map in the DITA Maps Manager and run the Validate and Check for Completeness routine, with the "Check the existence of non-DITA reference sources" option selected. The results tell me that 23 images referenced in my topic files don't exist.
The paths shown in the results panel are wrong. Author seems to have looked only one level up instead of two. For example, the results panel shows that Author is looking for:
href="../images/maint/myImage.png, and tells me the image doesn't exist.
There is nothing wrong with the ditamap as far as I can tell. If I open one of the topic files in Author, it displays the image without any issues. If I replace an image in the topic file, the resulting XML is exactly the same as before. Nevertheless, if I validate the map afterwards it still lists the image as missing.
Any ideas?
Roger Shuttleworth
London, Canada