You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by "Pantvaidya, Vishwajit" <vp...@selectica.com> on 2006/05/11 21:25:00 UTC

RE: "Unknown canonicalizer. No handler installed for URI" with di ffer ent xml beans version

> > I have debugged the code upto the point of the exception and I see that
> > with both xml beans versions, the xml itself does have the canonicalizer
> > uri - but the Element. getAttributeNS call returns null when our xml
> > beans is used and then we get the exception.
> >
> > Any idea why/when would this happen?
> 
> It sounds as if the DOM tree is not namespace aware in the xml beans
> case. It must be namespace aware, for example you should invoke
> DocumentBuilderFactory.setNamespaceAware(true) before parsing the
> document.
> 
> --Sean


Any idea why one of the xmlbeans versions is working - the xmlbeans jar
contents for it do not seem to contain anything that should impact this.


- Vish.