diff options
Diffstat (limited to 'qtools/qxml.cpp')
-rw-r--r-- | qtools/qxml.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/qtools/qxml.cpp b/qtools/qxml.cpp index 4138a28..f8a4e0d 100644 --- a/qtools/qxml.cpp +++ b/qtools/qxml.cpp @@ -778,7 +778,7 @@ void QXmlInputSource::setData( const QString& dat ) } /*! - Read the XML file from the byte array; try to recoginize the encoding. + Read the XML file from the byte array; try to recognize the encoding. */ // ### The input source should not do the encoding detection! void QXmlInputSource::readInput( QByteArray& rawData ) @@ -1895,7 +1895,7 @@ private: <a href="xml-sax.html#quickStart">Quick start</a>. */ -//guaranteed not to be a characater +//guaranteed not to be a character const QChar QXmlSimpleReader::QEOF = QChar((ushort)0xffff); /*! @@ -2609,7 +2609,7 @@ bool QXmlSimpleReader::parseElementAttribute( QString &prefix, QString &uri, QSt } } } else { - // no namespace delcaration + // no namespace declaration d->namespaceSupport.processName( name(), TRUE, uri, lname ); d->attList.qnameList.append( name() ); d->attList.uriList.append( uri ); @@ -3036,7 +3036,7 @@ parseError: Precondition: the beginning '<' of the PI is already read and the head stand on the '?' of '<?'. - If this funktion was successful, the head-position is on the first + If this function was successful, the head-position is on the first character after the PI. */ bool QXmlSimpleReader::parsePI( bool xmldecl ) @@ -3258,7 +3258,7 @@ parseError: Precondition: the beginning '<!' of the doctype is already read the head stands on the 'D' of '<!DOCTYPE'. - If this funktion was successful, the head-position is on the first + If this function was successful, the head-position is on the first character after the document type definition. */ bool QXmlSimpleReader::parseDoctype() @@ -3915,7 +3915,7 @@ bool QXmlSimpleReader::parseAttlistDecl() { -1, Done, Attdef, Attdef, Attdef, Attdef, Attdef, Attdef }, // Ws1 { Ws2, -1, -1, -1, -1, -1, -1, -1 }, // Attdef { -1, Atttype, Atttype, Atttype, Atttype, Atttype, Atttype, Atttype }, // Ws2 - { Ws3, -1, -1, -1, -1, -1, -1, -1 }, // Attype + { Ws3, -1, -1, -1, -1, -1, -1, -1 }, // Atttype { -1, Attval, DDecH, Attval, Attval, Attval, Attval, Attval }, // Ws3 { -1, -1, -1, -1, DefImp, DefFix, DefReq, -1 }, // DDecH { Ws4, Ws4, -1, -1, -1, -1, -1, -1 }, // DefReq @@ -5291,7 +5291,7 @@ parseError: Precondition: the beginning '<!' of the comment is already read and the head stands on the first '-' of '<!--'. - If this funktion was successful, the head-position is on the first + If this function was successful, the head-position is on the first character after the comment. */ bool QXmlSimpleReader::parseComment() |