dita-community / doxygen2dita

Open Toolkit plugins for converting Doxygen XML to DITA maps and topics
Apache License 2.0
5 stars 1 forks source link

Doxygen2Dita fails for documented files #7

Open hcw70 opened 5 years ago

hcw70 commented 5 years ago

Whenever a "simple" doxygen file contains a file comment (see below) invalid Dita is produced:

[DOTJ013E] Failed to parse the referenced file 'file:/home/hcw/tmp/Doxy2Dita/out/dita/topics/_proto_parser_test_8cpp.dita'.: file:/home/hcw/tmp/Doxy2Dita/out/dita/topics/_proto_parser_test_8cpp.dita Line 8:Unexpected element "p". The content of the parent element type must match "(data|sort-as|data-about|example|foreign|svg-container|mathml|unknown|refbodydiv|refsyn|properties|section|simpletable|table)*".

The input file is the following:


/**
 * @file
 *
 *  Created on: 04.02.2015
 *      Author: Hauke Wintjen
 *
 */

/**
 */
class ProtoParserTest: public QObject
{

};

tested with doxygen 1.8.13 and oxygenXml 18.0.

hcw70 commented 5 years ago

Doxy2Dita.tar.gz