validate and check ... also scans non dita files
Posted: Tue Apr 03, 2012 8:51 pm
i have a project with a directory full of text files (*.txt) which are code snippets.
When i try "validate and check" i get loads of errors because these text files are not xml. It should be able to better guess the file types, yes? I don't see anywhere i can control it.
There are actually 2 checks it could do better on:
1. Problem parsing "file:/xxx/foo.txt" as DITA content.
Cause:Content is not allowed in prolog
2. Topic referenced in other topics but not in DITA Map :"file:/xxx/foo.txt"
Of course text files won't be referenced in the map.
The volume of these makes real interesting warnings / errors hard to see
thanks
PMac
When i try "validate and check" i get loads of errors because these text files are not xml. It should be able to better guess the file types, yes? I don't see anywhere i can control it.
There are actually 2 checks it could do better on:
1. Problem parsing "file:/xxx/foo.txt" as DITA content.
Cause:Content is not allowed in prolog
2. Topic referenced in other topics but not in DITA Map :"file:/xxx/foo.txt"
Of course text files won't be referenced in the map.
The volume of these makes real interesting warnings / errors hard to see
thanks
PMac