Re: CompileBL Scenario

Jason <[email protected]> Fri, 25 Sep 2009 13:00:08 +0100
Newsgroups gmane.comp.cms.xaraya.devel
Organization Xaraya
Message-ID <[email protected]>
[email protected] wrote:
> Jason wrote:
> 
>> Isn't the compiler given the list to work from when it is loaded? 
> Correct
> 
> Presumably the
>> new places to look is just an extension of the "filesystem of the
>> compiler" that
>> it is told about when it is loaded anyway?
> 
> No, that was Marcel's point. The compiler previously looked in 2 of
> "its" directories and loaded any xsl stylesheets it found there: one for
> "BlockLayout language" tags (say xar:if) and the other for "Xaraya tags"
> (say xar:data).

I think you are missing my point. The internal directory the compiler looks in
is (surely?) a configurable property of the compiler class, and so can be
overridden or extended in whatever environment the compiler is running in. The
compiler does not need to have any knowledge of the environment it is in - it is
simply *told* what to do and where to find stuff when it is loaded, even when it
is just told to look in its own default folders.

-- Jason