You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by "Lincoln A. Baxter" <la...@lincolnbaxter.com> on 2003/12/19 23:56:36 UTC

make test errors

Hi,

I have the following errors with make test ($LANG is set en_US.UTF-8). 
This is a gentoo linux system.

t/DOMDocument.............NOK 662#     Failed test (t/DOMDocument.t at
line 218)
Error code: 5

(repeats a BUNCH of times with the test number incrementing)

Any clues?






---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org


Re: make test errors

Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
Hi Lincoln,

Whoa!! I found this rotting in my drafts box. Looks like I went to SF
to test their MacOS X boxes and your message got lost...

"Lincoln A. Baxter" <la...@lincolnbaxter.com> writes:

> Do you thinkg this is a problem at the system level, or at that perl
> level.   Since most of these seem to work (all but 72 of the 35,000), I
> am leading toward a problem with the character set definition at a
> system level.

Hi Lincoln,

Since these test work on the systems I have immediate access to, I've
never been able to really investigate it much. I have to admit that I
almost completely Unicode ignorant - I learned enough about it to add
support for it into XML-Xerces: Perl uses an internal UTF8 encoding
and Xerces-C uses UTF16, so I have to use a transcoder to pass strings
back and forth. I don't actually understand how or where the character
pages are defined - is it part of the linux kernel, or is it something
that is affected by which linux distribution you are running? 

MacOS X is *really* bad - all the tests fail.

One thought would be to set the LANG variable to something different
and see if that affects anything - I use plain en_US as my setting and
I've never actually tested other settings.

I'd be happy to find out what is causing this, so to help others fix
it. 



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org


Re: make test errors

Posted by "Lincoln A. Baxter" <la...@lincolnbaxter.com>.
Do you thinkg this is a problem at the system level, or at that perl
level.   Since most of these seem to work (all but 72 of the 35,000), I
am leading toward a problem with the character set definition at a
system level.

Lincoln


On Sat, 2003-12-20 at 04:42, Jason E. Stewart wrote:
> "Lincoln A. Baxter" <la...@lincolnbaxter.com> writes:
> 
> > I have the following errors with make test ($LANG is set en_US.UTF-8). 
> > This is a gentoo linux system.
> > 
> > t/DOMDocument.............NOK 662#     Failed test (t/DOMDocument.t at
> > line 218)
> > Error code: 5
> > 
> > (repeats a BUNCH of times with the test number incrementing)
> 
> Unicode is not working properly. All those tests do is creating
> DOMElement's with all allowable unicode characters in the first
> position (hence the 35,000 tests). 
> 
> More than that, I'm not clear on.
> 
> Cheers,
> jas.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
-- 
Lincoln A. Baxter
Home: 610.983.9552  Office: 215.444.7973  
Cell: 267.716.1370  Fax:    610.935.8297 (home)
Home:  mailto:lab@lincolnbaxter.com
UFWC:  mailto:president@ufwc.org
Work:  mailto:lbaxter@fleetcc.com
Pager: mailto:2677161370@page.nextel.com



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org


Re: make test errors

Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
"Lincoln A. Baxter" <la...@lincolnbaxter.com> writes:

> I have the following errors with make test ($LANG is set en_US.UTF-8). 
> This is a gentoo linux system.
> 
> t/DOMDocument.............NOK 662#     Failed test (t/DOMDocument.t at
> line 218)
> Error code: 5
> 
> (repeats a BUNCH of times with the test number incrementing)

Unicode is not working properly. All those tests do is creating
DOMElement's with all allowable unicode characters in the first
position (hence the 35,000 tests). 

More than that, I'm not clear on.

Cheers,
jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org