All,
I was trying to run the simple java example on the following XML file
<ADD_ROSPEC_RESPONSE
xmlns="http://www.llrp.org/ltk/schema/core/encoding/xml/1.0"
xmlns:llrp="http://www.llrp.org/ltk/schema/core/encoding/xml/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.llrp.org/ltk/schema/core/encoding/xml/1.0
http://www.llrp.org/ltk/schema/core/encoding/xml/1.0/llrp.xsd"
MessageID="0">
<LLRPStatus>
<StatusCode>M_Success</StatusCode>
<ErrorDescription></ErrorDescription>
</LLRPStatus>
</ADD_ROSPEC_RESPONSE>
When I download the jar, and put '.' Into my classpath, I execute and
get the following response. To me the XML looks good and my editor
validates it properly against the LTK schema.
java -jar LTKJava_lib_with_dep_0_1_1-alpha.jar -x -f
addrospecresponse.xml
LLRP Message is not valid addrospecresponse.xml
null
Any ideas? Seems like the tools help menu is also incorrect. Doing
"java xxx.jar -x file.xml" does do anything. I need to do add a -f
before the filename. "java xxx.jar -x -f file.xml"
Regards,
Paul
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel