Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 73929 invoked from network); 22 Sep 2004 17:21:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Sep 2004 17:21:38 -0000 Received: (qmail 95085 invoked by uid 500); 22 Sep 2004 17:21:33 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 94991 invoked by uid 500); 22 Sep 2004 17:21:32 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 94977 invoked by uid 99); 22 Sep 2004 17:21:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [84.96.21.10] (HELO mail.anyware-tech.com) (84.96.21.10) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 22 Sep 2004 10:21:31 -0700 Received: from [10.0.0.144] (unknown [10.0.0.144]) by mail.anyware-tech.com (Postfix) with ESMTP id B60095EE5F for ; Wed, 22 Sep 2004 19:21:29 +0200 (CEST) Message-ID: <4151B49A.8020805@apache.org> Date: Wed, 22 Sep 2004 19:21:30 +0200 From: Sylvain Wallez Organization: Anyware Technologies User-Agent: Mozilla Thunderbird 0.8 (Macintosh/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: svn commit: rev 47047 - in cocoon/trunk/src: blocks/databases/java/org/apache/cocoon/transformation blocks/linkrewriter/java/org/apache/cocoon/transformation blocks/mail/java/org/apache/cocoon/mail/transformation blocks/portal/java/org/apache/cocoon/portal/coplets/basket blocks/portal/java/org/apache/cocoon/portal/transformation blocks/repository/java/org/apache/cocoon/transformation blocks/session-fw/java/org/apache/cocoon/webapps/session/transformation java/org/apache/cocoon/transformation References: <20040922122727.26118.qmail@minotaur.apache.org> <4151B14F.5070303@apache.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Andreas Hartmann wrote: > Sylvain Wallez wrote: > >> Andreas Hartmann wrote: >> > > [...] > >> Nono: what's explained here is that some parsers may not report the >> qName if their namespace-prefixes property is false. The >> ContentHandler.startElement() javadoc clearly states that the >> namespaceURI *is never null* ! >> >> Passing null namespace URIs is a well known source or crashes for >> Xalan :-/ > > > Great, thanks for the info! > > Does that mean that the empty string is not allowed as a namespace URI? > > Aha, good question! The namespace spec [1] states that the namespace URI "should have the characteristics of uniqueness and persistence". The empty string doesn't seem explicitely forbidden, but I'm not sure it has the required characteristics :-) Sylvain [1] http://www.w3.org/TR/REC-xml-names/#ns-decl -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }