From: Timothy S. <ti...@st...> - 2004-08-05 19:37:15
|
On Thu, 2004-08-05 at 18:10, Matthias Baas wrote: > So is this a real problem or can it be easily fixed? (you could use=20 > SpaceBase instead of Space. However, I don't know if you have to be able=20 > to create instances of the class you're using. You can't create=20 > instances from SpaceBase) It should be a trivial fix. The Space class in parser.py just needs to be updated to use one of the specific Space classes and the other classes need to use SpaceBase instead of Space as an argument to getFirstAncestor(). > By the way, what kind of Space will the XODE reader create? By browsing=20 > through the XODE spec it seems there's no way to specify which space=20 > should be used...(or did I miss something?). I can think of two options: create an XODE extension that allows the user to set the space class; or, allow the user to pass an argument to the XODE parser indicating which space class to use. Maybe they could both be implemented by using the space class specified by a parser parameter unless it is overridden by the extension. Any thoughs? --=20 Timothy Stranex <ti...@st...> |