diff options
Diffstat (limited to 'qtools/qxml.cpp')
-rw-r--r-- | qtools/qxml.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/qtools/qxml.cpp b/qtools/qxml.cpp index 4138a28..b7a68fc 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 @@ -5175,11 +5175,11 @@ bool QXmlSimpleReader::parseEntityValue() const signed char Init = 0; const signed char Dq = 1; // EntityValue is double quoted const signed char DqC = 2; // signed character - const signed char DqPER = 3; // PERefence + const signed char DqPER = 3; // PEReference const signed char DqRef = 4; // Reference const signed char Sq = 5; // EntityValue is double quoted const signed char SqC = 6; // signed character - const signed char SqPER = 7; // PERefence + const signed char SqPER = 7; // PEReference const signed char SqRef = 8; // Reference const signed char Done = 9; @@ -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() |