From: Andreas K. <aku...@sh...> - 2003-01-04 02:20:48
|
> Larry W. Virden wrote: > > I am seeing the following behavior that seems strange to me - perhaps > > I am misunderstanding something? > > > > $ tclsh > > % package require dom::tcl > > can't read "::dom::strictDOM": no such variable > > % package require dom::generic > > 2.5 > > % package require dom::tcl > > 2.5 > > > > If dom::tcl requires dom::generic to be loaded, then should it not do > > a package require on it? > > Yes, that appears to be correct. Please submit a bug report > on SF. > > I haven't picked it up before now because I normally > use 'package require dom'. I do the same, i.e. 'package require dom'. So far I considered this the official / blessed invocation of dom which loads everything required and possible. Despite this I am _not_ adverse to having 'package require' work for all of the subordinate packages too. This is something I did not touch when creating the TEA 2 build system for all the tclxml/dom/xslt packages. -- So long, Andreas Kupries <aku...@sh...> <http://www.purl.org/NET/akupries/> Developer @ <http://www.activestate.com/> ------------------------------------------------------------------------------- |