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.