System and method for supporting non-native XML in native XML of a word-processor document
First Claim
1. A method for supporting validation of a extensible markup language (XML) document that includes non-native XML within a native XML, the method comprising:
- determining whether an element in the XML document is associated with one of the non-native XML and the native XML;
generating a parallel tree that includes nodes, wherein each node corresponds the element of the markup language file associated with the non-native XML;
validating the elements associated with the native XML in the XML document while ignoring the elements associated with the arbitrary markup language; and
validating the parallel tree separately from the XML document, such that the elements associated with the native XML are transparent when validating the non-native XML.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and method for enabling validation of an extensible markup language (XML) document having elements associated with two or more schemata where elements of each schema may be arbitrarily nested within elements from the other schema and each set of elements remains valid within it'"'"'s own schema. Elements of the second schema are transparent to the elements of the first schema when the word-processor validates the elements of the first schema. The elements of the second schema are separately validated, such that the elements of the first schema are transparent for the validation of the elements corresponding to the second schema.
-
Citations
23 Claims
-
1. A method for supporting validation of a extensible markup language (XML) document that includes non-native XML within a native XML, the method comprising:
-
determining whether an element in the XML document is associated with one of the non-native XML and the native XML;
generating a parallel tree that includes nodes, wherein each node corresponds the element of the markup language file associated with the non-native XML;
validating the elements associated with the native XML in the XML document while ignoring the elements associated with the arbitrary markup language; and
validating the parallel tree separately from the XML document, such that the elements associated with the native XML are transparent when validating the non-native XML. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-readable medium having computer-executable components, comprising:
-
a first component for generating an extensible markup language (XML) document that includes elements associated with a non-native XML nested within elements associated with a native XML of the word-processor;
a second component for storing nodes, wherein each node is associated with each element associated with the non-native XML;
a third component for validating the elements associated with the native XML in the first component while the elements associated with the non-native XML are transparent; and
a fourth component for validating the second component separately from the first component, such that the elements associated with the native XML are transparent while the elements associated with the non-native XML are validated. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A computer-readable medium encoded with a data structure, comprising:
-
a first element that is associated with a native extensible markup language (XML) associated with a word-processor; and
a second element that is associated with a non-native XML, wherein the second element is nested within the first element and the first element is transparent when the second element is validated and the second element is transparent when the first element is validated. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
-
20. A computer-readable medium having computer-executable instructions for supporting validation of an extensible markup language (XML) document that includes non-native XML within native XML of a word-processor, the instructions comprising:
-
determining whether an element in the XML document is associated with one of a first namespace and a second namespace, wherein the first namespace is associated with the native XML and the second namespace is associated with the non-native XML;
generating a parallel tree that includes nodes, wherein each node corresponds the element of the XML document associated with the second namespace;
mapping each node to its corresponding element in the markup language file, such that the position of each element associated with the second namespace is stored;
validating each element of the XML document such that elements associated with the first namespace are transparent when elements associated with the second namespace are validated, and the elements associated with the second namespace are transparent when elements associated with the first namespace are validated. - View Dependent Claims (21, 22, 23)
-
Specification