]
Thomas Diesler resolved JBXB-202.
---------------------------------
Resolution: Out of Date
Out of Date
Inconsistent initialization of XSImplementation
-----------------------------------------------
Key: JBXB-202
URL:
https://issues.jboss.org/browse/JBXB-202
Project: JBoss XML Binding (JBossXB)
Issue Type: Bug
Affects Versions: JBossXB-2.0.1.GA
Reporter: Thomas Diesler
In Util there is
private static XSImplementation xsImpl;
which gets initialized lazily in
public static XSModel loadSchema(String xsdURL, SchemaBindingResolver schemaResolver)
{
if(xsImpl == null)
{
xsImpl = getXSImplementation();
}
All other loadSchema method do not reuse the static property
Also,
private static XSImplementation getXSImplementation()
relies on the thread context classloader, which is not available in an OSGi environment.
Could you please provide an JBossXB initialization entry point that is public and does
not make an assumption on the availability of the TCCL
--
This message is automatically generated by JIRA.
For more information on JIRA, see: