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
validate and check ... also scans non dita files
Re: validate and check ... also scans non dita files
Hi,
How exactly are the text files referenced in the DITA topics?
Could you give me a sample XML code for it?
Regards,
Radu
How exactly are the text files referenced in the DITA topics?
Could you give me a sample XML code for it?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: validate and check ... also scans non dita files
Hi
They are coderefs like this:
<codeblock><coderef href="../code/ex-prog-vecadd-cplx.txt"/></codeblock>
PMac
They are coderefs like this:
<codeblock><coderef href="../code/ex-prog-vecadd-cplx.txt"/></codeblock>
PMac
Re: validate and check ... also scans non dita files
Hi,
You are right.
I consider this a bug in Oxygen which right now treats coderef more like an xref instead of treating it as a reference to a non-DITA resource.
We will probably fix this in the upcoming Oxygen 14, in a couple of months.
Regards,
Radu
You are right.
I consider this a bug in Oxygen which right now treats coderef more like an xref instead of treating it as a reference to a non-DITA resource.
We will probably fix this in the upcoming Oxygen 14, in a couple of months.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: validate and check ... also scans non dita files
Hi,
Oxygen 14.0 which was released should fix this behavior as well.
Regards,
Radu
Oxygen 14.0 which was released should fix this behavior as well.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com