[prev in list] [next in list] [prev in thread] [next in thread]
List: quanta
Subject: [Quanta] The XML tools in Quanta are fixed
From: Andras Mantia <amantia () kde ! org>
Date: 2005-07-13 15:39:40
Message-ID: 200507131839.40437.amantia () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Hi,
I just fixed the following XML tools in Quanta: checkXML, meinproc and
xmlval. The short description about their usage and the fix needed is
below, so you can fix yourself, if you don't want to update from SVN.
The fixed version will be in KDE 3.4.2 and KDE 3.5:
1) checkXML:
Checks the your docbook documents in a folder (which can be the current
working folder in Quanta) starting with the index.docbook in that
folder. So if you don't have index.docbook, it will not work! This is
for KDE docbook variants. On error, it displays the errors, on success
it displays nothing (the Validate button gets enabled).
The problem was: for some reason checkXML/meinproc now it does not sent
the output to stdout. The fix is to replace
checkXML index.docbook
with
checkXML index.docbook 2>&1
in the kmdr file.
2)meinproc:
Generates HTML files from KDE docbook. The files are generated in the
same directory where the docbook files are (and which was selected in
the dialog). There is an option to open the generated index.html in
Konqueror.
The fix: the Konqueror option was broken due to some evaluation bug
(change in Kommander?). The fix is longer, but it is so:
- for the radio button return "true" when checked (instead of
@widgetText) and "false" when not checked and change the if evaluating
it from
if [ @PrevKonq ]
to
if [ "@PrevKonq"=="true" ]
3) xmlval:
Used to validate *one* docbook files (not necessary KDE docbook). The
problem was the same as in 1), the output did not go where it should.
The fix:
xmllint $CMDLINE 2>&1
instead of
xmllint --noout $CMDLINE
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
[Attachment #5 (application/pgp-signature)]
_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic