On Tue April 28 2009 6:29:04 am Benson Margulies wrote: > Dan, whom I believe to be on a sunny island someplace, closed CXF-1861 > without explaining why. > > This is a level-3 method. The question is, are we generally trying to > support DOM level 2 or not?
I "believe" the answer is that we support the API's available in Java 5. Since the recent releases of Java 5 includes DOM level 3, that that is the version we support. That's probably why I closed it as invalid as it would work fine with the DOM API's built into the JDK. That said, any patches to support DOM level 2 would be accepted. It's just not something that's worth spending a lot of time (IMO) trying to setup a test infrastructure and such to find any/all the use cases of level 3 methods since we require Java 5. Dan > If this were the only case of a level 3 method, a bit of reflection would > solve your problem. > > If you complain bitterly to JBoss about needing a level-3-compliant DOM, > what happens? > > If you reopen CXF-1861, I guess I would code the reflection support. It's > not a ton of wasted work if it turns out that there are lots of other > reasons for requiring a level 3 API. > > On Tue, Apr 28, 2009 at 6:22 AM, nicolas de loof <[email protected]> wrote: > > It seems JBoss 4.X uses an endorses directory with an older xml-api Jar > > that > > does NOT support this method.I expected the "parent-last" class > > delegation model to avoid such ugly XML parser issue. The endorsed > > mecanism seems to take precedence on classloading hierarchy :'( > > > > 2009/4/28 nicolas de loof <[email protected]> > > > > > Hello > > > I'm running a CXF webapp on JBoss 4.0.2 with JDK 1.6.13. > > > My service get deployed, but when requesting the "?wsdl" URL I get a > > > " > > > NoSuchMethodError: org.w3c.dom.Document.setXmlStandalone > > > " > > > > > > Browsing the JIRA I've found CXF-1861 but this doesn't helped me a lot. > > > > > > My JBoss-web.xml is set with java2ClassLoadingCompliance="false" > > > & java2ParentDelegation=false, so I should not inherit from a container > > > > JAR > > > > > for this API. > > > > > > Using a grep I've found my WEB-INF/lib has xml-apis-1.4_04.jar to be > > > the only jar having this w3c class, and this version defines the > > > public abstract void setXmlStandalone(boolean flag) method > > > > > > Any suggestion ? > > > > > > Nicolas -- Daniel Kulp [email protected] http://www.dankulp.com/blog
