Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116255 - xmlto doesn't compile: xmlto: input does not validate (status 3)
Summary: xmlto doesn't compile: xmlto: input does not validate (status 3)
Status: RESOLVED DUPLICATE of bug 99851
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-21 02:52 UTC by Thorsten Hirsch
Modified: 2005-12-21 03:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Hirsch 2005-12-21 02:52:18 UTC
When compiling xmlto the following error occurs:

make  all-am
make[1]: Entering directory `/var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18'
for xml in xmlif.xml xmlto.xml; do \
  FORMAT_DIR=./format XSL_DIR=./xsl \
   bash ./xmlto -o man/man1 man ./doc/$xml ; \
done || ( RC=$?; cat ./FAQ; exit $RC )
xmlto: input does not validate (status 3)
error : Operation in progress
/var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18/./doc/xmlif.xml:4: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
                                                            ^
error : Operation in progress
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
Document /var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18/./doc/xmlif.xml does not validate
sandbox:  Caught signal 2 in pid 27871
make[1]: *** [man/man1/xmlto.1] Interrupt
make: *** [all] Interrupt


I tried then to manually download docbookx.dtd, changing the URL in doc/xmlto.xml to the local filename, but then I get this error:


make  all-am
make[1]: Entering directory `/var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18'
for xml in xmlif.xml xmlto.xml; do \
  FORMAT_DIR=./format XSL_DIR=./xsl \
   bash ./xmlto -o man/man1 man ./doc/$xml ; \
done || ( RC=$?; cat ./FAQ; exit $RC )
xmlto: input does not validate (status 3)
error : Operation in progress
/var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18/./doc/xmlif.xml:4: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
                                                            ^
error : Operation in progress
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
Document /var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18/./doc/xmlif.xml does not validate
xmlto: input does not validate (status 3)
/var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18/docbookx.dtd:99: warning: failed to load external entity "/var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18/dbnotnx.mod"
%dbnotn;
        ^
Entity: line 1:
 %dbnotn;
         ^
/var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18/docbookx.dtd:118: warning: failed to load external entity "/var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18/dbcentx.mod"

[...more of the latest error...]

/var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18/./doc/xmlto.xml:5: element article: validity error : No declaration for element article
/var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18/./doc/xmlto.xml:6: element articleinfo: validity error : No declaration for element articleinfo
/var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18/./doc/xmlto.xml:7: element title: validity error : No declaration for element title

[...more of the latest error...]

Document /var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18/./doc/xmlto.xml does not validate

Q: I'm trying to build xmlto on my Debian box, but it doesn't work.

A: If you get `Attempt to load network entity' errors when building
   xmlto, your system does not have the required support for XML
   Catalogs
   (http://www.oasis-open.org/committees/entity/spec-2001-08-06.html).
   In particular, Debian has no support for these.  Try the Fedora
   Project <http://fedora.redhat.com>.
make[1]: *** [man/man1/xmlto.1] Error 3
make[1]: Leaving directory `/var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18'
make: *** [all] Error 2
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-21 03:10:59 UTC

*** This bug has been marked as a duplicate of 99851 ***