Loading src/htmlentity.cpp +6 −3 Original line number Diff line number Diff line Loading @@ -475,11 +475,14 @@ void HtmlEntityMapper::writeXMLSchema(FTextStream &t) { for (int i=0;i<g_numHtmlEntities - g_numberHtmlMappedCmds;i++) { QCString bareName = g_htmlEntities[i].item; bareName = bareName.mid(1,bareName.length()-2); QCString bareName = g_htmlEntities[i].xml; if (!bareName.isEmpty() && bareName.at(0)=='<' && bareName.right(2)=="/>") { bareName = bareName.mid(1,bareName.length()-3); // strip < and /> t << " <xsd:element name=\"" << bareName << "\" type=\"docEmptyType\" />\n"; } } } /*! @brief Routine to check if the entries of the html_entities are numbered correctly * @details in case of a mismatch a warning message is given. Loading Loading
src/htmlentity.cpp +6 −3 Original line number Diff line number Diff line Loading @@ -475,11 +475,14 @@ void HtmlEntityMapper::writeXMLSchema(FTextStream &t) { for (int i=0;i<g_numHtmlEntities - g_numberHtmlMappedCmds;i++) { QCString bareName = g_htmlEntities[i].item; bareName = bareName.mid(1,bareName.length()-2); QCString bareName = g_htmlEntities[i].xml; if (!bareName.isEmpty() && bareName.at(0)=='<' && bareName.right(2)=="/>") { bareName = bareName.mid(1,bareName.length()-3); // strip < and /> t << " <xsd:element name=\"" << bareName << "\" type=\"docEmptyType\" />\n"; } } } /*! @brief Routine to check if the entries of the html_entities are numbered correctly * @details in case of a mismatch a warning message is given. Loading