SGML document validation using XML-based technologies
AssigneeXerox Corporation
InventorsJean-Yves Vion-Dury, Jean-Pierre Chanod
Life of this patent
Estimating the term…
Abstract
An SGML validation system comprises: an XML validation engine; a translator configured to convert an SGML document to a translated XML document; a set of XML schemas against which the XML validation engine validates the translated XML document, the XML schema set configured such that errors detected by the validation of the translated XML document correspond to SGML errors in the SGML document; and a report generator configured to generate an error report identifying SGML errors corresponding with errors detected by the validation and linking the identified SGML errors with corresponding locations in the SGML document.
Claims20
An SGML validation system comprising:
- an XML validation engine;
- a translator configured to convert an SGML document to a translated XML document using a p-isomorphic translation;
- an XML schema against which the XML validation engine validates the translated XML document, the XML schema configured such that errors detected by the validation of the translated XML document correspond to SGML errors in the SGML document;
- and
- a report generator configured to generate an error report identifying SGML errors corresponding with errors detected by the validation and linking the identified SGML errors with corresponding locations in the SGML document;
- wherein the XML validation engine, the translator, and the report generator are embodied as a digital processing device.
An SGML validation process comprising:
- translating an SGML document having a tree structure using a p-isomorphic translation to generate a translated XML document having a corresponding tree structure;
- validating the translated XML document against an XML schema configured such that errors detected by the validating correspond to SGML errors in the SGML document;
- identifying SGML errors corresponding with errors detected by the validating;
- and
- linking the identified SGML errors with corresponding locations in the SGML document based on the correspondence of the tree structures of the SGML document and the translated XML document.
An non-transitory electronic storage medium storing instructions executable to perform an SGML validation process comprising:
- translating an SGML document to generate a translated XML document wherein the SGML document has a tree structure and the translating generates the translated XML document with an equivalent tree structure using a p-isomorphic translation;
- validating the translated XML document against an XML schema configured such that errors detected by the validating correspond to SGML errors in the SGML document;
- identifying SGML errors corresponding with errors detected by the validating;
- and
- displaying a report indicating the identified SGML errors.
Dependencies are inferred from the claim text.