Skip to Content.
Sympa Menu

mace-opensaml-users - Re: about dom3 in opensaml

Subject: OpenSAML user discussion

List archive

Re: about dom3 in opensaml


Chronological Thread 
  • From: Evan Comer <>
  • To: Scott Cantor <>
  • Cc:
  • Subject: Re: about dom3 in opensaml
  • Date: Fri, 18 Mar 2005 19:08:13 +0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=DkA2AgFl58zrvl5+zEytMmbDfZ9WQDtofo3+hcqQCgOfDYPACV9jHF5glSV5qSRaHKzZOURbJLlHf3eOPvnWZo1T8Dz1K6K8K9Qnr4LC3mzIis5YSUIhUras7ZykcW48Q4RF4yIBLvtDNHiKYjkT/Xj2r4MtR0XN2A/ULvZF0oY=

On Thu, 17 Mar 2005 23:09:00 -0500, Scott Cantor
<>
wrote:
> > My application used dom2 xml-apis.jar and xercesImpl.jar. To support
> > opensaml in my application, I put dom3-xml-api-2.4.0.jar and
> > dom3-xercesImpl-2.4.0.jar in the endorsed directory. Since my
> > application used some classes which is in dom2 xercesImpl but not in
> > dom3-xercesImpl, like org.apache.xerces.dom.DOMInputImpl,
> > org.apache.xerces.xs.* and so on, I have to use both of xercesImpl.jar
> > and dom3-xercesImpl-2.4.0.jar.
>
> You should not rely on internal classes like that. That's the bug here.
> Secondly, this has nothing to do with the DOM level. You could simply
> rebuild the version of Xerces you're improperly depending on with DOM3
> support, as long as it's relatively recent. I think anything past 2.3 or so
> should have a DOM3 build option.
>
Ok, I'll try this.

> > I mean, the calls of dom3-api are not been executed right now and the
> > program can run, but they will be executed some day. What will happen
> > then?
>
> Probably unpredictable.
>
> > Would there be any potential confliction between xml-apis.jar and
> > dom3-xml-api-2.4.0.jar, xercesImpl.jar and dom3-xercesImpl-2.4.0.jar ?
>
> Yes. You should fix your application to rely only on the public APIs.
> Anything in org.apache.xerces or org.apache.xalan is really off-limits at
> this point or you're risking these kinds of conflicts.
>
You mean, I should rebuild Xerces with DOM3 support, remove
xml-apis.jar from my application and then use dom3-xml-api-2.4.0.jar
and rebuild-xerces.jar in my application, right?

> What is it that you need to access the implementation internals for?
>
In fact, my application is based on globus, who used those
implementation internals.


Thank you.

-Evan


> -- Scott
>
>



Archive powered by MHonArc 2.6.16.

Top of Page