On Sat, 3 Nov 2001 03:41, Paul Hammant wrote: > Blocks can depend on this new block in cornerstone. Its service > interface is DOMImplementaion (org.w3c.dom package). In config.xml you > specify the class you wish to use for your SAR and your can get it in > the usual way. The block implementation done is essentially a proxy for > the real thing. This would not have been possible before the ROLE > static var thing was discontinued. > > You should be able to have multiple DOM parsers in the same VM as > nothing here is set at the global level. True IoC for DOM parsers.
The problem of course is that all the parsers have to be using the exact same version/subset of of DOM. ie someone said that xerces is now DOM2 + parts of DOM3. And from what I hear there is a few XML parsers who are mixed bags in this sense. -- Cheers, Pete ----------------------------------------------------------- Don't take life too seriously -- you'll never get out of it alive. ----------------------------------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>