On Monday, 17. February 2003 04:27, Kip Hampton wrote:
> Feature:
> Add an AxKit configuration directive that allows users to skip over the
> get_styles() root, DTD stylesheet PI extraction as needed.
>
> Justification:
> The AxAdd(Root|DTD|Doctype)Processor directives are damn useful for most
> general cases, but users should have the option to skip over the logic
> (and the overhead) assocated with extracing that info from the source
> XML in cases where only named styles are used, or, where a custom
> ConfigReader that does not reference the components the XML source is
> employed.
>
> Obviously, we need to pick a better, more intuitive name for the
> directive-- suggestions welcome..

We could make that automatic - we know at request time if any 
content-dependent processor is used. Keep a flag in the dir config, and 
toggle it on when we encounter a (Root|DTD|Doctype) directive. Skip parsing 
when the flag is off and AxIgnorePI (what's the name again?) is on. This 
should use about the same processing power as a manual setting.

-- 
CU
  Joerg

PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc
PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E  7779 CDDC 41A4 4C48 6F94

Reply via email to