[Sent on behalf of [EMAIL PROTECTED] Excellent test. . . many incompatibilities found.
First, perhaps we need some more documentation. I intended the bin files to be literally binary files, not ascii 1's and 0's. Did I misinterpret these files? I didn't run these through another library as I didn't have time to convert to binary. With regards to XML->BIN, I tried to encode in perl and the perl library did not like the rp: namespace. When I deleted the prefix it seemed to work. Perhaps this was just an incompatibility in the namespace (e.g. version 0.7 0.8 0.9) or perhaps there is an assumption about default namespace. At any rate, I converted the XML files (after my search-replace) to binary files and enclosed here. Paul -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Floerkemeier Sent: Tuesday, December 04, 2007 8:34 PM To: 'LLRP Toolkit Development List' Subject: [ltk-d] Binary and LTK-XML test messages For the unit testing of LTKJava, we put together a few test messages in binary and LTK-XML (in addition to the ones currently already posted in cvs). I haven't got any of the other LTK implementations installed and I was wondering whether someone could run "our" binary messages through "his" toolkit's bin2xml and "our" LTK-XML messages through xml2bin and send me the LTK-XMLs and binary messages generated. (I hope the binary messages are valid :). We would like to do an equivalence check by applying these messages to LTKJava. "Our" testcases are available for download here: http://web.mit.edu/floerkem/www/ltk/testcases.zip I am hesitant to commit the above test cases to the LTKJava module in cvs because that seems like the wrong place and the test module seems more appropriate. On the other hand, I am not sure what the latest thinking on cross-platform testing is. Speaking for the LTKJava team, we would definitely like to see an extensive set of test messages (in binary and LTK-XML) for unit testing. Christian PS: For those of you who are interested, the sourceforge tool xmlunit (http://xmlunit.sourceforge.net/) helps to determine whether two XML instances are equal even if a "character for character" match fails. Unfortunately, it is only available in Java. -- Christian Floerkemeier Auto-ID Lab, Massachusetts Institute of Technology phone: +1-617-324-1984 email: <[EMAIL PROTECTED]> ------------------------------------------------------------------------ - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ llrp-toolkit-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ llrp-toolkit-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel
