I was trying change the IXMLReaderFactory by setting the
"org.jibx.runtime.impl.parser" system property, which unfortunately does
not work in JiBX 1.2.1.

 

I traced the problem to RuntimeSupport.loadFactory() method, which
incorrectly checking the system property:

 

        String prop = null;

        try {

            System.getProperty("org.jibx.runtime.impl.parser");

        } catch (SecurityException e) {

            /* exception just means the value will be null */

        }

 

The problem is fixed in my environment, but I think this should be
changed in the original source to look like this:

 

        String prop = null;

        try {

            prop = System.getProperty("org.jibx.runtime.impl.parser");

        } catch (SecurityException e) {

            /* exception just means the value will be null */

        }

 

 

----
NOTICE BY HEALTH LANGUAGE, INC.
This message, as well as any attached document, contains information from 
Health Language, Inc. that is confidential.  The information is intended only 
for the use of the addressee named above.  If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution 
or the taking of any action in reliance on the contents of this message or its 
attachments is strictly prohibited, and may be unlawful.  If you have received 
this message in error, please delete all electronic copies of this message and 
its attachments, if any, destroy any hard copies you may have created, without 
disclosing the contents, and notify the sender immediately.  Unless expressly 
stated otherwise, nothing contained in this message should be construed as a 
digital or electronic signature, nor is it intended to reflect an intention to 
make an agreement by electronic means.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to