Hollis, David wrote:
>
> What?s the difference between .xxe and .incl files, and why use these
> and not a generic .xml file extension?
>
> It would appear that a .xxe file, e.g. a user config file, can include
> the installed .xxe file, and can include .incl files.
>
> Both are defined as xml version 1.0 files, so why not use a .xml file
> extension?
".xxe" files are scanned by XXE during its startup. Using a specific
extension (".xxe") makes this configuration discovery step faster
because XXE does not need to open the file in order to see that it
actually contains a configuration.
".incl" files are ancilliary configuration files that XXE can safely
skip during its configuration discovery step.
Therefore using a ".xxe" extension for XXE configuration files is mandatory.
---
PS: Why use a ".xml" extension? Such generic extension does not convey
any useful information about the contents of a file.