Why do XML and OFX have subtle differences?

Giovanni Flammia flammia at sls.lcs.mit.edu
Sat Jul 12 06:20:23 BST 1997


As I get more and more interested in XML and its applications beyond
GUIs,
I wonder why Open Financial Exchange (OFX) and XML have at least one
subtle difference that bothers me. The one difference that I see is this
one. When the data
being transmitted is a simple list of of key-value pairs, XML would do
it like this:

<userid>name</userid>
<userpassword>mypassword</userpassword>

or like this:

<userid value=name />
<userpassword value=mypassword />

(I personally prefer the <key>value</key> scheme, but that's just me)
while OFX would do it more parsimoniously as:

<userid>name
<userpassword>mypassword

Otherwise, the tagging scheme is pretty much compatible (correct me if
I'm wrong).

I think it would be highly desirable that either XML incorporates the
simpler OFX listing
with no ending tag, or OFX comply to XML. It seems to me that OFX is
gaining
wide industry support, so I propose that XML somehow incorporate a
provision to
list simple key-value pairs like OFX. Of course, I would be happy also
if OFX was going
to add those </tag> ending tags that are missing from their DTDs.

This way, XML can ride the wave started by OFX,
and XML developers can build OFX compliant tools with no worry.


Giovanni Flammia
flammia at sls.lcs.mit.edu
http://www.sls.lcs.mit.edu/flammia




-------------- next part --------------
A non-text attachment was scrubbed...
Name: vcard.vcf
Type: text/x-vcard
Size: 280 bytes
Desc: Card for Giovanni Flammia
Url : http://mailman.ic.ac.uk/pipermail/xml-dev/attachments/19970712/6e7bb120/vcard.vcf


More information about the Xml-dev mailing list