@ECHO OFFSETLOCALremrem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).rem All rights reserved.rem This component and the accompanying materials are made availablerem under the terms of "Eclipse Public License v1.0"rem which accompanies this distribution, and is availablerem at the URL "http://www.eclipse.org/legal/epl-v10.html".remrem Initial Contributors:rem Nokia Corporation - initial contribution.remrem Contributors:remrem Description: Validates ActiveIdle3 plugin configurationsremSET PATH_LINT=C:\Apps\libxml2-2.6.23.win32\bin\xmllint.exeSET PATH_MANIFEST_XSD=hsps_manifest.xsdSET PATH_DEFINITION_XSD=hsps_definition.xsdIF NOT EXIST %PATH_MANIFEST_XSD% GOTO ERR_XSDIF NOT EXIST %PATH_DEFINITION_XSD% GOTO ERR_XSDSET ARGS_MANIFEST=--schema %PATH_MANIFEST_XSD% --nooutSET ARGS_DEFINITION=--schema %PATH_DEFINITION_XSD% --nooutecho.echo Validating plugin configurations against the HSPS schema files...echo.FOR /F %%j in ('dir ..\manifest.dat /s/b^|find "\hsps\00\" ') do %PATH_LINT% %%j %ARGS_MANIFEST% 2>&1|find "error"FOR /F %%j in ('dir ..\*.xml /s/b^|find "\hsps\00\" ') do %PATH_LINT% %%j %ARGS_DEFINITION% 2>&1|find "error"GOTO END:ERR_LINTECHO XMLLint was not found! Personlize the PATH_LINT variable in %0 and download the tool.GOTO END:ERR_XSDECHO Schema files were not found (%PATH_MANIFEST_XSD% and %PATH_DEFINITION_XSD%)!GOTO END:ENDENDLOCAL