[xml] built libxml and libxslt, possible bugs
- From: Tobias Reif <tobiasreif pinkjuice com>
- To: xml gnome org
- Subject: [xml] built libxml and libxslt, possible bugs
- Date: Tue, 11 Nov 2003 14:32:06 +0100
Hi Daniel et al,
I just finished compiling and installing (under my home dir, not
system-wide) the latest libxml and libxslt on SuSE 9.0 [uname]. I
don't know if I have a problem or not; if none of the below is an
issue then everything should be OK.
1. Should I somehow have compiled in libiconv and zlib?
2.
While configure and make ran (regression tests etc) I saw various
error messages, I'm not sure if they are of interest for you. I can
send you my installation log (commands issued plus some output) or any
of the files generated by configure, make, make tests, and make
install.
tobi ~/del/compile_libxml/libxml2-2.6.2 $ ./configure \
--prefix=$HOME/bulk/run/libxml
[...]
checking for python... /usr/bin/python
Found Python version 2.3
could not find python2.3/Python.h
Traceback (most recent call last):
File "<string>", line 1, in ?
[...] libxslt-1.1.0 $ make
[generated many warnings like this one:]
pattern.c:1237: warning: comparison is always true due to limited range of
data type
[... which probably is no problem.]
tobi ~/del/compile_libxml/libxml2-2.6.2 $ make tests
[...]
## Schemas regression tests
deter0_0_0 result
1,2c1 < compilation error: file ./test/schemas/deter0_0.xsd line 5
element xs:element < Content model of book is not determinist: --- >
./test/schemas/deter0_0.xsd:5: element element: Schemas parser error :
Content model of book is not determinist:
group0_0_0 result
1c1 < Element author content check failed --- >
./test/schemas/group0_0.xml:1: element author: Schemas validity error
: Element author content check failed
length3_0_0 result
1,2c1 < compilation error < Schemas: element size type
non-positive-integer not found --- > ./test/schemas/length3_0.xsd:5:
element element: Schemas parser error : Schemas: element size type
non-positive-integer not found
po1_0_0 result
1d0 < ./test/schemas/po1_0.xml fails to validate 1,5c1,4 < Schemas:
element items type Items not found < Schemas: element anonelem9 ref to
comment not found < Schemas: element anonelem2 ref to comment not
found < Schemas: attribute partNum type SKU not found < Element
purchaseOrder content check failed --- > ./test/schemas/po1_0.xsd:20:
element element: Schemas parser error : Schemas: element items type
Items not found > ./test/schemas/po1_0.xsd:48: element element:
Schemas parser error : Schemas: element anonelem9 ref to comment not
found > ./test/schemas/po1_0.xsd:19: element element: Schemas parser
error : Schemas: element anonelem2 ref to comment not found >
./test/schemas/po1_0.xsd:51: element attribute: Schemas parser error :
Schemas: attribute partNum type SKU not found
## Relax-NG regression tests
docbook_0 result
0a1,6 > ./test/relaxng/docbook_0.xml:16: I/O warning : failed to load
external entity "test/dtd/4.1.2/docbookx.dtd" > ]> > ^ >
./test/relaxng/docbook_0.xml:1864: parser error : Entity 'copy' not
defined > <sgmltag>&copy;</sgmltag> — copyright sign
(©) > ^
## Relax-NG streaming regression tests
docbook result
1c1,3 < ./test/relaxng/docbook_0.xml validates --- > Expand failed ! >
./test/relaxng/docbook_0.xml fails to validate >
./test/relaxng/docbook_0.xml : failed to parse 0a1,31 >
./test/relaxng/docbook_0.xml:16: I/O warning : failed to load external
entity "test/dtd/4.1.2/docbookx.dtd" > ]> > ^ >
./test/relaxng/docbook_0.xml:1760: parser error : Entity 'copy' not
defined > <sgmltag>&copy;</sgmltag> — copyright sign
(©) > ^ > Relax-NG validity error : Did not expect text in
element TODO content > Relax-NG validity error : Did not expect
element emphasis there > [...] Relax-NG validity error : Did not
expect element sgmltag there
## Threaded regression tests
## generating dba100000.xml
/bin/sh: line 1: dbgenattr.pl: command not found
make: *** [dba100000.xml] Error 127
tobi ~/del/compile_libxml/libxml2-2.6.2 $ make install
[...]
/usr/bin/install: cannot stat `./html/index.sgml': No such file or
directory
make[2]: [install-data-local] Error 1 (ignored)
[...]
/bin/sh: line 1: gtkdoc-fixxref: command not found
make[2]: [install-data-local] Error 127 (ignored)
tobi ~/del/compile_libxml/libxslt-1.1.0 $ make tests
[these seems to be intentional:]
compilation error: file ./test-2.5-1.xsl line 6 element
exciting-new-1.8-feature
xsltStylePreCompute: unknown xsl:exciting-new-1.8-feature
compilation error: file ./test-2.5-1.xsl line 2 element stylesheet
xsl:version: only 1.0 features are supported
[...]
compilation error: file ./bug-60.xsl line 6 element foo-of
xsltStylePreCompute: unknown xsl:foo-of
Should all tests pass? The end of libxml2-2.6.2/result/regexp/xpath
reads:
1: Fail
1ab: Fail
a:1: Fail
@a: Fail
ancestor::a: Fail
Tobi
[uname]
uname -a:
Linux linux 2.4.21-99-default #1 Wed Sep 24 13:30:51 UTC 2003 i686
i686 i386 GNU/Linux)
--
Vim as XML Editor
http://www.vim.org/tips/tip.php?tip_id=583
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]