make test Failing for libxml-enno-1.02 ...
by Andy Bach other posts by this author
Jul 27 2000 3:12PM messages near this date
view in the new Beta List Site
Re: vs. [Was: XML::Twig '0' PCDATA erased?]
|
make test Failing for libxml-enno-1.02 ...
Hi.
I have the same troubles, 2 problems are the toString and clone methods
change the spacing and quote/double quotes so an input dtd w/:
<!ELEMENT person (#PCDATA)>
<!ATTLIST person
name CDATA #REQUIRED
hair (none | blue | yellow) "yellow"
sex CDATA #REQUIRED>
comes back w/:
hair (none|blue|yellow) 'yellow'
and so the string tests (in print and other places) fail. The other
'fix' I found (for dom_attr in particular) was that the helper module
CmpDOM.pm doesn't add an equals method for XML::Parser::ContentModel
I added this:
package XML::Parser::ContentModel;
sub equals
{
my ($self, $other, $cmp) = @_;
return 1;
}
to get by the problem, I don't know how to test equality w/ ContentModel
objects. Looking through the others, I saw more or the string test
failures, so I just installed it all anyway.
> I am not able to get the libxml-enno-1.02 installed. Can somebody help me
> out ... please. I am getting the following error while running 'make test'.
>
> I am having the XML::Parser version 2.29 and perl version 5.6. Is it that I
> am having a unsupported/wrong version of Parser for libxml-enno-1.02 ... in
> that case please suggest me the right versions.
> t/dom_attr..........Can't locate object method "equals" via package
> "XML::Parser::ContentModel" at CmpDOM.pm line 179.
> t/dom_attr..........dubious
> Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 3, 20-23
> Failed 5/23 tests, 78.26% okay
[snip]
> t/dom_jp_minus......ok
> t/dom_jp_modify.....ok
> t/dom_jp_print......ok 3/3FAILED test 2
> Failed 1/3 tests, 66.67% okay
> t/dom_minus.........ok
> t/dom_modify........ok
> t/dom_print.........ok 3/3FAILED test 2
> Failed 1/3 tests, 66.67% okay
a
Andy Bach, Sys. Mangler CC:Mail andy bach at ~7ca-chicago
Internet: andy@[...].gov VOICE: (608) 264-5178 ex 5738, FAX 264-510
'In order to know soup, it is not necessary to climb into a pot and be boiled.'
Oliver Heaviside, English physicist,
|