Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 91659 invoked from network); 23 Jul 2007 19:30:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jul 2007 19:30:57 -0000 Received: (qmail 278 invoked by uid 500); 23 Jul 2007 19:30:55 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 201 invoked by uid 500); 23 Jul 2007 19:30:55 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 161 invoked by uid 99); 23 Jul 2007 19:30:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 12:30:55 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 12:30:51 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 83B7C714208 for ; Mon, 23 Jul 2007 12:30:31 -0700 (PDT) Message-ID: <17162535.1185219031536.JavaMail.jira@brutus> Date: Mon, 23 Jul 2007 12:30:31 -0700 (PDT) From: "Matt Benson (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Updated: (JXPATH-97) Incomplete handling of undefined namespaces In-Reply-To: <20208976.1185027066396.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JXPATH-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Benson updated JXPATH-97: ------------------------------ Comment: was deleted > Incomplete handling of undefined namespaces > ------------------------------------------- > > Key: JXPATH-97 > URL: https://issues.apache.org/jira/browse/JXPATH-97 > Project: Commons JXPath > Issue Type: Bug > Affects Versions: Nightly Builds, 1.2 Final > Reporter: Sergey Vladimirov > Fix For: 1.3 > > Attachments: NamespacesTest.java, patch.txt > > > Mcduffey, Joe > Can someone tell me how to register namespaces so that attributes with namespaces does not cause the exception > org.apache.common.ri.model.dom.DOMNodePointer.createAttribute > unknown namespace prefix: xsi > For example the following > > MY VALUE > > Would result in the following exception: > org.apache.common.ri.model.dom.DOMNodePointer.createAttribute > unknown namespace prefix: A > FYI: In this example there was a namespace decaration in the file and I also manually called the > registerNamespace(A,"/http..."); > registerNamespace(B,"/http..."); > There was no problem encountered for elements. Only attributes. Can someone help? Thanks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org