> > 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.
