checkXML showing a lot of error messages like if files were not correct

Bug #1469899 reported by Toni Asensi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kde4libs (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi!

Using Kubuntu 15.04, the program checkXML is showing a lot of error messages.

Note: If the error messages were like:
    index.docbook:8: warning: failed to load external entity "dtd/kdedbx45.dtd"]>
    index.docbook:10: parser error : Entity 'language' not defined
    [...]
then I copied the "dtd" directory from e.g. "/usr/share/kf5/kdoctools/customization/dtd/" and tried again.

Steps to reproduce the bug:
- Download the latest (at this moment) "index.docbook" of Konsole from:
http://quickgit.kde.org/?p=konsole.git&a=blob&h=1f74d585e0268c2e937ad989250d15a72ecae2e2&f=doc%2Fmanual%2Findex.docbook&o=plain
- Execute
    checkXML index.docbook
- See that it shows a lot of error messages:
    index.docbook:2: element para: validity error : ID gnu-fdl already defined
    element div: validity error : ID header already defined
    element div: validity error : ID header_content already defined
    [...]

I tried the same, but in Kubuntu 14.04, after having installed the package kdelibs5-dev, and... there were no error messages.

I'm available for further testing. Thanks!

Toni Asensi (asmond)
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
Revision history for this message
Toni Asensi (asmond) wrote :

If it can be helpful, this is the result of some commands in Kubuntu 15.04:

    $ dpkg -S /usr/bin/checkXML
    kdelibs5-dev: /usr/bin/checkXML

    $ dpkg -S /usr/bin/meinproc4
    kdoctools: /usr/bin/meinproc4

    $ which checkXML | xargs cat
    #! /bin/sh

    prefix=/usr
    exec_prefix=/usr/bin
    exit `/usr/bin/meinproc4 --check --stdout $@ > /dev/null`

    $ dpkg -l | grep kdoctool
    ii kdoctools 4:4.14.6-4~ubuntu3.1 amd64 various tools for accessing application documentation
    ii kdoctools-dev 5.9.0-0ubuntu1 amd64 Documentation generation from docbook
    ii kdoctools5 5.9.0-0ubuntu1 amd64 Documentation generation from docbook

Revision history for this message
Toni Asensi (asmond) wrote :

The execution of "checkXML5 index.docbook" shows the same errors as "checkXML index.docbook".

The execution of
    dpkg -S /usr/bin/checkXML5
shows
    kdoctools5: /usr/bin/checkXML5

Toni Asensi (asmond)
summary: - checkXML showing a lot of error messages
+ checkXML showing a lot of error messages like if files were not correct
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kde4libs (Ubuntu):
status: New → Confirmed
Revision history for this message
Yuri Chornoivan (yurchor-gmail) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.