50 likes | 167 Views
Documents: Yes... Business: Perhaps Not Yet. Is Schema Ready For The Big Time?. Schema - History. Reduction in complexity, W3C. W3C, OO Features. Supplements e.g. 21 = Dept. of Army. DTD DTD XDR XML Schematron SGML XML Schema.
E N D
Documents: Yes... Business: Perhaps Not Yet Is Schema Ready For The Big Time?
Schema - History Reduction in complexity, W3C W3C, OO Features Supplements e.g. 21 = Dept. of Army DTD DTD XDR XML Schematron SGMLXMLSchema Use instance documents as a lightweight schema ISO Standard Data Typing & XML Syntax Examplotron RELAX NG Reduces syntax verbosity ?
XML Schema – Slant • XML Schema supports both documents and data exchanges • Extended XDR (XML Data) data types (80+ pages, introduces 44+ built-in datatypes and the ability to create your own datatypes) • Added object-oriented data typing features – syntax easier to extend rather than restrict • Best characteristic: W3C Specification (Consortium not standards body) • Added enhancements open the door, rather than being more restrictive. Note: Constraints make eBusiness easier • Added unnecessary complexity (for data exchanges) • Syntax is so verbose, difficult to see forest from the trees without an XML Schema editor e.g. XML Spy { single inheritance only
Schema - Business Attributes • Does not allow IF-THEN logic e.g. 21 = Dept. of Army • No context input e.g. AssemblyDoc type, Business Process (BPSS), Standard Exchange Format (SEF)-type mechanism, or Trading Partner conditionals • No built-in ebXML artifacts: classification, UID & association • Only runtime (but XML Schema does allows for a library of files) – no provisions to linking to non-runtime metadata supplement for documenting and links from this to ‘lookup table’ – thus heavy runtime schemas which have enumerations (no value pairing) in XML Schema Library Look-up Tables XML Schema XML Schema Meta-data