On Mon, 2009-12-14 at 11:39 -0600, Seshu-Babu Kollipara wrote:
> Hi All,
>  
> Regarding alarm-groups.xsd.in (sipXsupervisor/meta) , its a XML schema
> for alarm-groups.xml. I wanted to know who actually parses
> alarm-groups.xsd.in schema file.
>  
>  This is what I thought its purpose to be: 
>  1.sipXconfig replicates the changes in alarms groups into a
> alarm-groups.xml (/INSTALL/etc/sipxpbx/) 
>  2.sipXsupervisor interprets the alarm-groups.xml based on the scheme
> specified in alarm-group.xsd.in 
>  
> But actually sipXsupervisor still interprets alarm-groups.xml even
> though the element definitions in alarm-groups.xsd.in are not defined.
>  
> Is this file used by the software or it's just for documentation
> purposes ? Please let me know.

First "just for documentation" would be enough...

Most (should be all, but isn't) xml configuration files should be
validated by the configtest step of system startup.  The schema files
are installed, and a validator is run by the service startup script to
validate the configuration file.  

In the case of the supervisor, that script is
sipXsupervisor/bin/sipxsupervisor.sh.in, and it does validate the
alarm-config.xml file against the schema.  That configuration test is
run by the sipxecs service startup script in init.d.






_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to