Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E2D707900 for ; Tue, 9 Aug 2011 13:50:23 +0000 (UTC) Received: (qmail 18201 invoked by uid 500); 9 Aug 2011 13:50:23 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 18137 invoked by uid 500); 9 Aug 2011 13:50:22 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 18130 invoked by uid 99); 9 Aug 2011 13:50:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 13:50:22 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of xhhsld@gmail.com designates 74.125.82.182 as permitted sender) Received: from [74.125.82.182] (HELO mail-wy0-f182.google.com) (74.125.82.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 13:50:14 +0000 Received: by wyh21 with SMTP id 21so3621wyh.13 for ; Tue, 09 Aug 2011 06:49:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=A/iSHDbGXd3+ibkCRJUdTaffgKeLQm+GTuLl/XzAH3E=; b=sXUi48xetZxJUyeULGrq6bSGajHp8YkMbcTIJWcqWhOksEsEP0DET4Os5+2ZlStdYr +acUkHOnm5Hkww9dPKF/gcifmo2q+jptyuD2jmCkMMFo0XolbfWQnnkUHrrl0jFJLRUG 0Z/jNVucDV6oO+tXbfGrVyfUj8VbUhsSc+gHg= MIME-Version: 1.0 Received: by 10.216.168.11 with SMTP id j11mr1241351wel.41.1312897794532; Tue, 09 Aug 2011 06:49:54 -0700 (PDT) Received: by 10.216.2.143 with HTTP; Tue, 9 Aug 2011 06:49:54 -0700 (PDT) Date: Tue, 9 Aug 2011 21:49:54 +0800 Message-ID: Subject: woodstox 4.1.1 is not compatible with JSR 107 ? From: Ivan To: user@woodstox.codehaus.org, dev@geronimo.apache.org Content-Type: multipart/alternative; boundary=0016367fb80fab641c04aa12d632 X-Virus-Checked: Checked by ClamAV on apache.org --0016367fb80fab641c04aa12d632 Content-Type: text/plain; charset=ISO-8859-1 Hi, this is Ivan from Apache Geronimo community, we are trying to use the latest woodstox 4.1.1 in the coming Geronimo 3.0, but while running it with stax test cases, we find that it is not fully compatible with stax spec. One is that XMLStreamReader.*getNamespacePrefix*(int index) does not return null value if it is of default namespace declaration, which seems to be required by Java Doc. So has the woodstox 4.1.1 been verified with JSR 107 TCK ? ---> getNamespacePrefix String *getNamespacePrefix*(int index) Returns the prefix for the namespace declared at the index. Returns null if this is the default namespace declaration *Parameters:* index - the position of the namespace declaration *Returns:* returns the namespace prefix *Throws:* IllegalStateException - if this is not a START_ELEMENT, END_ELEMENT or NAMESPACE -- Ivan --0016367fb80fab641c04aa12d632 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, this is Ivan from Apache Geronimo community, we are trying to use the l= atest woodstox 4.1.1 in the coming Geronimo 3.0, but while running it with = stax test cases, we find that it is not fully compatible with stax spec. On= e is that=A0XMLStreamReader.getNamespacePrefix(int=A0index) does not return null value if it is of default = namespace declaration, which seems to be required by Java Doc. =A0So has th= e woodstox 4.1.1 been verified with JSR 107 TCK ?
--->

getNamespacePrefix

=
String getNamespacePrefix(int=A0index)
Returns the prefix for the namespace declared at the index. Returns nul= l if=20 this is the default namespace declaration=20

Parameters:
index - the position of the namespace declaration=20
Returns:
returns the namespace prefix=20
Throws:=20
IllegalStateExcept= ion=20 - if this is not a START_ELEMENT, END_ELEMENT or NAMESPACE


=A0
--
Ivan
--0016367fb80fab641c04aa12d632--