santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pantvaidya, Vishwajit" <vpant...@selectica.com>
Subject RE: "Unknown canonicalizer. No handler installed for URI" with di ffer ent xml beans version
Date Thu, 11 May 2006 19:25:00 GMT
> > 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.

Mime
View raw message