[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Kate's XML check / validation plugin doesn't build against 4.1
From:       Romain GUINOT <romainguinot () gmail ! com>
Date:       2008-08-20 17:32:10
Message-ID: 200808201932.10438.romain.guinot () atosorigin ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi, 
I have discovered that the rpm packages of kdesdk 4.1 which provide Kate do not \
include the XML check/ validation plugin.  It is present in SVN at \
KDE/kdesdk/kate/plugins/xmltools and KDE/kdesdk/kate/plugins/xmlcheck : 

Unfortunately , it doesn't build against 4.1 (maybe it wasn't ported to Qt4..): 


[ 33%] Building CXX object \
CMakeFiles/katexmltoolsplugin.dir/katexmltoolsplugin_automoc.o                        \
 [ 66%] Building CXX object CMakeFiles/katexmltoolsplugin.dir/pseudo_dtd.o            \
                
/opt/kate-plugins/xmltools/pseudo_dtd.cpp: In member function ‘bool \
PseudoDTD::parseElements(QDomDocument*, QProgressDialog*)':                           \
                
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:173: error: no matching function for call \
to ‘QMap<QString, bool>::remove(QMap<QString,  bool>::iterator&)'
/usr/include/QtCore/qmap.h:603: note: candidates are: int QMap<Key, T>::remove(const \
                Key&) [with Key = QString, T = bool]
/opt/kate-plugins/xmltools/pseudo_dtd.cpp: In member function ‘QStringList \
                PseudoDTD::allowedElements(QString)':
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:206: error: ‘const class QString' has no \
                member named ‘lower'
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:206: error: ‘class QString' has no member \
                named ‘lower'
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:207: error: ‘class QMap<QString, \
                QStringList>::iterator' has no member named ‘data'
/opt/kate-plugins/xmltools/pseudo_dtd.cpp: In member function ‘QStringList \
                PseudoDTD::allowedAttributes(QString)':
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:272: error: ‘const class QString' has no \
                member named ‘lower'
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:272: error: ‘class QString' has no member \
                named ‘lower'
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:273: error: ‘class QMap<QString, \
                ElementAttributes>::iterator' has no member named ‘data'
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:273: error: ‘class QMap<QString, \
                ElementAttributes>::iterator' has no member named ‘data'
/opt/kate-plugins/xmltools/pseudo_dtd.cpp: In member function ‘QStringList \
                PseudoDTD::requiredAttributes(const QString&) const':
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:290: error: ‘const class QString' has no \
                member named ‘lower'
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:290: error: ‘const class QString' has no \
                member named ‘lower'
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:291: error: ‘class QMap<QString, \
ElementAttributes>::const_iterator' has no member named  ‘data'
/opt/kate-plugins/xmltools/pseudo_dtd.cpp: In member function ‘bool \
PseudoDTD::parseAttributeValues(QDomDocument*,  QProgressDialog*)':
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:335: error: ‘split' is not a member of \
                ‘QStringList'
/opt/kate-plugins/xmltools/pseudo_dtd.cpp: In member function ‘QStringList \
                PseudoDTD::attributeValues(QString, QString)':
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:358: error: ‘const class QString' has no \
                member named ‘lower'
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:358: error: ‘class QString' has no member \
                named ‘lower'
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:360: error: ‘class QMap<QString, \
QMap<QString, QStringList> >::iterator' has no member  named ‘data'
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:365: error: ‘const class QString' has no \
                member named ‘lower'
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:365: error: ‘class QString' has no member \
                named ‘lower'
/opt/kate-plugins/xmltools/pseudo_dtd.cpp:366: error: ‘class QMap<QString, \
QStringList>::iterator' has no member named ‘data' make[2]: *** \
[CMakeFiles/katexmltoolsplugin.dir/pseudo_dtd.o] Error 1 make[1]: *** \
[CMakeFiles/katexmltoolsplugin.dir/all] Error 2

Anyone aware of this ? I'd like to help but i'm no Qt guru ...
Thanks, 
Romain.

-- 
Romain GUINOT


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" \
"http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" \
content="1" /><style type="text/css"> p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; \
font-weight:400; font-style:normal;"> <p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi, </p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I have discovered that the \
rpm packages of kdesdk 4.1 which provide Kate do not include the XML check/ \
validation plugin. </p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">It is present in SVN at KDE/kdesdk/kate/plugins/xmltools and \
KDE/kdesdk/kate/plugins/xmlcheck : </p> <p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Unfortunately , it doesn't \
build against 4.1 (maybe it wasn't ported to Qt4..): </p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" \
font-style:italic;">[ 33%] Building CXX object \
CMakeFiles/katexmltoolsplugin.dir/katexmltoolsplugin_automoc.o                        \
</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; \
font-style:italic;">[ 66%] Building CXX object \
CMakeFiles/katexmltoolsplugin.dir/pseudo_dtd.o                                        \
</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp: In member function \
‘bool PseudoDTD::parseElements(QDomDocument*, QProgressDialog*)':                   \
</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:173: error: no matching \
function for call to ‘QMap&lt;QString, bool&gt;::remove(QMap&lt;QString, \
bool&gt;::iterator&amp;)'</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0; font-style:italic;">/usr/include/QtCore/qmap.h:603: note: \
candidates are: int QMap&lt;Key, T&gt;::remove(const Key&amp;) [with Key = QString, T \
= bool]</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp: In member function \
‘QStringList PseudoDTD::allowedElements(QString)':</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:206: error: ‘const \
class QString' has no member named ‘lower'</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:206: error: ‘class \
QString' has no member named ‘lower'</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:207: error: ‘class \
QMap&lt;QString, QStringList&gt;::iterator' has no member named ‘data'</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp: In member function \
‘QStringList PseudoDTD::allowedAttributes(QString)':</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:272: error: ‘const \
class QString' has no member named ‘lower'</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:272: error: ‘class \
QString' has no member named ‘lower'</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:273: error: ‘class \
QMap&lt;QString, ElementAttributes&gt;::iterator' has no member named ‘data'</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:273: error: ‘class \
QMap&lt;QString, ElementAttributes&gt;::iterator' has no member named ‘data'</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp: In member function \
‘QStringList PseudoDTD::requiredAttributes(const QString&amp;) const':</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:290: error: ‘const \
class QString' has no member named ‘lower'</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:290: error: ‘const \
class QString' has no member named ‘lower'</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:291: error: ‘class \
QMap&lt;QString, ElementAttributes&gt;::const_iterator' has no member named \
‘data'</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp: In member function \
‘bool PseudoDTD::parseAttributeValues(QDomDocument*, QProgressDialog*)':</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:335: error: ‘split' \
is not a member of ‘QStringList'</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0; font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp: In \
member function ‘QStringList PseudoDTD::attributeValues(QString, QString)':</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:358: error: ‘const \
class QString' has no member named ‘lower'</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:358: error: ‘class \
QString' has no member named ‘lower'</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:360: error: ‘class \
QMap&lt;QString, QMap&lt;QString, QStringList&gt; &gt;::iterator' has no member named \
‘data'</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:365: error: ‘const \
class QString' has no member named ‘lower'</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:365: error: ‘class \
QString' has no member named ‘lower'</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0; \
font-style:italic;">/opt/kate-plugins/xmltools/pseudo_dtd.cpp:366: error: ‘class \
QMap&lt;QString, QStringList&gt;::iterator' has no member named ‘data'</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0; font-style:italic;">make[2]: \
*** [CMakeFiles/katexmltoolsplugin.dir/pseudo_dtd.o] Error 1</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0; font-style:italic;">make[1]: \
*** [CMakeFiles/katexmltoolsplugin.dir/all] Error 2</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Anyone aware of this ? I'd \
like to help but i'm no Qt guru ...</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">Thanks, </p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">Romain.</p> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;"></p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">-- </p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">Romain GUINOT</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;"></p></body></html>



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic