Removing style corruption from extensible markup language documents
First Claim
Patent Images
1. A method executed at least in part in a computing device for removing style corruption from extensible markup language (XML) based documents, the method comprising:
- reading style information associated with an XML based document;
determining at least one from a set of unused, corrupted, and duplicate styles by matching style definitions for the document with style parts in a document package;
removing at least one from the set of the unused, corrupted, and duplicate styles without opening the XML based document in a rich application associated with the XML based document;
determining corrupted name ranges; and
removing the corrupted name ranges from the XML based document.
3 Assignments
0 Petitions
Accused Products
Abstract
Unused, duplicate, or corrupted styles are removed from XML based document files through a styles definition part of a document using system input output. The removal is based on the analysis of the information contained in a compressible package of a respective document file. Other incorrect file content may also be removed such as corrupted name ranges or unused value format definitions using the same approach.
25 Citations
19 Claims
-
1. A method executed at least in part in a computing device for removing style corruption from extensible markup language (XML) based documents, the method comprising:
-
reading style information associated with an XML based document; determining at least one from a set of unused, corrupted, and duplicate styles by matching style definitions for the document with style parts in a document package; removing at least one from the set of the unused, corrupted, and duplicate styles without opening the XML based document in a rich application associated with the XML based document; determining corrupted name ranges; and removing the corrupted name ranges from the XML based document. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computing device for removing style corruption from extensible markup language (XML) documents, the computing device comprising:
-
a memory a processor coupled to the memory, the processor executing a module in conjunction with instructions stored in the memory, wherein the module is configured to; determine whether a document package including an XML based document to be examined is a valid XML based package; read a style information associated with the XML based document; determine at least one from a set of unused, corrupted, and duplicate styles by matching style definitions for the XML based document with style parts in a document package; remove at least one from the set of the unused, corrupted, and duplicate styles without opening the XML based document in a rich application associated with the XML based document; determine corrupted name ranges; and remove the corrupted name ranges from the XML based document. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A computer-readable storage medium with instructions stored thereon for removing style corruption from extensible markup language (XML) documents, the instructions comprising:
-
determining whether a document package including an XML based document to be examined is a valid XML based package; reading a style information associated with the XML based document; determining whether the XML based document has more than a predetermined number of custom styles; reverting the XML based document to a default format by removing all custom styles if the XML based document has more than the predetermined number of custom styles;
elsedetermining at least one from a set of unused, corrupted, and duplicate styles by matching style definitions for the XML based document with style parts in a document package; removing at least one from the set of the unused, corrupted, and duplicate styles without opening the XML based document in a rich application associated with the XML based document; determining corrupted name ranges; and removing the corrupted name ranges from the XML based document. - View Dependent Claims (18, 19)
-
Specification