|
FIXML
< Previous Next >
XML or SGML?
sam johnson / goldman, sachs & co. 24 Apr 1998 4:52PM ETI've been doing some experimenting with XML and SGML both, and it seems that a major limitation of deriving "FIXML" from XML is that XML limits what can be done with datatypes.
Someone correct me if I'm wrong here: One of the major advantages of being able to specify the message definitions in a DTD is that both format and "datatypes" are well-defined and validated by the parser; however, XML seems to restrict pretty severely what can be done with primitive data.
Of course, it's entirely possible I'm missing something. For example, I'd like to be able to define an ELEMENT FIXDate which is of format YYYYMMDD (all numeric) and validated by the DTD. This is critical, I think, and pretty straightforward in SGML but I can't seem to do it in XML. Anyone else played with this?
XML or SGML? sam johnson / goldman, sachs & co. 24 Apr 1998 4:52PM ET
|