diff options
author | Martin Smith <martin.smith@nokia.com> | 2010-10-20 12:49:54 (GMT) |
---|---|---|
committer | Martin Smith <martin.smith@nokia.com> | 2010-10-20 12:49:54 (GMT) |
commit | 1a0394398bbb7bb03356a5b06582f99d412366f6 (patch) | |
tree | 80dc0b1807bb8c25bb2c57d0c1e2e5912aa71748 | |
parent | e3d8c3b9ca03a90be0b5032f195acfb4d0ce7bb4 (diff) | |
download | Qt-1a0394398bbb7bb03356a5b06582f99d412366f6.zip Qt-1a0394398bbb7bb03356a5b06582f99d412366f6.tar.gz Qt-1a0394398bbb7bb03356a5b06582f99d412366f6.tar.bz2 |
qdoc: Fixed some DITA XML validation errors.
-rw-r--r-- | tools/qdoc3/ditaxmlgenerator.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/qdoc3/ditaxmlgenerator.cpp b/tools/qdoc3/ditaxmlgenerator.cpp index 2d719cf..2e5652c 100644 --- a/tools/qdoc3/ditaxmlgenerator.cpp +++ b/tools/qdoc3/ditaxmlgenerator.cpp @@ -1094,11 +1094,11 @@ int DitaXmlGenerator::generateAtom(const Atom *atom, if (atom->next() != 0) text = atom->next()->string(); if (fileName.isEmpty()) { - xmlWriter().writeStartElement("font"); - xmlWriter().writeAttribute("color","red"); + xmlWriter().writeStartElement("p"); + xmlWriter().writeAttribute("outputclass","error"); xmlWriter().writeCharacters("[Missing image: "); xmlWriter().writeCharacters(protectEnc(atom->string())); - xmlWriter().writeEndElement(); // </font> + xmlWriter().writeEndElement(); // </p> } else { xmlWriter().writeStartElement("fig"); @@ -1333,7 +1333,6 @@ int DitaXmlGenerator::generateAtom(const Atom *atom, xmlWriter().writeEndElement(); // </blockquote> break; case Atom::RawString: - qDebug() << "RAW:" << atom->string(); xmlWriter().writeCharacters(atom->string()); break; case Atom::SectionLeft: |