Static XSL Validation for XML Mapping Error Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems for testing XML mappings are limited by the need for extensive input data, especially when dealing with complex transformations, and can miss errors that result in costly run-time issues.

Innovation Solution

A system and method for performing static, pessimistic validation of XML mappings, allowing for reusable validation across multiple transformation definitions without requiring specific test input documents, using configured validation rules to ensure compliance with XML schema definitions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If extensive input data is used for testing XML mappings, then testing coverage is improved, but testing complexity and time requirements increase

Engineering Contradiction:
Improvetesting coverageVSAvoidtesting time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs static validation of XSL transformation definitions before actual transformation execution. By analyzing the transformation logic structure in advance and checking it against schema definitions proactively, the system identifies potential errors without requiring extensive test input data, thus improving testing coverage while reducing time requirements.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent replaces dynamic testing with actual data execution with a static analysis mechanism. Instead of mechanically processing numerous test input documents through the transformation, the system uses computational analysis to validate the transformation definition itself against schema constraints, achieving comprehensive testing with minimal resources.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Reliability

If dynamic testing with actual data is performed, then detection of run-time errors is improved, but testing complexity increases

Engineering Contradiction:
Improveerror detectionVSAvoidtesting complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system performs validation of XSL transformation definitions against schema definitions as a preliminary action before actual data transformation. By statically analyzing the transformation logic and comparing it with schema constraints in advance, the system detects potential errors without executing complex test scenarios, thereby improving reliability while reducing testing complexity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces schema definitions as an intermediary between the XSL transformation logic and test data. The schema acts as a mediator that provides the validation rules, allowing the system to check transformation correctness without directly processing complex test inputs, thus simplifying the testing process while maintaining comprehensive error detection.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Stability of the object's composition

If static validation rules are applied to transformation definitions, then validation consistency is improved, but validation flexibility decreases

Engineering Contradiction:
Improvevalidation consistencyVSAvoidvalidation flexibility
Core Design Contradiction:
Stability of the object's compositionVSAdaptability or versatility

Solution Approach 1:

The system allows parameter changes in validation rules by enabling configuration of different validation scopes and criteria. Users can adjust validation parameters such as which schema definitions to apply, which transformation elements to validate, and the strictness of validation checks, thereby maintaining consistency while adapting to different validation scenarios and requirements.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The validation system incorporates dynamic configurability where validation rules can be adjusted based on specific transformation definitions and schema relationships. The system can dynamically select which validation checks to apply and modify validation behavior according to the context, ensuring consistent validation while maintaining flexibility for different use cases.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS8707270B2Method and system for configurable pessimistic static XSL output validation
Publication Date: 2014.04.22 SIEMENS INDUSTRY SOFTWARE INC
  • US8707270B2 patent drawing
  • US8707270B2 patent drawing
  • US8707270B2 patent drawing

AI summary

A system, method, and computer readable medium. A method includes loading a first language definition and a second language definition. The method includes loading a transformation definition corresponding to the first language definition and the second language definition and loading a validation rule definition. The method includes applying the validation rule definition to the transformation definition to produce a validation result indicating whether the transformation definition produces a valid transformation between the first language definition and the second language definition. The method includes storing the validation result.