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.
> 
> 

Reply via email to