Dynamic XML Editor Validation via Real-Time Constraint Checking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

XML documents with increased complexity and richness require more efficient validation methods, as standard techniques fail to express all constraints, leading to time-consuming edits and potential waste if errors are detected post-editing.

Innovation Solution

The development of dynamically validating editors that receive user edits and determine the availability of customized editors for specific document portions, allowing for real-time validation and UI element selection based on context, using XML Schema Definition (XSD) files to extend static validation capabilities and implement custom editors for dynamic validation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If standard XML validation techniques are used, then validation is performed, but validation occurs only after editing is completed, causing time loss when errors are detected

Engineering Contradiction:
Improveediting timeVSAvoidvalidation timing
Core Design Contradiction:
Loss of timeVSReliability

Solution Approach 1:

The patent implements validation rules and constraints within the editor interface itself, allowing validation to occur during the editing process rather than after completion. The editor provides real-time feedback on constraint violations as users make edits, enabling preliminary detection and correction of errors before the editing session ends.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system provides immediate feedback to users when their edits violate defined constraints. The editor monitors changes in real-time and displays validation errors or warnings directly in the interface, allowing users to correct issues during editing rather than discovering them post-editing.

Inventive Principle:
Principle #23Feedback

2Measurement precision

If post-edit validation is performed, then errors are detected, but the editing time is effectively wasted if errors are found

Engineering Contradiction:
Improveerror detection accuracyVSAvoidediting time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

Validation rules are established and enforced during the editing process itself. The editor continuously checks edits against defined constraints and business rules, providing early error detection that prevents wasted editing time while maintaining accurate error detection through comprehensive constraint validation.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If customized editors are implemented for dynamic validation, then real-time validation is achieved, but device complexity increases

Engineering Contradiction:
Improvevalidation capabilityVSAvoideditor complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The validation system is segmented into separate, configurable constraint definitions that are independent of the editor core functionality. Validation rules are defined in separate configuration files or databases, allowing the editor to remain relatively simple while enabling complex validation through modular, externally-defined constraint sets.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The editor is designed to handle multiple document types and validation scenarios through a universal interface. A single editor implementation can validate different XML schemas, enforce various business rules, and support multiple constraint types through configuration rather than requiring separate customized editors for each scenario.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS7904809B2Model-based editors for dynamic validation
Publication Date: 2011.03.08 MICROSOFT TECHNOLOGY LICENSING LLC
  • US7904809B2 patent drawing
  • US7904809B2 patent drawing
  • US7904809B2 patent drawing

AI summary

Tools and techniques for dynamically validating editors are described herein. The tools may provide machine-readable storage media containing machine-readable instructions for receiving indications of user edits to a portion of a document, and for determining whether a customized editor is available for the edited portion of the document. The tools may also provide systems that include at least the dynamically validating editor.