cpee 1.3.102
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +3 -0
- data/COPYING +165 -0
- data/FEATURES +28 -0
- data/INSTALL +23 -0
- data/README +7 -0
- data/Rakefile +28 -0
- data/cockpit/contrib/symbols.svg +224 -0
- data/cockpit/contrib/transformation1.xsl +264 -0
- data/cockpit/contrib/transformation2.xsl +10 -0
- data/cockpit/css/ui.css +155 -0
- data/cockpit/index.html +241 -0
- data/cockpit/js/details.js +146 -0
- data/cockpit/js/instance.js +927 -0
- data/cockpit/js/parameters.js +66 -0
- data/cockpit/js/ui.js +48 -0
- data/cockpit/js/wfadaptor.cpee.js +1082 -0
- data/cockpit/lib/contextmenu.css +72 -0
- data/cockpit/lib/contextmenu.js +63 -0
- data/cockpit/lib/jquery-ui.custom.min.js +259 -0
- data/cockpit/lib/jquery-ui.custom.min.txt +16 -0
- data/cockpit/lib/jquery.caret.min.js +10 -0
- data/cockpit/lib/jquery.min.js +4 -0
- data/cockpit/lib/jquery.svgdom.js +281 -0
- data/cockpit/lib/parsequery.js +19 -0
- data/cockpit/lib/printf.js +368 -0
- data/cockpit/lib/strftime.min.js +1 -0
- data/cockpit/lib/ui.css +270 -0
- data/cockpit/lib/ui.js +60 -0
- data/cockpit/lib/underscore.min.js +27 -0
- data/cockpit/lib/util.js +53 -0
- data/cockpit/lib/wfadaptor-doc/demo1.html +517 -0
- data/cockpit/lib/wfadaptor-doc/demo2.html +84 -0
- data/cockpit/lib/wfadaptor-doc/index.html +54 -0
- data/cockpit/lib/wfadaptor.css +217 -0
- data/cockpit/lib/wfadaptor.js +410 -0
- data/cockpit/testsets/ADVENTURE Dynamic Order.xml +353 -0
- data/cockpit/testsets/ADVENTURE Main Loop.xml +327 -0
- data/cockpit/testsets/ADVENTURE Order.xml +424 -0
- data/cockpit/testsets/ADVENTURE Performance Test 1.xml +311 -0
- data/cockpit/testsets/ADVENTURE Performance Test 2.xml +297 -0
- data/cockpit/testsets/Concurrent.xml +315 -0
- data/cockpit/testsets/Coopis Testset.xml +346 -0
- data/cockpit/testsets/Endpoints and Data Manipulation.xml +359 -0
- data/cockpit/testsets/ICSOC Testset.xml +354 -0
- data/cockpit/testsets/Linear.xml +328 -0
- data/cockpit/testsets/Mangler 1.xml +352 -0
- data/cockpit/testsets/Mangler 2.xml +372 -0
- data/cockpit/testsets/RESCUE - Book Movie - Local.xml +385 -0
- data/cockpit/testsets/RESCUE - Book Movie.xml +385 -0
- data/cockpit/testsets/RESCUE - Loop-Parallel Injection.xml +393 -0
- data/cockpit/testsets/SOPROMO Test Sonification.xml +356 -0
- data/cockpit/testsets/Syncing P34 1.xml +329 -0
- data/cockpit/testsets/Syncing P34 2.xml +329 -0
- data/cockpit/testsets/Syncing P34 3.xml +329 -0
- data/cockpit/testsets/Syncing P34.xml +329 -0
- data/cockpit/testsets/TEST - Bad Loop.xml +428 -0
- data/cockpit/testsets/TEST - Wrong Positions.xml +470 -0
- data/cockpit/testsets/index.xml +24 -0
- data/contrib/Screenshot at 2011-09-28 02:38:11.png +0 -0
- data/contrib/logo2-small.png +0 -0
- data/contrib/logo2.png +0 -0
- data/contrib/logo2.svg +7610 -0
- data/contrib/logo2a.png +0 -0
- data/contrib/logo2a.svg +367 -0
- data/cpee.gemspec +24 -0
- data/lib/cpee.xml +39 -0
- data/lib/cpee/callback.rb +40 -0
- data/lib/cpee/controller.rb +440 -0
- data/lib/cpee/empty_workflow.rb +24 -0
- data/lib/cpee/handler_notifications.rb +46 -0
- data/lib/cpee/handler_properties.rb +43 -0
- data/lib/cpee/implementation.rb +174 -0
- data/lib/engine.xml +85 -0
- data/lib/engine/callbacks.rng +41 -0
- data/lib/engine/instance-info.rng +41 -0
- data/lib/engine/instances.rng +38 -0
- data/server/handlerwrappers/default.rb +142 -0
- data/server/handlerwrappers/rescue.rb +216 -0
- data/server/handlerwrappers/soap.rb +152 -0
- data/server/instances/1/notifications/1d41ebf5e52bf039b3c3873fddb8e9bd/consumer-secret +1 -0
- data/server/instances/1/notifications/1d41ebf5e52bf039b3c3873fddb8e9bd/producer-secret +1 -0
- data/server/instances/1/notifications/1d41ebf5e52bf039b3c3873fddb8e9bd/subscription.xml +27 -0
- data/server/instances/1/notifications/66ad546f13c6c7c84f36215c24dd2e6e/consumer-secret +1 -0
- data/server/instances/1/notifications/66ad546f13c6c7c84f36215c24dd2e6e/producer-secret +1 -0
- data/server/instances/1/notifications/66ad546f13c6c7c84f36215c24dd2e6e/subscription.xml +27 -0
- data/server/instances/1/notifications/9f23b768395a19cc1dd6c2d2a243c78e/consumer-secret +1 -0
- data/server/instances/1/notifications/9f23b768395a19cc1dd6c2d2a243c78e/producer-secret +1 -0
- data/server/instances/1/notifications/9f23b768395a19cc1dd6c2d2a243c78e/subscription.xml +27 -0
- data/server/instances/1/notifications/fa690a88cc565dfa53b13ced355cd039/consumer-secret +1 -0
- data/server/instances/1/notifications/fa690a88cc565dfa53b13ced355cd039/producer-secret +1 -0
- data/server/instances/1/notifications/fa690a88cc565dfa53b13ced355cd039/subscription.xml +5 -0
- data/server/instances/1/properties.xml +522 -0
- data/server/instances/10/notifications/0867c4a937f882af259137e36d331261/consumer-secret +1 -0
- data/server/instances/10/notifications/0867c4a937f882af259137e36d331261/producer-secret +1 -0
- data/server/instances/10/notifications/0867c4a937f882af259137e36d331261/subscription.xml +27 -0
- data/server/instances/10/notifications/28acb605c56588ec8e47431c1fcf0b20/consumer-secret +1 -0
- data/server/instances/10/notifications/28acb605c56588ec8e47431c1fcf0b20/producer-secret +1 -0
- data/server/instances/10/notifications/28acb605c56588ec8e47431c1fcf0b20/subscription.xml +27 -0
- data/server/instances/10/notifications/31d3f699def1d1e86dc18ef421f718ad/consumer-secret +1 -0
- data/server/instances/10/notifications/31d3f699def1d1e86dc18ef421f718ad/producer-secret +1 -0
- data/server/instances/10/notifications/31d3f699def1d1e86dc18ef421f718ad/subscription.xml +27 -0
- data/server/instances/10/notifications/380b57220000c45342fc56a1ed8e9e3f/consumer-secret +1 -0
- data/server/instances/10/notifications/380b57220000c45342fc56a1ed8e9e3f/producer-secret +1 -0
- data/server/instances/10/notifications/380b57220000c45342fc56a1ed8e9e3f/subscription.xml +27 -0
- data/server/instances/10/notifications/41eeb5d90b513781fb4b440cb97ca7f1/consumer-secret +1 -0
- data/server/instances/10/notifications/41eeb5d90b513781fb4b440cb97ca7f1/producer-secret +1 -0
- data/server/instances/10/notifications/41eeb5d90b513781fb4b440cb97ca7f1/subscription.xml +27 -0
- data/server/instances/10/notifications/4d8c1b3a8dfdacac98144fad072c46d8/consumer-secret +1 -0
- data/server/instances/10/notifications/4d8c1b3a8dfdacac98144fad072c46d8/producer-secret +1 -0
- data/server/instances/10/notifications/4d8c1b3a8dfdacac98144fad072c46d8/subscription.xml +27 -0
- data/server/instances/10/notifications/4dde696cfb001e00a7efbd8e86ba227d/consumer-secret +1 -0
- data/server/instances/10/notifications/4dde696cfb001e00a7efbd8e86ba227d/producer-secret +1 -0
- data/server/instances/10/notifications/4dde696cfb001e00a7efbd8e86ba227d/subscription.xml +27 -0
- data/server/instances/10/notifications/4e1c0065dd95f7c175bbccb874f0baea/consumer-secret +1 -0
- data/server/instances/10/notifications/4e1c0065dd95f7c175bbccb874f0baea/producer-secret +1 -0
- data/server/instances/10/notifications/4e1c0065dd95f7c175bbccb874f0baea/subscription.xml +27 -0
- data/server/instances/10/notifications/6198fb7d6a8249f7820e3e57eeefa8af/consumer-secret +1 -0
- data/server/instances/10/notifications/6198fb7d6a8249f7820e3e57eeefa8af/producer-secret +1 -0
- data/server/instances/10/notifications/6198fb7d6a8249f7820e3e57eeefa8af/subscription.xml +27 -0
- data/server/instances/10/notifications/6aeb90da52abc150f0f0135d8ba2dbac/consumer-secret +1 -0
- data/server/instances/10/notifications/6aeb90da52abc150f0f0135d8ba2dbac/producer-secret +1 -0
- data/server/instances/10/notifications/6aeb90da52abc150f0f0135d8ba2dbac/subscription.xml +27 -0
- data/server/instances/10/notifications/6d77f5bac1eb9d6165394b6bfc9b492a/consumer-secret +1 -0
- data/server/instances/10/notifications/6d77f5bac1eb9d6165394b6bfc9b492a/producer-secret +1 -0
- data/server/instances/10/notifications/6d77f5bac1eb9d6165394b6bfc9b492a/subscription.xml +27 -0
- data/server/instances/10/notifications/7092411a6bb6822f651798fdcd3c4787/consumer-secret +1 -0
- data/server/instances/10/notifications/7092411a6bb6822f651798fdcd3c4787/producer-secret +1 -0
- data/server/instances/10/notifications/7092411a6bb6822f651798fdcd3c4787/subscription.xml +27 -0
- data/server/instances/10/notifications/7ab29bbad4122295c05f9e33fd1e0fc3/consumer-secret +1 -0
- data/server/instances/10/notifications/7ab29bbad4122295c05f9e33fd1e0fc3/producer-secret +1 -0
- data/server/instances/10/notifications/7ab29bbad4122295c05f9e33fd1e0fc3/subscription.xml +27 -0
- data/server/instances/10/notifications/7fabcecc57fe0bd27ce50bedaef47bd2/consumer-secret +1 -0
- data/server/instances/10/notifications/7fabcecc57fe0bd27ce50bedaef47bd2/producer-secret +1 -0
- data/server/instances/10/notifications/7fabcecc57fe0bd27ce50bedaef47bd2/subscription.xml +27 -0
- data/server/instances/10/notifications/85760dad8f7abbd73ae1dd44140dabf1/consumer-secret +1 -0
- data/server/instances/10/notifications/85760dad8f7abbd73ae1dd44140dabf1/producer-secret +1 -0
- data/server/instances/10/notifications/85760dad8f7abbd73ae1dd44140dabf1/subscription.xml +27 -0
- data/server/instances/10/notifications/8b9a96d109d44a1fc22858006c0f0e16/consumer-secret +1 -0
- data/server/instances/10/notifications/8b9a96d109d44a1fc22858006c0f0e16/producer-secret +1 -0
- data/server/instances/10/notifications/8b9a96d109d44a1fc22858006c0f0e16/subscription.xml +27 -0
- data/server/instances/10/notifications/9120a477e64d7debae2cda964a9948a0/consumer-secret +1 -0
- data/server/instances/10/notifications/9120a477e64d7debae2cda964a9948a0/producer-secret +1 -0
- data/server/instances/10/notifications/9120a477e64d7debae2cda964a9948a0/subscription.xml +27 -0
- data/server/instances/10/notifications/93c5a5ab72a745c0f9fffe2fe58db205/consumer-secret +1 -0
- data/server/instances/10/notifications/93c5a5ab72a745c0f9fffe2fe58db205/producer-secret +1 -0
- data/server/instances/10/notifications/93c5a5ab72a745c0f9fffe2fe58db205/subscription.xml +27 -0
- data/server/instances/10/notifications/a8db1498388588bddf518878263fd898/consumer-secret +1 -0
- data/server/instances/10/notifications/a8db1498388588bddf518878263fd898/producer-secret +1 -0
- data/server/instances/10/notifications/a8db1498388588bddf518878263fd898/subscription.xml +27 -0
- data/server/instances/10/notifications/b534f057c1c97f65e68f59427958e78d/consumer-secret +1 -0
- data/server/instances/10/notifications/b534f057c1c97f65e68f59427958e78d/producer-secret +1 -0
- data/server/instances/10/notifications/b534f057c1c97f65e68f59427958e78d/subscription.xml +27 -0
- data/server/instances/10/notifications/bb3d69ee3df32f3b5cb69a51d1af8ae4/consumer-secret +1 -0
- data/server/instances/10/notifications/bb3d69ee3df32f3b5cb69a51d1af8ae4/producer-secret +1 -0
- data/server/instances/10/notifications/bb3d69ee3df32f3b5cb69a51d1af8ae4/subscription.xml +27 -0
- data/server/instances/10/notifications/bc597391804363834987804436b8b63b/consumer-secret +1 -0
- data/server/instances/10/notifications/bc597391804363834987804436b8b63b/producer-secret +1 -0
- data/server/instances/10/notifications/bc597391804363834987804436b8b63b/subscription.xml +27 -0
- data/server/instances/10/notifications/bf2f6599eebcd9a08e47bdafd4a67660/consumer-secret +1 -0
- data/server/instances/10/notifications/bf2f6599eebcd9a08e47bdafd4a67660/producer-secret +1 -0
- data/server/instances/10/notifications/bf2f6599eebcd9a08e47bdafd4a67660/subscription.xml +27 -0
- data/server/instances/10/notifications/db9cf0ae80bd61e6124c382b992a1550/consumer-secret +1 -0
- data/server/instances/10/notifications/db9cf0ae80bd61e6124c382b992a1550/producer-secret +1 -0
- data/server/instances/10/notifications/db9cf0ae80bd61e6124c382b992a1550/subscription.xml +27 -0
- data/server/instances/10/notifications/e528089610c991500eb2e8b094f6f169/consumer-secret +1 -0
- data/server/instances/10/notifications/e528089610c991500eb2e8b094f6f169/producer-secret +1 -0
- data/server/instances/10/notifications/e528089610c991500eb2e8b094f6f169/subscription.xml +27 -0
- data/server/instances/10/notifications/e7d3ca382d26b5f5eba00c40c29827da/consumer-secret +1 -0
- data/server/instances/10/notifications/e7d3ca382d26b5f5eba00c40c29827da/producer-secret +1 -0
- data/server/instances/10/notifications/e7d3ca382d26b5f5eba00c40c29827da/subscription.xml +27 -0
- data/server/instances/10/notifications/ebdc914fde6fe299143ae4601c142738/consumer-secret +1 -0
- data/server/instances/10/notifications/ebdc914fde6fe299143ae4601c142738/producer-secret +1 -0
- data/server/instances/10/notifications/ebdc914fde6fe299143ae4601c142738/subscription.xml +27 -0
- data/server/instances/10/notifications/f26b2b9efc10b9259647cf1a2b934694/consumer-secret +1 -0
- data/server/instances/10/notifications/f26b2b9efc10b9259647cf1a2b934694/producer-secret +1 -0
- data/server/instances/10/notifications/f26b2b9efc10b9259647cf1a2b934694/subscription.xml +27 -0
- data/server/instances/10/notifications/f4e1d7808171fe7c5fab4a99145ea185/consumer-secret +1 -0
- data/server/instances/10/notifications/f4e1d7808171fe7c5fab4a99145ea185/producer-secret +1 -0
- data/server/instances/10/notifications/f4e1d7808171fe7c5fab4a99145ea185/subscription.xml +27 -0
- data/server/instances/10/notifications/f7e947a1b4b32f3dad5debd44fc3236b/consumer-secret +1 -0
- data/server/instances/10/notifications/f7e947a1b4b32f3dad5debd44fc3236b/producer-secret +1 -0
- data/server/instances/10/notifications/f7e947a1b4b32f3dad5debd44fc3236b/subscription.xml +27 -0
- data/server/instances/10/notifications/fbf5d0ae050a50e8a2fca6bc60f5b8d6/consumer-secret +1 -0
- data/server/instances/10/notifications/fbf5d0ae050a50e8a2fca6bc60f5b8d6/producer-secret +1 -0
- data/server/instances/10/notifications/fbf5d0ae050a50e8a2fca6bc60f5b8d6/subscription.xml +27 -0
- data/server/instances/10/properties.xml +388 -0
- data/server/instances/11/notifications/134c18da209261bc409ccd137b2e46d3/consumer-secret +1 -0
- data/server/instances/11/notifications/134c18da209261bc409ccd137b2e46d3/producer-secret +1 -0
- data/server/instances/11/notifications/134c18da209261bc409ccd137b2e46d3/subscription.xml +27 -0
- data/server/instances/11/notifications/48862f47f66e8229582bc91fbc38a512/consumer-secret +1 -0
- data/server/instances/11/notifications/48862f47f66e8229582bc91fbc38a512/producer-secret +1 -0
- data/server/instances/11/notifications/48862f47f66e8229582bc91fbc38a512/subscription.xml +5 -0
- data/server/instances/11/properties.xml +517 -0
- data/server/instances/2/notifications/0bbfabbebf46b850383b4e1d7bd926e3/consumer-secret +1 -0
- data/server/instances/2/notifications/0bbfabbebf46b850383b4e1d7bd926e3/producer-secret +1 -0
- data/server/instances/2/notifications/0bbfabbebf46b850383b4e1d7bd926e3/subscription.xml +27 -0
- data/server/instances/2/notifications/1d426895d19caa1471c713e80cc3c845/consumer-secret +1 -0
- data/server/instances/2/notifications/1d426895d19caa1471c713e80cc3c845/producer-secret +1 -0
- data/server/instances/2/notifications/1d426895d19caa1471c713e80cc3c845/subscription.xml +27 -0
- data/server/instances/2/notifications/292c8983aa798f0c5ced5ddc4b58abe4/consumer-secret +1 -0
- data/server/instances/2/notifications/292c8983aa798f0c5ced5ddc4b58abe4/producer-secret +1 -0
- data/server/instances/2/notifications/292c8983aa798f0c5ced5ddc4b58abe4/subscription.xml +27 -0
- data/server/instances/2/notifications/332c3026c8ad3075b092bd7e7a2b4f71/consumer-secret +1 -0
- data/server/instances/2/notifications/332c3026c8ad3075b092bd7e7a2b4f71/producer-secret +1 -0
- data/server/instances/2/notifications/332c3026c8ad3075b092bd7e7a2b4f71/subscription.xml +27 -0
- data/server/instances/2/notifications/d377446918808d23d03291fc1140883c/consumer-secret +1 -0
- data/server/instances/2/notifications/d377446918808d23d03291fc1140883c/producer-secret +1 -0
- data/server/instances/2/notifications/d377446918808d23d03291fc1140883c/subscription.xml +27 -0
- data/server/instances/2/notifications/d5b65c7cbff5d259e4ee8405190ec558/consumer-secret +1 -0
- data/server/instances/2/notifications/d5b65c7cbff5d259e4ee8405190ec558/producer-secret +1 -0
- data/server/instances/2/notifications/d5b65c7cbff5d259e4ee8405190ec558/subscription.xml +27 -0
- data/server/instances/2/notifications/d7ee4fedabb402dc43986dfa199e6768/consumer-secret +1 -0
- data/server/instances/2/notifications/d7ee4fedabb402dc43986dfa199e6768/producer-secret +1 -0
- data/server/instances/2/notifications/d7ee4fedabb402dc43986dfa199e6768/subscription.xml +5 -0
- data/server/instances/2/properties.xml +517 -0
- data/server/instances/3/notifications/27195e2503deaf25b3291394fe97985c/consumer-secret +1 -0
- data/server/instances/3/notifications/27195e2503deaf25b3291394fe97985c/producer-secret +1 -0
- data/server/instances/3/notifications/27195e2503deaf25b3291394fe97985c/subscription.xml +5 -0
- data/server/instances/3/notifications/6cec45935d78709a4aa6622491006f4b/consumer-secret +1 -0
- data/server/instances/3/notifications/6cec45935d78709a4aa6622491006f4b/producer-secret +1 -0
- data/server/instances/3/notifications/6cec45935d78709a4aa6622491006f4b/subscription.xml +27 -0
- data/server/instances/3/notifications/755542b2fb8d0c8fb9add29e012ec707/consumer-secret +1 -0
- data/server/instances/3/notifications/755542b2fb8d0c8fb9add29e012ec707/producer-secret +1 -0
- data/server/instances/3/notifications/755542b2fb8d0c8fb9add29e012ec707/subscription.xml +27 -0
- data/server/instances/3/properties.xml +517 -0
- data/server/instances/4/notifications/151e90db818eb5812905257a8eb7cea4/consumer-secret +1 -0
- data/server/instances/4/notifications/151e90db818eb5812905257a8eb7cea4/producer-secret +1 -0
- data/server/instances/4/notifications/151e90db818eb5812905257a8eb7cea4/subscription.xml +5 -0
- data/server/instances/4/notifications/a89df398fcc088c067c39ae3974ec57f/consumer-secret +1 -0
- data/server/instances/4/notifications/a89df398fcc088c067c39ae3974ec57f/producer-secret +1 -0
- data/server/instances/4/notifications/a89df398fcc088c067c39ae3974ec57f/subscription.xml +27 -0
- data/server/instances/4/properties.xml +517 -0
- data/server/instances/5/notifications/02ebbf888bd3efd11924f4c416d784e4/consumer-secret +1 -0
- data/server/instances/5/notifications/02ebbf888bd3efd11924f4c416d784e4/producer-secret +1 -0
- data/server/instances/5/notifications/02ebbf888bd3efd11924f4c416d784e4/subscription.xml +27 -0
- data/server/instances/5/notifications/0b9589d847cccf768013b6082893bce6/consumer-secret +1 -0
- data/server/instances/5/notifications/0b9589d847cccf768013b6082893bce6/producer-secret +1 -0
- data/server/instances/5/notifications/0b9589d847cccf768013b6082893bce6/subscription.xml +5 -0
- data/server/instances/5/properties.xml +517 -0
- data/server/instances/6/notifications/23da9f5c4548f384d625e6d12b3ebe2d/consumer-secret +1 -0
- data/server/instances/6/notifications/23da9f5c4548f384d625e6d12b3ebe2d/producer-secret +1 -0
- data/server/instances/6/notifications/23da9f5c4548f384d625e6d12b3ebe2d/subscription.xml +5 -0
- data/server/instances/6/notifications/282e7077e9c5b9972413cc92a6dcffc3/consumer-secret +1 -0
- data/server/instances/6/notifications/282e7077e9c5b9972413cc92a6dcffc3/producer-secret +1 -0
- data/server/instances/6/notifications/282e7077e9c5b9972413cc92a6dcffc3/subscription.xml +27 -0
- data/server/instances/6/notifications/7e57d7438db8210766eab6873124dc02/consumer-secret +1 -0
- data/server/instances/6/notifications/7e57d7438db8210766eab6873124dc02/producer-secret +1 -0
- data/server/instances/6/notifications/7e57d7438db8210766eab6873124dc02/subscription.xml +27 -0
- data/server/instances/6/properties.xml +517 -0
- data/server/instances/7/notifications/7276b795b5ed2f6638473526d9b1b1e1/consumer-secret +1 -0
- data/server/instances/7/notifications/7276b795b5ed2f6638473526d9b1b1e1/producer-secret +1 -0
- data/server/instances/7/notifications/7276b795b5ed2f6638473526d9b1b1e1/subscription.xml +27 -0
- data/server/instances/7/notifications/f3fbbf27fcbcc02a9f8a614326461a5c/consumer-secret +1 -0
- data/server/instances/7/notifications/f3fbbf27fcbcc02a9f8a614326461a5c/producer-secret +1 -0
- data/server/instances/7/notifications/f3fbbf27fcbcc02a9f8a614326461a5c/subscription.xml +5 -0
- data/server/instances/7/properties.xml +517 -0
- data/server/instances/8/notifications/2854ed5a8f97a33d31f908f67544ec62/consumer-secret +1 -0
- data/server/instances/8/notifications/2854ed5a8f97a33d31f908f67544ec62/producer-secret +1 -0
- data/server/instances/8/notifications/2854ed5a8f97a33d31f908f67544ec62/subscription.xml +27 -0
- data/server/instances/8/notifications/595259518a5cb2ce286bb39840f7a64c/consumer-secret +1 -0
- data/server/instances/8/notifications/595259518a5cb2ce286bb39840f7a64c/producer-secret +1 -0
- data/server/instances/8/notifications/595259518a5cb2ce286bb39840f7a64c/subscription.xml +5 -0
- data/server/instances/8/properties.xml +517 -0
- data/server/instances/9/notifications/54e96913d66f1dd69ec82d2b52268232/consumer-secret +1 -0
- data/server/instances/9/notifications/54e96913d66f1dd69ec82d2b52268232/producer-secret +1 -0
- data/server/instances/9/notifications/54e96913d66f1dd69ec82d2b52268232/subscription.xml +5 -0
- data/server/instances/9/notifications/5debc1fd138fdc80940cd5647003ed45/consumer-secret +1 -0
- data/server/instances/9/notifications/5debc1fd138fdc80940cd5647003ed45/producer-secret +1 -0
- data/server/instances/9/notifications/5debc1fd138fdc80940cd5647003ed45/subscription.xml +27 -0
- data/server/instances/9/properties.xml +517 -0
- data/server/resources/properties.init +351 -0
- data/server/resources/properties.schema.active +79 -0
- data/server/resources/properties.schema.finished +79 -0
- data/server/resources/properties.schema.inactive +79 -0
- data/server/resources/topics.xml +55 -0
- data/server/server.rb +25 -0
- data/server/todo.txt +20 -0
- data/test/delete.rb +27 -0
- data/test/load.rb +55 -0
- data/test/testset.xml +297 -0
- metadata +382 -0
@@ -0,0 +1,428 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<testset>
|
3
|
+
<positions/>
|
4
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
5
|
+
<dataelements>
|
6
|
+
<rev>1</rev>
|
7
|
+
</dataelements>
|
8
|
+
<endpoints>
|
9
|
+
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
10
|
+
</endpoints>
|
11
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
12
|
+
<parallel>
|
13
|
+
<parallel_branch>
|
14
|
+
<loop pre_test='data.feedback'>
|
15
|
+
<call id="publish" endpoint="timeout">
|
16
|
+
<parameters><!--{{{-->
|
17
|
+
<method>post</method>
|
18
|
+
<parameters>
|
19
|
+
<timeout>1</timeout>
|
20
|
+
</parameters>
|
21
|
+
</parameters><!--}}}-->
|
22
|
+
</call>
|
23
|
+
<choose>
|
24
|
+
<alternative condition="data.x != nil">
|
25
|
+
<call id="a4_1" endpoint="timeout">
|
26
|
+
<parameters><!--{{{-->
|
27
|
+
<method>post</method>
|
28
|
+
<parameters>
|
29
|
+
<timeout>4</timeout>
|
30
|
+
</parameters>
|
31
|
+
</parameters><!--}}}-->
|
32
|
+
</call>
|
33
|
+
</alternative>
|
34
|
+
<otherwise>
|
35
|
+
<call id="a4_2" endpoint="timeout">
|
36
|
+
<parameters><!--{{{-->
|
37
|
+
<method>post</method>
|
38
|
+
<parameters>
|
39
|
+
<timeout>10</timeout>
|
40
|
+
</parameters>
|
41
|
+
</parameters><!--}}}-->
|
42
|
+
</call>
|
43
|
+
</otherwise>
|
44
|
+
</choose>
|
45
|
+
<choose>
|
46
|
+
<alternative condition="data.x != nil">
|
47
|
+
<call id="a4_1" endpoint="timeout">
|
48
|
+
<parameters><!--{{{-->
|
49
|
+
<method>post</method>
|
50
|
+
<parameters>
|
51
|
+
<timeout>4</timeout>
|
52
|
+
</parameters>
|
53
|
+
</parameters><!--}}}-->
|
54
|
+
</call>
|
55
|
+
</alternative>
|
56
|
+
<otherwise>
|
57
|
+
<call id="a4_2" endpoint="timeout">
|
58
|
+
<parameters><!--{{{-->
|
59
|
+
<method>post</method>
|
60
|
+
<parameters>
|
61
|
+
<timeout>10</timeout>
|
62
|
+
</parameters>
|
63
|
+
</parameters><!--}}}-->
|
64
|
+
</call>
|
65
|
+
</otherwise>
|
66
|
+
</choose>
|
67
|
+
</loop>
|
68
|
+
<call id="a4_1" endpoint="timeout">
|
69
|
+
<parameters><!--{{{-->
|
70
|
+
<method>post</method>
|
71
|
+
<parameters>
|
72
|
+
<timeout>4</timeout>
|
73
|
+
</parameters>
|
74
|
+
</parameters><!--}}}-->
|
75
|
+
</call>
|
76
|
+
</parallel_branch>
|
77
|
+
<parallel_branch>
|
78
|
+
<loop pre_test='data.feedback'>
|
79
|
+
<call id="prepare" endpoint="timeout">
|
80
|
+
<parameters><!--{{{-->
|
81
|
+
<method>post</method>
|
82
|
+
<parameters>
|
83
|
+
<timeout>4</timeout>
|
84
|
+
</parameters>
|
85
|
+
</parameters><!--}}}-->
|
86
|
+
</call>
|
87
|
+
<parallel>
|
88
|
+
<choose>
|
89
|
+
<parallel_branch>
|
90
|
+
<alternative condition="data.x != nil">
|
91
|
+
<call id="a4_1" endpoint="timeout">
|
92
|
+
<parameters><!--{{{-->
|
93
|
+
<method>post</method>
|
94
|
+
<parameters>
|
95
|
+
<timeout>4</timeout>
|
96
|
+
</parameters>
|
97
|
+
</parameters><!--}}}-->
|
98
|
+
</call>
|
99
|
+
</alternative>
|
100
|
+
</parallel_branch>
|
101
|
+
<parallel_branch>
|
102
|
+
<alternative condition="data.x.nil?">
|
103
|
+
<call id="a4_2" endpoint="timeout">
|
104
|
+
<parameters><!--{{{-->
|
105
|
+
<method>post</method>
|
106
|
+
<parameters>
|
107
|
+
<timeout>10</timeout>
|
108
|
+
</parameters>
|
109
|
+
</parameters><!--}}}-->
|
110
|
+
</call>
|
111
|
+
</alternative>
|
112
|
+
</parallel_branch>
|
113
|
+
</choose>
|
114
|
+
<choose>
|
115
|
+
<parallel_branch>
|
116
|
+
<alternative condition="data.x != nil">
|
117
|
+
<call id="a4_1" endpoint="timeout">
|
118
|
+
<parameters><!--{{{-->
|
119
|
+
<method>post</method>
|
120
|
+
<parameters>
|
121
|
+
<timeout>4</timeout>
|
122
|
+
</parameters>
|
123
|
+
</parameters><!--}}}-->
|
124
|
+
</call>
|
125
|
+
</alternative>
|
126
|
+
</parallel_branch>
|
127
|
+
<parallel_branch>
|
128
|
+
<alternative condition="data.x.nil?">
|
129
|
+
<call id="a4_2" endpoint="timeout">
|
130
|
+
<parameters><!--{{{-->
|
131
|
+
<method>post</method>
|
132
|
+
<parameters>
|
133
|
+
<timeout>10</timeout>
|
134
|
+
</parameters>
|
135
|
+
</parameters><!--}}}-->
|
136
|
+
</call>
|
137
|
+
</alternative>
|
138
|
+
</parallel_branch>
|
139
|
+
</choose>
|
140
|
+
</parallel>
|
141
|
+
</loop>
|
142
|
+
</parallel_branch>
|
143
|
+
</parallel>
|
144
|
+
</description>
|
145
|
+
<transformation>
|
146
|
+
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://cpee.org/ns/description/1.0">
|
147
|
+
<xsl:output method="text"/>
|
148
|
+
<xsl:strip-space elements="*"/>
|
149
|
+
<xsl:variable name="myspacemultiplier">2</xsl:variable>
|
150
|
+
|
151
|
+
<xsl:template match="/">
|
152
|
+
<xsl:apply-templates select="//d:description"/>
|
153
|
+
</xsl:template>
|
154
|
+
|
155
|
+
<xsl:template match="//d:description">
|
156
|
+
<xsl:apply-templates>
|
157
|
+
<xsl:with-param name="myspace"><xsl:value-of select="-1*$myspacemultiplier"/></xsl:with-param>
|
158
|
+
</xsl:apply-templates>
|
159
|
+
</xsl:template>
|
160
|
+
|
161
|
+
<xsl:template match="*">
|
162
|
+
<xsl:param name="myspace"/>
|
163
|
+
<xsl:call-template name="print-space">
|
164
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
165
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
166
|
+
</xsl:call-template>
|
167
|
+
<xsl:if test="name()='call' or name()='manipulate'">
|
168
|
+
<xsl:text>activity :</xsl:text>
|
169
|
+
<xsl:value-of select="@id"/>
|
170
|
+
</xsl:if>
|
171
|
+
<xsl:if test="name()='call'">
|
172
|
+
<xsl:text>, :call, :</xsl:text>
|
173
|
+
<xsl:value-of select="@endpoint"/>
|
174
|
+
<xsl:apply-templates select="d:parameters"/>
|
175
|
+
<xsl:apply-templates select="d:manipulate" mode="part-of-call">
|
176
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
|
177
|
+
</xsl:apply-templates>
|
178
|
+
<xsl:call-template name="print-newline"/>
|
179
|
+
</xsl:if>
|
180
|
+
<xsl:if test="name()='manipulate'">
|
181
|
+
<xsl:text>, :manipulate</xsl:text>
|
182
|
+
<xsl:call-template name="print-content">
|
183
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
|
184
|
+
</xsl:call-template>
|
185
|
+
<xsl:call-template name="print-newline"/>
|
186
|
+
</xsl:if>
|
187
|
+
<xsl:if test="name()='parallel'">
|
188
|
+
<xsl:text>parallel</xsl:text>
|
189
|
+
<xsl:if test="@wait">
|
190
|
+
<xsl:text> :wait => </xsl:text>
|
191
|
+
<xsl:value-of select="@wait"/>
|
192
|
+
</xsl:if>
|
193
|
+
<xsl:text> do</xsl:text>
|
194
|
+
<xsl:call-template name="print-newline"/>
|
195
|
+
<xsl:apply-templates>
|
196
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
197
|
+
</xsl:apply-templates>
|
198
|
+
<xsl:call-template name="print-space">
|
199
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
200
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
201
|
+
</xsl:call-template>
|
202
|
+
<xsl:text>end</xsl:text>
|
203
|
+
<xsl:call-template name="print-newline"/>
|
204
|
+
</xsl:if>
|
205
|
+
<xsl:if test="name()='loop'">
|
206
|
+
<xsl:text>loop </xsl:text>
|
207
|
+
<xsl:if test="@pre_test">
|
208
|
+
<xsl:text>pre_test{</xsl:text>
|
209
|
+
<xsl:value-of select="@pre_test"/>
|
210
|
+
<xsl:text>} </xsl:text>
|
211
|
+
</xsl:if>
|
212
|
+
<xsl:if test="@post_test">
|
213
|
+
<xsl:text>post_test{</xsl:text>
|
214
|
+
<xsl:value-of select="@post_test"/>
|
215
|
+
<xsl:text>} </xsl:text>
|
216
|
+
</xsl:if>
|
217
|
+
<xsl:text>do</xsl:text>
|
218
|
+
<xsl:call-template name="print-newline"/>
|
219
|
+
<xsl:apply-templates>
|
220
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
221
|
+
</xsl:apply-templates>
|
222
|
+
<xsl:call-template name="print-space">
|
223
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
224
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
225
|
+
</xsl:call-template>
|
226
|
+
<xsl:text>end</xsl:text>
|
227
|
+
<xsl:call-template name="print-newline"/>
|
228
|
+
</xsl:if>
|
229
|
+
<xsl:if test="name()='choose'">
|
230
|
+
<xsl:text>choose do</xsl:text>
|
231
|
+
<xsl:call-template name="print-newline"/>
|
232
|
+
<xsl:apply-templates>
|
233
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
234
|
+
</xsl:apply-templates>
|
235
|
+
<xsl:call-template name="print-space">
|
236
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
237
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
238
|
+
</xsl:call-template>
|
239
|
+
<xsl:text>end</xsl:text>
|
240
|
+
<xsl:call-template name="print-newline"/>
|
241
|
+
</xsl:if>
|
242
|
+
<xsl:if test="name()='group'">
|
243
|
+
<xsl:apply-templates>
|
244
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
245
|
+
</xsl:apply-templates>
|
246
|
+
<xsl:call-template name="print-newline"/>
|
247
|
+
</xsl:if>
|
248
|
+
<xsl:if test="name()='critical'">
|
249
|
+
<xsl:text>critical :</xsl:text>
|
250
|
+
<xsl:value-of select="@sid"/>
|
251
|
+
<xsl:text> do</xsl:text>
|
252
|
+
<xsl:call-template name="print-newline"/>
|
253
|
+
<xsl:apply-templates>
|
254
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
255
|
+
</xsl:apply-templates>
|
256
|
+
<xsl:call-template name="print-space">
|
257
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
258
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
259
|
+
</xsl:call-template>
|
260
|
+
<xsl:text>end</xsl:text>
|
261
|
+
<xsl:call-template name="print-newline"/>
|
262
|
+
</xsl:if>
|
263
|
+
</xsl:template>
|
264
|
+
|
265
|
+
<xsl:template match="d:alternative">
|
266
|
+
<xsl:param name="myspace"/>
|
267
|
+
<xsl:call-template name="print-space">
|
268
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
269
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
270
|
+
</xsl:call-template>
|
271
|
+
<xsl:text>alternative </xsl:text>
|
272
|
+
<xsl:value-of select="@condition"/>
|
273
|
+
<xsl:text> do</xsl:text>
|
274
|
+
<xsl:call-template name="print-newline"/>
|
275
|
+
<xsl:apply-templates>
|
276
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
277
|
+
</xsl:apply-templates>
|
278
|
+
<xsl:call-template name="print-space">
|
279
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
280
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
281
|
+
</xsl:call-template>
|
282
|
+
<xsl:text>end</xsl:text>
|
283
|
+
<xsl:call-template name="print-newline"/>
|
284
|
+
</xsl:template>
|
285
|
+
|
286
|
+
<xsl:template match="d:otherwise">
|
287
|
+
<xsl:param name="myspace"/>
|
288
|
+
<xsl:call-template name="print-space">
|
289
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
290
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
291
|
+
</xsl:call-template>
|
292
|
+
<xsl:text>otherwise do</xsl:text>
|
293
|
+
<xsl:call-template name="print-newline"/>
|
294
|
+
<xsl:apply-templates>
|
295
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
296
|
+
</xsl:apply-templates>
|
297
|
+
<xsl:call-template name="print-space">
|
298
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
299
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
300
|
+
</xsl:call-template>
|
301
|
+
<xsl:text>end</xsl:text>
|
302
|
+
<xsl:call-template name="print-newline"/>
|
303
|
+
</xsl:template>
|
304
|
+
|
305
|
+
<xsl:template match="d:parallel_branch">
|
306
|
+
<xsl:param name="myspace"/>
|
307
|
+
<xsl:call-template name="print-space">
|
308
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
309
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
310
|
+
</xsl:call-template>
|
311
|
+
<xsl:text>parallel_branch</xsl:text>
|
312
|
+
<xsl:if test="@pass">
|
313
|
+
<xsl:text> </xsl:text>
|
314
|
+
<xsl:value-of select="@pass"/>
|
315
|
+
</xsl:if>
|
316
|
+
<xsl:text> do</xsl:text>
|
317
|
+
<xsl:if test="@local">
|
318
|
+
<xsl:text> |</xsl:text>
|
319
|
+
<xsl:value-of select="@local"/>
|
320
|
+
<xsl:text>|</xsl:text>
|
321
|
+
</xsl:if>
|
322
|
+
<xsl:call-template name="print-newline"/>
|
323
|
+
<xsl:apply-templates>
|
324
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
325
|
+
</xsl:apply-templates>
|
326
|
+
<xsl:call-template name="print-space">
|
327
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
328
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
329
|
+
</xsl:call-template>
|
330
|
+
<xsl:text>end</xsl:text>
|
331
|
+
<xsl:call-template name="print-newline"/>
|
332
|
+
</xsl:template>
|
333
|
+
|
334
|
+
<xsl:template match="d:parameters">
|
335
|
+
<xsl:apply-templates select="d:*" mode="parameter"/>
|
336
|
+
</xsl:template>
|
337
|
+
|
338
|
+
<xsl:template match="d:*" mode="parameter">
|
339
|
+
<xsl:text>, :</xsl:text>
|
340
|
+
<xsl:value-of select="name()"/>
|
341
|
+
<xsl:text> => </xsl:text>
|
342
|
+
<xsl:choose>
|
343
|
+
<xsl:when test="count(*) > 0">
|
344
|
+
<xsl:text>[</xsl:text>
|
345
|
+
<xsl:apply-templates select="d:*" mode="sub-parameter"/>
|
346
|
+
<xsl:text>]</xsl:text>
|
347
|
+
</xsl:when>
|
348
|
+
<xsl:otherwise>
|
349
|
+
<xsl:choose>
|
350
|
+
<xsl:when test="@type = 'symbolic'">
|
351
|
+
<xsl:value-of select="text()"/>
|
352
|
+
</xsl:when>
|
353
|
+
<xsl:otherwise>
|
354
|
+
<xsl:text>"</xsl:text>
|
355
|
+
<xsl:value-of select="text()"/>
|
356
|
+
<xsl:text>"</xsl:text>
|
357
|
+
</xsl:otherwise>
|
358
|
+
</xsl:choose>
|
359
|
+
</xsl:otherwise>
|
360
|
+
</xsl:choose>
|
361
|
+
</xsl:template>
|
362
|
+
|
363
|
+
<xsl:template match="d:*" mode="sub-parameter">
|
364
|
+
<xsl:text> { :</xsl:text>
|
365
|
+
<xsl:value-of select="name()"/>
|
366
|
+
<xsl:text> => </xsl:text>
|
367
|
+
<xsl:value-of select="text()"/>
|
368
|
+
<xsl:text> }</xsl:text>
|
369
|
+
<xsl:choose>
|
370
|
+
<xsl:when test="generate-id(.) = generate-id(../*[last()])">
|
371
|
+
<xsl:text> </xsl:text>
|
372
|
+
</xsl:when>
|
373
|
+
<xsl:otherwise>
|
374
|
+
<xsl:text>,</xsl:text>
|
375
|
+
</xsl:otherwise>
|
376
|
+
</xsl:choose>
|
377
|
+
</xsl:template>
|
378
|
+
|
379
|
+
<xsl:template match="d:manipulate" mode="part-of-call">
|
380
|
+
<xsl:param name="myspace"/>
|
381
|
+
<xsl:call-template name="print-content">
|
382
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
|
383
|
+
</xsl:call-template>
|
384
|
+
</xsl:template>
|
385
|
+
|
386
|
+
<xsl:template name="print-content">
|
387
|
+
<xsl:param name="myspace"/>
|
388
|
+
<xsl:if test="text()">
|
389
|
+
<xsl:text> do </xsl:text>
|
390
|
+
<xsl:if test="@output">
|
391
|
+
<xsl:text>|</xsl:text>
|
392
|
+
<xsl:value-of select="@output"/>
|
393
|
+
<xsl:text>|</xsl:text>
|
394
|
+
</xsl:if>
|
395
|
+
<xsl:call-template name="print-newline"/>
|
396
|
+
<xsl:value-of select="text()"/>
|
397
|
+
<xsl:call-template name="print-newline"/>
|
398
|
+
<xsl:call-template name="print-space">
|
399
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
400
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
401
|
+
</xsl:call-template>
|
402
|
+
<xsl:text>end</xsl:text>
|
403
|
+
</xsl:if>
|
404
|
+
</xsl:template>
|
405
|
+
|
406
|
+
<xsl:template name="print-space">
|
407
|
+
<xsl:param name="i"/>
|
408
|
+
<xsl:param name="count"/>
|
409
|
+
<xsl:if test="$i <= $count">
|
410
|
+
<xsl:text> </xsl:text>
|
411
|
+
<xsl:call-template name="print-space">
|
412
|
+
<xsl:with-param name="i">
|
413
|
+
<xsl:value-of select="$i + 1"/>
|
414
|
+
</xsl:with-param>
|
415
|
+
<xsl:with-param name="count">
|
416
|
+
<xsl:value-of select="$count"/>
|
417
|
+
</xsl:with-param>
|
418
|
+
</xsl:call-template>
|
419
|
+
</xsl:if>
|
420
|
+
</xsl:template>
|
421
|
+
<xsl:template name="print-newline">
|
422
|
+
<xsl:text>
|
423
|
+
</xsl:text>
|
424
|
+
</xsl:template>
|
425
|
+
|
426
|
+
</xsl:stylesheet>
|
427
|
+
</transformation>
|
428
|
+
</testset>
|
@@ -0,0 +1,470 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<testset>
|
3
|
+
<positions/>
|
4
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
5
|
+
<dataelements>
|
6
|
+
<wait>3</wait>
|
7
|
+
</dataelements>
|
8
|
+
<endpoints>
|
9
|
+
<services>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</services>
|
10
|
+
<injection>http://localhost:9290/injection/handler</injection>
|
11
|
+
</endpoints>
|
12
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
13
|
+
<parallel>
|
14
|
+
<parallel_branch>
|
15
|
+
<call id="b1_a01" endpoint="services">
|
16
|
+
<parameters><!--{{{-->
|
17
|
+
<service/>
|
18
|
+
<parameters>
|
19
|
+
<op1>data.wait</op1>
|
20
|
+
</parameters>
|
21
|
+
</parameters><!--}}}-->
|
22
|
+
<manipulate output="result">
|
23
|
+
data.wait -= 1
|
24
|
+
</manipulate>
|
25
|
+
</call>
|
26
|
+
<manipulate id="b1_a02">
|
27
|
+
data.wait += 1
|
28
|
+
</manipulate>
|
29
|
+
<parallel>
|
30
|
+
<parallel_branch>
|
31
|
+
<call id="b1_a03" endpoint="services">
|
32
|
+
<parameters><!--{{{-->
|
33
|
+
<service/>
|
34
|
+
<parameters>
|
35
|
+
<op1>data.wait</op1>
|
36
|
+
</parameters>
|
37
|
+
</parameters><!--}}}-->
|
38
|
+
<manipulate output="result">
|
39
|
+
data.wait -= 1
|
40
|
+
</manipulate>
|
41
|
+
</call>
|
42
|
+
<call id="b1_a04" endpoint="services">
|
43
|
+
<parameters><!--{{{-->
|
44
|
+
<service/>
|
45
|
+
<parameters>
|
46
|
+
<op1>data.wait</op1>
|
47
|
+
</parameters>
|
48
|
+
</parameters><!--}}}-->
|
49
|
+
<manipulate output="result">
|
50
|
+
data.wait -= 1
|
51
|
+
</manipulate>
|
52
|
+
</call>
|
53
|
+
<manipulate id="b1_a05">
|
54
|
+
data.wait += 1
|
55
|
+
</manipulate>
|
56
|
+
</parallel_branch>
|
57
|
+
<parallel_branch>
|
58
|
+
<call id="b1_a06" endpoint="services">
|
59
|
+
<parameters><!--{{{-->
|
60
|
+
<service/>
|
61
|
+
<parameters>
|
62
|
+
<op1>data.wait</op1>
|
63
|
+
</parameters>
|
64
|
+
</parameters><!--}}}-->
|
65
|
+
<manipulate output="result">
|
66
|
+
data.wait -= 1
|
67
|
+
</manipulate>
|
68
|
+
</call>
|
69
|
+
<manipulate id="b1_a07">
|
70
|
+
data.wait += 1
|
71
|
+
</manipulate>
|
72
|
+
<call id="b1_a08" endpoint="services">
|
73
|
+
<parameters><!--{{{-->
|
74
|
+
<service/>
|
75
|
+
<parameters>
|
76
|
+
<op1>data.wait</op1>
|
77
|
+
</parameters>
|
78
|
+
</parameters><!--}}}-->
|
79
|
+
<manipulate output="result">
|
80
|
+
data.wait -= 1
|
81
|
+
</manipulate>
|
82
|
+
</call>
|
83
|
+
</parallel_branch>
|
84
|
+
</parallel>
|
85
|
+
</parallel_branch>
|
86
|
+
<parallel_branch>
|
87
|
+
<call id="b2_a01" endpoint="services">
|
88
|
+
<parameters><!--{{{-->
|
89
|
+
<service/>
|
90
|
+
<parameters>
|
91
|
+
<op1>data.wait</op1>
|
92
|
+
</parameters>
|
93
|
+
</parameters><!--}}}-->
|
94
|
+
<manipulate output="result">
|
95
|
+
data.wait -= 1
|
96
|
+
</manipulate>
|
97
|
+
</call>
|
98
|
+
<manipulate id="b2_a02">
|
99
|
+
data.wait += 1
|
100
|
+
</manipulate>
|
101
|
+
<parallel>
|
102
|
+
<parallel_branch>
|
103
|
+
<call id="b2_a03" endpoint="services">
|
104
|
+
<parameters><!--{{{-->
|
105
|
+
<service/>
|
106
|
+
<parameters>
|
107
|
+
<op1>data.wait</op1>
|
108
|
+
</parameters>
|
109
|
+
</parameters><!--}}}-->
|
110
|
+
<manipulate output="result">
|
111
|
+
data.wait -= 1
|
112
|
+
</manipulate>
|
113
|
+
</call>
|
114
|
+
<call id="b2_a04" endpoint="services">
|
115
|
+
<parameters><!--{{{-->
|
116
|
+
<service/>
|
117
|
+
<parameters>
|
118
|
+
<op1>data.wait</op1>
|
119
|
+
</parameters>
|
120
|
+
</parameters><!--}}}-->
|
121
|
+
<manipulate output="result">
|
122
|
+
data.wait -= 1
|
123
|
+
</manipulate>
|
124
|
+
</call>
|
125
|
+
<manipulate id="b2_a05">
|
126
|
+
data.wait += 1
|
127
|
+
</manipulate>
|
128
|
+
</parallel_branch>
|
129
|
+
<parallel_branch>
|
130
|
+
<call id="b2_a06" endpoint="services">
|
131
|
+
<parameters><!--{{{-->
|
132
|
+
<service/>
|
133
|
+
<parameters>
|
134
|
+
<op1>data.wait</op1>
|
135
|
+
</parameters>
|
136
|
+
</parameters><!--}}}-->
|
137
|
+
<manipulate output="result">
|
138
|
+
data.wait -= 1
|
139
|
+
</manipulate>
|
140
|
+
</call>
|
141
|
+
<manipulate id="b2_a07">
|
142
|
+
data.wait += 1
|
143
|
+
</manipulate>
|
144
|
+
<call id="b2_a08" endpoint="services">
|
145
|
+
<parameters><!--{{{-->
|
146
|
+
<service/>
|
147
|
+
<parameters>
|
148
|
+
<op1>data.wait</op1>
|
149
|
+
</parameters>
|
150
|
+
</parameters><!--}}}-->
|
151
|
+
<manipulate output="result">
|
152
|
+
data.wait -= 1
|
153
|
+
</manipulate>
|
154
|
+
</call>
|
155
|
+
</parallel_branch>
|
156
|
+
</parallel>
|
157
|
+
</parallel_branch>
|
158
|
+
</parallel>
|
159
|
+
</description>
|
160
|
+
<transformation>
|
161
|
+
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://cpee.org/ns/description/1.0">
|
162
|
+
<xsl:output method="text"/>
|
163
|
+
<xsl:strip-space elements="*"/>
|
164
|
+
<xsl:variable name="myspacemultiplier">2</xsl:variable>
|
165
|
+
|
166
|
+
<xsl:template match="/">
|
167
|
+
<xsl:apply-templates select="//d:description"/>
|
168
|
+
</xsl:template>
|
169
|
+
|
170
|
+
<xsl:template match="//d:description">
|
171
|
+
<xsl:apply-templates>
|
172
|
+
<xsl:with-param name="myspace"><xsl:value-of select="-1*$myspacemultiplier"/></xsl:with-param>
|
173
|
+
</xsl:apply-templates>
|
174
|
+
</xsl:template>
|
175
|
+
|
176
|
+
<xsl:template match="*">
|
177
|
+
<xsl:param name="myspace"/>
|
178
|
+
<xsl:call-template name="print-space">
|
179
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
180
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
181
|
+
</xsl:call-template>
|
182
|
+
<xsl:if test="name()='call' or name()='manipulate'">
|
183
|
+
<xsl:text>activity :</xsl:text>
|
184
|
+
<xsl:value-of select="@id"/>
|
185
|
+
</xsl:if>
|
186
|
+
<xsl:if test="name()='call'">
|
187
|
+
<xsl:text>, :call, :</xsl:text>
|
188
|
+
<xsl:value-of select="@endpoint"/>
|
189
|
+
<xsl:apply-templates select="d:parameters"/>
|
190
|
+
<xsl:apply-templates select="d:manipulate" mode="part-of-call">
|
191
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
|
192
|
+
</xsl:apply-templates>
|
193
|
+
<xsl:call-template name="print-newline"/>
|
194
|
+
</xsl:if>
|
195
|
+
<xsl:if test="name()='manipulate'">
|
196
|
+
<xsl:text>, :manipulate</xsl:text>
|
197
|
+
<!-- RESCUE: manipulate with dataelement as result object -->
|
198
|
+
<xsl:if test="@data">
|
199
|
+
<xsl:text>, nil,</xsl:text>
|
200
|
+
<xsl:value-of select="@data"/>
|
201
|
+
</xsl:if>
|
202
|
+
<xsl:if test="@properties">
|
203
|
+
<xsl:text>,</xsl:text>
|
204
|
+
<xsl:value-of select="@properties"/>
|
205
|
+
</xsl:if>
|
206
|
+
<!-- RESCUE -->
|
207
|
+
<xsl:call-template name="print-content">
|
208
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
|
209
|
+
</xsl:call-template>
|
210
|
+
<xsl:call-template name="print-newline"/>
|
211
|
+
</xsl:if>
|
212
|
+
<xsl:if test="name()='parallel'">
|
213
|
+
<xsl:text>parallel</xsl:text>
|
214
|
+
<xsl:if test="@wait">
|
215
|
+
<xsl:text> :wait => </xsl:text>
|
216
|
+
<xsl:value-of select="@wait"/>
|
217
|
+
</xsl:if>
|
218
|
+
<xsl:text> do</xsl:text>
|
219
|
+
<xsl:call-template name="print-newline"/>
|
220
|
+
<xsl:apply-templates>
|
221
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
222
|
+
</xsl:apply-templates>
|
223
|
+
<xsl:call-template name="print-space">
|
224
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
225
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
226
|
+
</xsl:call-template>
|
227
|
+
<xsl:text>end</xsl:text>
|
228
|
+
<xsl:call-template name="print-newline"/>
|
229
|
+
</xsl:if>
|
230
|
+
<xsl:if test="name()='loop'">
|
231
|
+
<xsl:text>loop </xsl:text>
|
232
|
+
<xsl:if test="@pre_test">
|
233
|
+
<xsl:text>pre_test{</xsl:text>
|
234
|
+
<xsl:value-of select="@pre_test"/>
|
235
|
+
<xsl:text>} </xsl:text>
|
236
|
+
</xsl:if>
|
237
|
+
<xsl:if test="@post_test">
|
238
|
+
<xsl:text>post_test{</xsl:text>
|
239
|
+
<xsl:value-of select="@post_test"/>
|
240
|
+
<xsl:text>} </xsl:text>
|
241
|
+
</xsl:if>
|
242
|
+
<xsl:text>do</xsl:text>
|
243
|
+
<xsl:call-template name="print-newline"/>
|
244
|
+
<xsl:apply-templates>
|
245
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
246
|
+
</xsl:apply-templates>
|
247
|
+
<xsl:call-template name="print-space">
|
248
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
249
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
250
|
+
</xsl:call-template>
|
251
|
+
<xsl:text>end</xsl:text>
|
252
|
+
<xsl:call-template name="print-newline"/>
|
253
|
+
</xsl:if>
|
254
|
+
<xsl:if test="name()='choose'">
|
255
|
+
<xsl:text>choose do</xsl:text>
|
256
|
+
<xsl:call-template name="print-newline"/>
|
257
|
+
<xsl:apply-templates>
|
258
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
259
|
+
</xsl:apply-templates>
|
260
|
+
<xsl:call-template name="print-space">
|
261
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
262
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
263
|
+
</xsl:call-template>
|
264
|
+
<xsl:text>end</xsl:text>
|
265
|
+
<xsl:call-template name="print-newline"/>
|
266
|
+
</xsl:if>
|
267
|
+
<!-- RESCUE -->
|
268
|
+
<xsl:if test="name()='injected'">
|
269
|
+
<xsl:text># ========== Code was injected via: </xsl:text>
|
270
|
+
<xsl:value-of select="@source"/>
|
271
|
+
<xsl:text>==========</xsl:text>
|
272
|
+
<xsl:call-template name="print-newline"/>
|
273
|
+
<xsl:apply-templates>
|
274
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
275
|
+
</xsl:apply-templates>
|
276
|
+
<xsl:call-template name="print-newline"/>
|
277
|
+
<xsl:text># ========== End of injected code ============ </xsl:text>
|
278
|
+
<xsl:call-template name="print-newline"/>
|
279
|
+
</xsl:if>
|
280
|
+
<!-- RESCUE -->
|
281
|
+
<xsl:if test="name()='group'">
|
282
|
+
<xsl:apply-templates>
|
283
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
284
|
+
</xsl:apply-templates>
|
285
|
+
<xsl:call-template name="print-newline"/>
|
286
|
+
</xsl:if>
|
287
|
+
<xsl:if test="name()='critical'">
|
288
|
+
<xsl:text>critical :</xsl:text>
|
289
|
+
<xsl:value-of select="@sid"/>
|
290
|
+
<xsl:text> do</xsl:text>
|
291
|
+
<xsl:call-template name="print-newline"/>
|
292
|
+
<xsl:apply-templates>
|
293
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
294
|
+
</xsl:apply-templates>
|
295
|
+
<xsl:call-template name="print-space">
|
296
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
297
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
298
|
+
</xsl:call-template>
|
299
|
+
<xsl:text>end</xsl:text>
|
300
|
+
<xsl:call-template name="print-newline"/>
|
301
|
+
</xsl:if>
|
302
|
+
</xsl:template>
|
303
|
+
|
304
|
+
<xsl:template match="d:alternative">
|
305
|
+
<xsl:param name="myspace"/>
|
306
|
+
<xsl:call-template name="print-space">
|
307
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
308
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
309
|
+
</xsl:call-template>
|
310
|
+
<xsl:text>alternative </xsl:text>
|
311
|
+
<xsl:value-of select="@condition"/>
|
312
|
+
<xsl:text> do</xsl:text>
|
313
|
+
<xsl:call-template name="print-newline"/>
|
314
|
+
<xsl:apply-templates>
|
315
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
316
|
+
</xsl:apply-templates>
|
317
|
+
<xsl:call-template name="print-space">
|
318
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
319
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
320
|
+
</xsl:call-template>
|
321
|
+
<xsl:text>end</xsl:text>
|
322
|
+
<xsl:call-template name="print-newline"/>
|
323
|
+
</xsl:template>
|
324
|
+
|
325
|
+
<xsl:template match="d:otherwise">
|
326
|
+
<xsl:param name="myspace"/>
|
327
|
+
<xsl:call-template name="print-space">
|
328
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
329
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
330
|
+
</xsl:call-template>
|
331
|
+
<xsl:text>otherwise do</xsl:text>
|
332
|
+
<xsl:call-template name="print-newline"/>
|
333
|
+
<xsl:apply-templates>
|
334
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
335
|
+
</xsl:apply-templates>
|
336
|
+
<xsl:call-template name="print-space">
|
337
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
338
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
339
|
+
</xsl:call-template>
|
340
|
+
<xsl:text>end</xsl:text>
|
341
|
+
<xsl:call-template name="print-newline"/>
|
342
|
+
</xsl:template>
|
343
|
+
|
344
|
+
<xsl:template match="d:parallel_branch">
|
345
|
+
<xsl:param name="myspace"/>
|
346
|
+
<xsl:call-template name="print-space">
|
347
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
348
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
349
|
+
</xsl:call-template>
|
350
|
+
<xsl:text>parallel_branch</xsl:text>
|
351
|
+
<xsl:if test="@pass">
|
352
|
+
<xsl:text> </xsl:text>
|
353
|
+
<xsl:value-of select="@pass"/>
|
354
|
+
</xsl:if>
|
355
|
+
<xsl:text> do</xsl:text>
|
356
|
+
<xsl:if test="@local">
|
357
|
+
<xsl:text> |</xsl:text>
|
358
|
+
<xsl:value-of select="@local"/>
|
359
|
+
<xsl:text>|</xsl:text>
|
360
|
+
</xsl:if>
|
361
|
+
<xsl:call-template name="print-newline"/>
|
362
|
+
<xsl:apply-templates>
|
363
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
364
|
+
</xsl:apply-templates>
|
365
|
+
<xsl:call-template name="print-space">
|
366
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
367
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
368
|
+
</xsl:call-template>
|
369
|
+
<xsl:text>end</xsl:text>
|
370
|
+
<xsl:call-template name="print-newline"/>
|
371
|
+
</xsl:template>
|
372
|
+
|
373
|
+
<xsl:template match="d:parameters">
|
374
|
+
<xsl:apply-templates select="d:*" mode="parameter"/>
|
375
|
+
</xsl:template>
|
376
|
+
|
377
|
+
<xsl:template match="d:*" mode="parameter">
|
378
|
+
<xsl:text>, :</xsl:text>
|
379
|
+
<xsl:value-of select="name()"/>
|
380
|
+
<xsl:text> => </xsl:text>
|
381
|
+
<xsl:choose>
|
382
|
+
<xsl:when test="count(*) > 0">
|
383
|
+
<xsl:text>[</xsl:text>
|
384
|
+
<xsl:apply-templates select="d:*" mode="sub-parameter"/>
|
385
|
+
<xsl:text>]</xsl:text>
|
386
|
+
</xsl:when>
|
387
|
+
<xsl:otherwise>
|
388
|
+
<xsl:choose>
|
389
|
+
<xsl:when test="@type = 'symbolic'">
|
390
|
+
<xsl:value-of select="text()"/>
|
391
|
+
</xsl:when>
|
392
|
+
<xsl:otherwise>
|
393
|
+
<xsl:text>"</xsl:text>
|
394
|
+
<xsl:value-of select="text()"/>
|
395
|
+
<xsl:text>"</xsl:text>
|
396
|
+
</xsl:otherwise>
|
397
|
+
</xsl:choose>
|
398
|
+
</xsl:otherwise>
|
399
|
+
</xsl:choose>
|
400
|
+
</xsl:template>
|
401
|
+
|
402
|
+
<xsl:template match="d:*" mode="sub-parameter">
|
403
|
+
<xsl:text> { :</xsl:text>
|
404
|
+
<xsl:value-of select="name()"/>
|
405
|
+
<xsl:text> => </xsl:text>
|
406
|
+
<xsl:value-of select="text()"/>
|
407
|
+
<xsl:text> }</xsl:text>
|
408
|
+
<xsl:choose>
|
409
|
+
<xsl:when test="generate-id(.) = generate-id(../*[last()])">
|
410
|
+
<xsl:text> </xsl:text>
|
411
|
+
</xsl:when>
|
412
|
+
<xsl:otherwise>
|
413
|
+
<xsl:text>,</xsl:text>
|
414
|
+
</xsl:otherwise>
|
415
|
+
</xsl:choose>
|
416
|
+
</xsl:template>
|
417
|
+
|
418
|
+
<xsl:template match="d:manipulate" mode="part-of-call">
|
419
|
+
<xsl:param name="myspace"/>
|
420
|
+
<xsl:call-template name="print-content">
|
421
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
|
422
|
+
</xsl:call-template>
|
423
|
+
</xsl:template>
|
424
|
+
|
425
|
+
<xsl:template name="print-content">
|
426
|
+
<xsl:param name="myspace"/>
|
427
|
+
<xsl:if test="text()">
|
428
|
+
<xsl:text> do </xsl:text>
|
429
|
+
<xsl:if test="@output">
|
430
|
+
<xsl:text>|</xsl:text>
|
431
|
+
<xsl:value-of select="@output"/>
|
432
|
+
<xsl:if test="@properties">
|
433
|
+
<xsl:text>, properties</xsl:text>
|
434
|
+
</xsl:if>
|
435
|
+
<xsl:text>|</xsl:text>
|
436
|
+
</xsl:if>
|
437
|
+
<xsl:call-template name="print-newline"/>
|
438
|
+
<xsl:value-of select="text()"/>
|
439
|
+
<xsl:call-template name="print-newline"/>
|
440
|
+
<xsl:call-template name="print-space">
|
441
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
442
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
443
|
+
</xsl:call-template>
|
444
|
+
<xsl:text>end</xsl:text>
|
445
|
+
</xsl:if>
|
446
|
+
</xsl:template>
|
447
|
+
|
448
|
+
<xsl:template name="print-space">
|
449
|
+
<xsl:param name="i"/>
|
450
|
+
<xsl:param name="count"/>
|
451
|
+
<xsl:if test="$i <= $count">
|
452
|
+
<xsl:text> </xsl:text>
|
453
|
+
<xsl:call-template name="print-space">
|
454
|
+
<xsl:with-param name="i">
|
455
|
+
<xsl:value-of select="$i + 1"/>
|
456
|
+
</xsl:with-param>
|
457
|
+
<xsl:with-param name="count">
|
458
|
+
<xsl:value-of select="$count"/>
|
459
|
+
</xsl:with-param>
|
460
|
+
</xsl:call-template>
|
461
|
+
</xsl:if>
|
462
|
+
</xsl:template>
|
463
|
+
<xsl:template name="print-newline">
|
464
|
+
<xsl:text>
|
465
|
+
</xsl:text>
|
466
|
+
</xsl:template>
|
467
|
+
|
468
|
+
</xsl:stylesheet>
|
469
|
+
</transformation>
|
470
|
+
</testset>
|