This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Description
Right now, the detection whether a transformer is suitable for a given document is based on XPath only. This severly limits transformers to only support XML input documents. Example:
{
"transformationDescription":{
"name":"transformerSML10",
"applicabilityPath":"boolean(//*[local-name()='SensorML'][@version='1.0.1'])",
A new property should be added to the transformationDescription called applicabilityRegex
, which contains a regex to be compiled in Java (http://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html) to match the input document. This would also allow simple string comparison, and also a "matches everything" configuration:
{
"transformationDescription":{
"name":"transformerMySensorDoc",
"applicabilityRegex":"<SensorML>*<System>",
Implementation steps: