Re: [xml-dev] attributes with same name and different prefix

From
Elliotte Rusty Harold <>
To
Jeff Greif <>,
Date
2002-04-27T18:58:33Z
ID
<p04330101b8f0a544c0d8@[192.168.254.4]>
Thread
Re: [xml-dev] attributes with same name and different prefix
At 7:46 AM -0700 4/27/02, 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.



It's legal.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold |  | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|             http://www.cafeconleche.org/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+