Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright 2003, CEC Services, LLC All Rights Reserved 1 XSD Code to RDBMS Script.

Similar presentations


Presentation on theme: "Copyright 2003, CEC Services, LLC All Rights Reserved 1 XSD Code to RDBMS Script."— Presentation transcript:

1 Copyright 2003, CEC Services, LLC All Rights Reserved 1 XSD Code to RDBMS Script

2 Copyright 2003, CEC Services, LLC All Rights Reserved 2 XSD-RDBMS Promotes interoperability of standards Implements Draft EIA836 in RDBMS Performs in real-time with LTT Converts XML to DTD to XSD Auto-translates XSD to RDBMS scripts Runs industrial grade software factory

3 Copyright 2003, CEC Services, LLC All Rights Reserved 3 Tool Set History Many move XML to DTD Some move DTD to XSD Few move XSD to graphical diagrams Fewer move RDBMS into XSD Only one moves XSD to RDBMS FOR MORE INFO... See the demo CD available by request from cec-services.com.

4 Copyright 2003, CEC Services, LLC All Rights Reserved 4 How It Works Input XSD code (from any source) –Element names, references, data types, attributes, enumerated values Output RDBMS scripts (XSD-RDBMS) –Tables, columns, data types, indexes, views, insertion of enumerated values Real-time database use (LTT) –Software factory with zero defect code

5 Copyright 2003, CEC Services, LLC All Rights Reserved 5 Complex Input to Simple Output Input nearly unreadable by humans: Output in very clear ANSI SQL: create table T ( Z char( 1) not null) ; FOR MORE INFO... See the technical paper on the CD from cec-services.com.

6 Copyright 2003, CEC Services, LLC All Rights Reserved 6 Assumptions XSD is logically correct –Some XSD is legal but overly complex Element names map to table names Element refs map to column names Attributes map to column data types Simple sub-types map to column enumerations

7 Copyright 2003, CEC Services, LLC All Rights Reserved 7 XSD Code Quirks XSD type levels may become convoluted – Hungarian Notation is uNrEaDaBle –DocTransfer-TransferMethod-Codetype –doc_transfer_transfer_method_code_type Punctuation characters allowed in names XSD names often exceed 30 characters

8 Copyright 2003, CEC Services, LLC All Rights Reserved 8 RDBMS Script Quirks Column names up to 30 characters –Required by IBM DB2 and ORACLE Table names up to 30 characters –Required by ORACLE only Some characters illegal in names –- dash,. period, : colon FOR MORE INFO... See the demo CD available by request from cec-services.com.

9 Copyright 2003, CEC Services, LLC All Rights Reserved 9 XSD Logic Quirks: Many Sub-types may refer to element names, reference names, data types, and enums Enums allowed for refs tied to sibling refs with minOccurs=1, ie insert without key Multiple, conflicting redefinitions of the same element coexist in the same system Infinite level of indirection is encouraged The only thing to come out of computer science in the last three years

10 Copyright 2003, CEC Services, LLC All Rights Reserved 10 RDBMS Logic Quirks: None XSD sub-type to an element name is a column name referring to a table name RDBMS makes that script as a VIEW of the table named by the column and the table containing the named column Columns with no parent tables map to a table named Orphan__[xsd_infile_name] Orphan refs to the same unnamed table promote to a new table name and column

11 Copyright 2003, CEC Services, LLC All Rights Reserved 11 XSD-RDBMS: Script Output 1. CREATE TABLE scripts –The shorter of a duplicate script is ignored 2. ALTER TABLE index scripts 3. CREATE VIEW scripts 4. INSERT INTO enum scripts –An insert into an indexed table on any column other than the key is ignored

12 Copyright 2003, CEC Services, LLC All Rights Reserved 12 Script Output for Draft EIA CREATE TABLE scripts used: 604 –One duplicate ignored as nearly identical 2. ALTER TABLE index scripts used: CREATE VIEW scripts used: INSERT INTO scripts used: 267 –20 ignored for no respective primary key insert Uml file, with input and output size of 0.6 MB and 0.8 MB, was ignored because so many label names truncated to the same

13 Copyright 2003, CEC Services, LLC All Rights Reserved 13 Applying LTT to Draft EIA-836 LTT (Logic Table Technology) stores logic flow in switches LTT allows RDBMS to perform in real-time Draft EIA-836 logic is not perfected due in part to XSD as a limited medium Finalized EIA-836 is a candidate for mapping processes into LTT The database core is available; everyone is waiting for the final processing logic

14 Copyright 2003, CEC Services, LLC All Rights Reserved 14 Recent Advances Text manipulation of XSD-RDBMS quickly implemented in ANSI True BASIC® XSD to RDBMS mapping is now automated with high reliability XSD exposed as a fad medium with limited tool capability


Download ppt "Copyright 2003, CEC Services, LLC All Rights Reserved 1 XSD Code to RDBMS Script."

Similar presentations


Ads by Google