Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 14453 invoked from network); 28 Sep 2005 11:48:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Sep 2005 11:48:56 -0000 Received: (qmail 84817 invoked by uid 500); 28 Sep 2005 11:48:55 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 84804 invoked by uid 99); 28 Sep 2005 11:48:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2005 04:48:55 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_40_50,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [217.28.130.38] (HELO hostedexchange.hostedservice.com) (217.28.130.38) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2005 04:49:00 -0700 Received: from THHS2EXBE1X.hostedservice2.net ([192.168.16.21]) by hostedexchange.hostedservice.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 28 Sep 2005 12:48:31 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5C422.8B6BF223" Subject: ExportDocViewTest issues? Date: Wed, 28 Sep 2005 12:48:29 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ExportDocViewTest issues? thread-index: AcXEIov/eIC+MMHOTDy/67k9lTmRfg== From: "David Caruana" To: Reply-To: X-OriginalArrivalTime: 28 Sep 2005 11:48:31.0063 (UTC) FILETIME=[8C3C6E70:01C5C422] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C5C422.8B6BF223 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm struggling to pass the ExportDocViewTest even though I believe I have generated a compliant document xml view. All is fine until the ExportDocViewTest.compareNamespaces() method is called. It attempts to extract the namespaces that have been declared on the root document node by getting all attributes on the node and seperating those that are xmlns prefixed. =20 My problem is that the root node never has the xmlns attributes in the dom result - it only contains the "true" attributes. The TransformerFactory and Transformer implementations are org.apache.xalan in my environment. Also, the assert at the end subtracts one from the number of registered namespaces - why? For the xml namespace? Regards, Dave www.alfresco.org Here's an example of a simple noRecurse exported document in case I'm missing something here... ------_=_NextPart_001_01C5C422.8B6BF223--