XML Document Localization via XSD Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing solutions for managing localized values in XML structured documents either bloat the original document with extra data, affecting performance, or lose validation capabilities by storing values in separate flat files.

Innovation Solution

Creating a separate XML document for localized values by processing an XSD document to extract localized content definitions and storing them in a child XSD and child XML documents, maintaining the XML structure while allowing for validation and querying.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If localized values are stored side-by-side in the original XML document, then localization capability is achieved, but document size increases and processing performance deteriorates

Engineering Contradiction:
Improvelocalization capabilityVSAvoidprocessing performance
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent segments the XML document into two separate documents: the original XML document containing only non-localized content definitions, and a new XML document containing only localized content definitions. This segmentation allows the original document to remain small and fast-processing while localization data is stored separately in a dedicated document.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts localized content definitions from the original XML document and places them in a separate new XML document. This extraction removes the harmful effect of document bloat while preserving the localization capability, as the extracted localized definitions can still be applied to the original document without increasing its size.

Inventive Principle:
Principle #2Taking out (Extraction)

2Productivity

If localized values are stored in a separate flat file, then document size is maintained, but validation capability is lost

Engineering Contradiction:
Improvedocument processing efficiencyVSAvoidvalidation capability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent changes the format of the separate storage from a flat file to an XML document format. This parameter change in data structure allows the separate storage to maintain validation capabilities through XSD schema validation while still achieving document size efficiency. The new XML document can be validated using standard XML validation tools just like the original document.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If localized content is extracted to a separate document, then document size is reduced and performance improves, but complexity of data management increases

Engineering Contradiction:
Improveprocessing performanceVSAvoiddata management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent merges the localization functionality with the existing XML document structure by creating a new XML document that mirrors the structure of the original document but contains only localized content definitions. This merging approach allows both documents to be managed using the same tools and processes, reducing the complexity increase that would result from using completely separate flat file storage systems.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS8719693B2Method for storing localized XML document values
Publication Date: 2014.05.06 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US8719693B2 patent drawing
  • US8719693B2 patent drawing
  • US8719693B2 patent drawing

AI summary

A method and apparatus are provided to create a parent XSD document that separately identifies localized data and non-localized content definitions. A tool is employed to parse the localized content definitions from the non-localized content definitions. The parsing tool generates a child XSD document pertaining to the localized content definitions identified within the parent XSD document. One or more child XML documents are created to store data pertaining to the localized content definitions of the child XSD document. Localized content is isolated in a child XML document that is governed by a corresponding child XSD document, wherein the corresponding child XSD document is derived from the parent XSD document. Just as with any other XML document, the localized content in the isolated child XML document is supported by querying and validation by XML tools.