Jason E. Stewart | 1 Apr 2005 08:44

Re: Issues with building xerces-p

Gareth.Dicks <at> esa.int writes:

> The issue below is resolved. It was being caused by vi on my terminal not 
> being able to handle the length of certain lines. When the file was saved 
> the lines were being truncated!

Ah, good news.

> Alas, this is not the end of the problem....
>
> xerces-c is now installed and build ok. For xerces-p I have run the make 
> command without problems, but some of the tests are failing with core 
> dumps when I run 'make test'. An example of this is in DOMException, where 
> the core dump occurs when the following is performed (around line 35):
>
>         eval {
>              $impl->createDocument('Bar', 'bar',$dt);
>         };
>
> I've traced this back to calls that are made to a particular portion of 
> DOMImplementation in xerces-c, but I'm really not sure what could be 
> causing this or where to start looking to solve the problem. Suggestions 
> would be appreciated.

In general, Perl should never dump core - it's very bad. Specifically
here, though, it should be a minor issue. I have seen this type of
problem happening on some installations, and have never been able to
debug the issue. 

See if you can write the programs you want to write, and if so, you
(Continue reading)

bugzilla | 15 Apr 2005 18:46
Picon
Favicon

DO NOT REPLY [Bug 25788] - Using UNIVERSAL breaks XML::Xerces;

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=25788>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=25788

------- Additional Comments From colin.robertson <at> bbc.co.uk  2005-04-15 18:45 -------
The UNIVERSAL docs in Perl 5.6 say "These subroutines should not be imported via
use UNIVERSAL qw(...)", while the docs in 5.8 positively encourage you to do so.
So it may be the case that this is only a problem in 5.6 and not in 5.8. I
haven't tested yet, but if someone does get the chance to do a test in 5.8
please post the results here.

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla | 19 Apr 2005 15:36
Picon
Favicon

DO NOT REPLY [Bug 25788] - Using UNIVERSAL breaks XML::Xerces;

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=25788>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=25788

------- Additional Comments From hirschs <at> btv.ibm.com  2005-04-19 15:36 -------
I recently spent an entire morning debugging a similar problem caused by 'use
UNIVERSAL' in a program which also relied on a C++ XS extension.  The
application simply bailed out with a coredump.

Not related to Xerces, per se, but perhaps an indication of a Perl problem. 
This was noted with perl-5.8.0 on both x86 Linux and 32-bit AIX.

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Jason E. Stewart | 27 Apr 2005 13:58

[Ian Douglas] XML::Xerces

Favicon
From: Ian Douglas <id <at> pricegrabber.com>
Subject: XML::Xerces
Date: 2005-04-26 18:55:40 GMT
Hi Jason,

Trying to build XML::Xerces, and downloaded the 2.5.0 archive from 
xml.apache.org. The only build of Xerces-C (listed as a requirement) is 
2.6.0, so the Perl module fails.

Any advice on where I can get Xerces-C 2.5.0 so I can compile the 
XML::Xerces library, or do you have a 2.6.0 version of the Perl code?

Perhaps I should ask this as well: will Xerces allow me to validate a 
pre-built XML feed if I have an XSD file from the client to whom I'd be 
sending my XML feed?

Ian Douglas

Gmane