I'm trying to do something with the sorry state of libtpproto-java package (by rewriting it from scratch). I thought that creating all frame classes by hand is boring and all, especially when there seems to be a formal definition of the frames' structure in documents package, so I thought that I'd use the protocol.xml file (actually protocol3.xml for now).
Actually I already started writing a source file generator, and it turns out
that this file would be very useful... if it got cleared up a bit. It
doesn't validate against the DTD and the property names are missing or
misplaced with long names...
So the question is: is this file an official definition of the protocol? And
if so, could it be made usable? :)
("Usable" as in "machine-readable"; I'd probably be able to fix the most
obvious problems, like this one:
--- a/protocol/protocol3.xml
+++ b/protocol/protocol3.xml
@@ -1083,7 +1083,7 @@
</packet>
-<packet id="18" base="GetWithIDandSlot" name="GetMessage">
+<packet id="18" base="GetWithIDSlot" name="GetMessage">
<longname>Get Message</longname>
</packet>
or similar)
-KS
signature.asc
Description: OpenPGP digital signature
_______________________________________________ tp-devel mailing list [email protected] http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel
