sysdeftools/readme.txt
author Bob Rosenberg <bob.rosenberg@nokia.com>
Thu, 22 Jul 2010 12:30:22 +0100
branchHighFidelityModel
changeset 390 a47fc547d2e3
parent 206 eccc98839441
permissions -rw-r--r--
Simplify and add hacks for some XSLT processors: simpler xpath expressions in filtering.xsl and qt hack in mergesysdef.xsl. Move path processing XSLT templates to separate module so it can be used in both joining and merging. Add .bat files for each of the PERL and XSLT scripts so they can be more esily called from the command line (joinsysdef.bat calls joinsysdef.pl, not joinsysdef.xsl).

Filtering tools: 
filtering.xsl - Filter a sysdef in the 2.0 or 3.0 syntax
filtering.bat - Call filtering.xsl using xalan-j
	filter-module.xsl - XSLT module which contains the logic to process the filter attribute in the system definition

Joining tools: 
joinsysdef.pl - Create a stand-alone sysdef from a linked set of fragments. Supports confguring via an .hrh file.
joinsysdef.bat - Call joinsysdef.pl
joinsysdef.xsl - Create a stand-alone sysdef from a linked set of fragments
joinandparesysdef.xsl - Create a stand-alone sysdef from a linked set of fragments, paring down to just a set of items of the desired rank.
	joinsysdef-module.xsl - XSLT module which contains the logic to join a system definition file

Merging tools: 
mergesysdef.xsl - Merge two 3.x syntax stand-alone system definitions
mergesysdef.bat - Call mergesysdef.xsl using xalan-j
	mergesysdef-module.xsl - XSLT module for merging only two sysdef files according to the 3.0.0 rules

Other tools:
sysdefdowngrade.xsl - Convert a 3.0.x sysdef to 2.0.1 sytnax
sysdefdowngrade.bat - Call sysdefdowngrade.xsl using xalan-j
rootsysdef.pl - Generate a root system definition from a template root sysdef and a set of wildcard paths to look for pkgdef files
rootsysdef.bat - Call rootsysdef.pl

XSLT Processing:
xalan.jar
xercesImpl.jar
xml-apis.jar
serializer.jar

Validation tools:
validate/checklinks.pl - check all referenced files in units exist at the specified locations
validate/checklinks.bat - call checklinks.pl
validate/modelcheck.xsl - Validate a sysdef file, reporting any errors in HTM format. Can validate a sysdef in a web browser by using <?xml-stylesheet type="text/xsl" href="modelcheck.xsl"?>
validate/validate-sysdef.xsl - Validate a sysdef file, reporting any errors as plain text
validate/validate-sysdef.bat - Call validate-sysdef.xsl using xalan-j
	validate/test-model.xsl - common module which actually does the validation