Yuri,
I am not an expert on OSGI bundles but I could not find a reference to
org.llrp.ltk.llrp-1x0.xsd in the OSGI bundle manifest you linked to in
your previous email. Should the llrp=1x0.xsd be listed there?
How did you generate the OSGI bundle manifest? Manually? I began at some
point integrating OSGI support into the LTKJava ant build script but did
not have time to get it to work properly. It would be great if you could
help to get this done.
Christian
Yuri Roncella wrote:
> 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
------------------------------------------------------------------------------
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