Hi!!
Thank you for your answer,
the problem you pointed out is the same i was thinking about,
so I entred the file XMLSchema.xsd inside the jar and
i tried in any way to make the resource being read locally, but i
didn't succeed.
In the end i modified the fuction "decodeXML" and "encodeXML" inside
the SET_READER_CONFIG file of the library, hiding the
isValidXMLMessage call as follows:


public void decodeXML(final Document document)
       throws InvalidLLRPMessageException {
       Element temp = null;
       Custom custom;

       // child element are always in default LLRP namespace
       Namespace ns = Namespace.getNamespace(LLRPConstants.LLRPNAMESPACE);

       try {
           // isValidXMLMessage(document,LLRPConstants.LLRPMESSAGESCHEMAPATH);
           Element root = (Element) document.getRootElement().clone();
           List<Element> tempList = null;
    .... }
}


public Document encodeXML() throws InvalidLLRPMessageException {
        try {
                      .....

          Document doc = new Document(root);

            //if (isValidXMLMessage(doc,LLRPConstants.LLRPMESSAGESCHEMAPATH)){
            return doc;

            /*
            } else {
                return null;
            }
            */

Now all the rospec are valid and I have bypassed the problem.
If anybody has an alternative I'll be glad to try it out.

Thaks everybody!!
Yuri

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel

Reply via email to