Hello Jason, I use today the test programs and I don't have any "serious" problem. The tests are going well excepted for the equality operator ( that is no more used I think ?).
Moreover, I have written a sample program that uses the getFirstChild() method and I don't have any problem. The object return by this method is good and I can have its value or name or attributes. So, what is exactly the symptom of your problem and what are the tests that do not work well ? Fabrice "Jason E. Stewart" wrote: > "Fabrice Landrodie" <[EMAIL PROTECTED]> writes: > > > I had a look on the problem you observe in getFirstChild() method and I > > think it could be a problem of multiple inheritance and dynamic cast : > > > > In Xerces-c-1_7, DOMDocument class inherites only from DOMNode class, so > > that the static cast always works. > > > > But in Xerces-c-2_0, DOMDocument class inherites from 3 objects : > > DOMDocumentRange, DOMDocumentTraversal and DOMNode. So the cast of a > > pointer from this object is now less easy to do. A dynamic cast has to be > > used to ensure a good conversion. > > > > This problem is explained in SWIG doc1.3 ( > > http://www.swig.org/Doc1.3/SWIGPlus.html#n19 ). > > > > Do you think it could be the cause of the problem you have ? > > Thanks again Fabrice for looking into this. > > I don't understand the discussion well enough to see how to implement > a fix. How can dynamic_cast<> help in this case? > > > Moreover, could you send me the program you use to test the Xerces-p. It > > would be helpfull for me to be sure we have both the same behaviour. > > Just run make test, or run any of the t/DOM* tests - most if not all > of them fail because of the problem. > > jas. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
