| The Addition of a Multilingual Component to An Existing Document Processing System | Table of contents | Indexes | Realising the Potential of Object Technology Through New Working Practices | |||
SGML & schemas: from SGML DTDs to XML-DATA. |
|
François Chahuneau |
| AIS 17 Rue Remy Dumoncel Paris France F-75014 Email: fcha@ais.berger-levrault.fr |
Biographical notice: |
François Chahuneau |
ABSTRACT: |
This paper studies, from an historical perspective, the relationship between SGML and data modeling concerns. |
By introducing a simplified syntax with a fixed grammar, XML isolated the role of DTDs as pure schemas, and also made them unnecessary for pure recognition of the “de facto” document structure. |
Introduction |
|
The grammar/schema confusion |
|
DTD, Document Type Definition ![]() |
The dual nature of SGML DTDs |
This dual nature of DTD should not necessarily lead to confusing the two notions. Unfortunately, this is largely what happened in the SGML community... |
SGML parsers share responsibility |
|
Consider the following (invalid) SGML fragment: |
1: <!doctype doc[ 2: <!element doc - - (title, p+)> 3: <!element p - - (#PCDATA|emp)*> 4: <!element (title|emp) - - (#PCDATA)> 5: ]> 6: <doc> 7: <title>Title 1</title> 8: <title>Title 2 </title> 9: <p>abc<\\p> 10: <p>abc<emp>def</p></emp> 11: </doc> |
An SGML parser will typically report three “syntax errors”, corresponding to three very different types of mistakes: |
The role of cultural gaps |
|
Irreconcilable differences |
|
SGML experts will explain that there are good reasons why an SGML DTD cannot be simply equated with a schema in the (object-oriented) database sense... and they are right! |
Confusion consequences |
|
Schema ![]() |
The emergence of schemas behind DTDs |
| Document model |
CASE tools and methodologies for DTD |
SGML and databases |
|
XML ![]() |
The XML phase separation |
The XML revolution |
|
The major 1997 event for the SGML community was, beyond dispute, the advent of XML. |
This interpretation provides natural answers to most questions which were raised about “DTD-less” parsing of XML documents, and situations in which DTDs would still be required. |
New application areas: XML/EDI |
|
Still much work to do... |
|
| XML-DATA |
XML-Data: the ultimate evolutionary stage? |
Conclusion |
|
DTDs are dead — long life to DTDs! |
Bibliography |
| The Addition of a Multilingual Component to An Existing Document Processing System | Table of contents | Indexes | Realising the Potential of Object Technology Through New Working Practices | |||