E&S CVS Commit: PEAK - Got rid of crazy encoding of attribute values that I though was XMI 1.1
pje at eby-sarna.com
pje at eby-sarna.com
Sat Nov 30 15:59:00 EST 2002
Module Name: PEAK
Committed By: pje
Date: Sat Nov 30 20:58:51 UTC 2002
Modified Files:
PEAK/src/peak/storage: xmi.py
PEAK/src/peak/storage/tests: xmi.py
Log Message:
Got rid of crazy encoding of attribute values that I though was XMI 1.1
standard. It turns out that the *example* in the XMI 1.1 standard is
wrong! After extensive combing of the spec and not seeing anything that
said things should ever work that way, I took a closer look at the DTD that
went with the "mail" example, and even the DTD effectively says the example
is wrong! So I fixed the test to look the way the example *should* have
been written (per its own DTD) and got rid of the crufty extra code that
handled this bizarre case that I thought was required.
While combing the specs, I also discovered that the printed standard I have
is actually a *preliminary* copy, dated over a *year* older than the final
XMI 1.1 spec. Aaaaagh! Guess I'll need to spend some time going back over
the code and spec before I start work on the XMI writing facilities. :(
To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/storage/xmi.py.diff?r1=1.4&r2=1.5
http://cvs.eby-sarna.com/PEAK/src/peak/storage/tests/xmi.py.diff?r1=1.1&r2=1.2
To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 PEAK/src/peak/storage/xmi.py
cvs rdiff -r1.1 -r1.2 PEAK/src/peak/storage/tests/xmi.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
More information about the source-changes
mailing list