Hi,
I am currenlty writing a object serializing library for communication across java and
c++, including typing.
I have a problem which seems rather incidious:
Inside my default handler, I see a tag that corresponds to a class, so I load that
class and try and instantiate it.
However, it is possible that that class's constructor contains something of the form
Ship shipObject =
ObjectReader.readObject("<Ships.BattleShip><blah>xxx</blah></Ships.BattleShip>");
which means that in order for classClass.newInstance to return, a new XMLReader is
created (In ObjectReader) and Xerces is called again.
I would have that that the my DefaultHandler would block waiting for this last call to
return, but it doesn't. Here is some example output
Just saw <Ship.BattleCruiser>
Trying to get new class ... done
Trying to get new object
// Should output ... done (but subsequent readObject call never occurs
Just saw <Ship.Carrier>
I was wondering if the developers could shed some light on how Xerces-J handles calls
to a new XMLReader etc...
Rod Farmer
========================================
Rod Farmer
Software Engineer
KESEM International
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]