Return-Path: Delivered-To: apmail-xml-security-dev-archive@www.apache.org Received: (qmail 30918 invoked from network); 11 May 2006 20:25:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 May 2006 20:25:38 -0000 Received: (qmail 18270 invoked by uid 500); 11 May 2006 19:25:37 -0000 Delivered-To: apmail-xml-security-dev-archive@xml.apache.org Received: (qmail 18004 invoked by uid 500); 11 May 2006 19:25:35 -0000 Mailing-List: contact security-dev-help@xml.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: security-dev@xml.apache.org List-Id: Delivered-To: mailing list security-dev@xml.apache.org Received: (qmail 17993 invoked by uid 99); 11 May 2006 19:25:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 May 2006 12:25:35 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [4.21.57.12] (HELO smtp.selectica.com) (4.21.57.12) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 May 2006 12:25:33 -0700 Received: from it-exch.selectica.com ([10.0.12.41]) by smtp.selectica.com (8.12.8/8.12.8) with ESMTP id k4BJP94J008299 for ; Thu, 11 May 2006 12:25:11 -0700 Received: by hq.selectica.com with Internet Mail Service (5.5.2653.19) id ; Thu, 11 May 2006 12:25:09 -0700 Message-ID: From: "Pantvaidya, Vishwajit" To: security-dev@xml.apache.org Subject: RE: "Unknown canonicalizer. No handler installed for URI" with di ffer ent xml beans version Date: Thu, 11 May 2006 12:25:00 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > > 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.