Was this reported to the Xerces team?

On Saturday, April 27, 2002, at 01:55 PM, Jeff Greif wrote:

Dawid Weiss reported a version of this bug involving Xindice earlier today.
Jeff
----- Original Message -----
From: "Ronald Bourret" <[EMAIL PROTECTED]>
To: "Jeff Greif" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, April 27, 2002 12:27 PM
Subject: Re: [xml-dev] attributes with same name and different prefix



This is legal. If Xerces complains, it's a bug.

Note that "src", when used as an attribute name (src="bar") is not a
namespace prefix. In order to be a namespace prefix, it would have to be
followed by a colon and a local name -- for example, src:attrname or
even src:src.

-- Ron

Jeff Greif wrote:

Is this illegal (to have two attributes with same name and different
prefixes, one of them specifying a namespace prefix association):

<foo src="bar" xmlns:src="some-uri" />

MSXML accepts it without problem, but I've been told that several
versions of Xerces complains.




Kimbro Staken
Java and XML Software, Consulting and Writing http://www.xmldatabases.org/
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org



Reply via email to