"Gerrit P. Haase" <[EMAIL PROTECTED]> writes:

> Jason schrieb:
> 
> > If you, or someone else you work with, is willing to help me debug
> > this, I'll be happy to share the details.
> 
> >> How works the SWIG thing, where can I find docu about
> >> recreating the relevant parts with swig?
> 
> >   www.swig.org
> 
> Swig is also aleady included in the Cygwin netrelease.
> 
> > There's lots of documentation on the site. If you want more
> > informataion, about how the XML-Xerces uses SWIG, let me know, and
> > I'll be happy to post the details here.
> 
> I read a little in the Swig manual page for Perl, when playing with
> the 1.7 release I found a lot of renaming took place (in swig as well
> as in Xerces), 

Yes, the renaming is for old support of operator and method
overloading. As of SWIG 1.3.14, this is all unnecessary - as
overloading is now completely supported by SWIG. The interface files
that are in the HEAD will probably only work with SWIG 1.3.13, as I
have not had time to update them.

> how can I checkout the HEAD branch for the perl part to play with
> the recent version?  Though, I'm no C++ guru, but we have some at
> the cygwin list, the will help (I hope so;)

The checkout info is at:

  http://xml.apache.org/cvs.html

the module that you want is: xml-xerces/perl

The problem I'm having is that any DOMNode that calls getFirstChild()
is returned a bogus comment node instead of the real code. I've
tracked the command execution in gdb to this line:

    result = (DOMNode *)((DOMNode const *)arg1)->getFirstChild();

at Xerces.C:23434

arg1 is a subclass of DOMNode, e.g. DOMDocument, and for some reason
the cast goes wierd and instead of winding up in
DOMDocument::getFirstChild() you wind up in
DOMImplementation::createComment().

I've tried this on PowerPC as well as i386. I haven't tried it with
gcc-3.x though, that might help.

Also, if you wanted to help update the typemaps to the latest SWIG
that would be much appreciated.

Cheers,
jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to