| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
gTestfile = 'regress-283972.js'; |
| 7 |
|
| 8 |
var summary = 'throw error when two attributes with the same local name and ' + |
| 9 |
'the same namespace'; |
| 10 |
var BUGNUMBER = 283972; |
| 11 |
var actual = 'no error'; |
| 12 |
var expect = 'error'; |
| 13 |
|
| 14 |
printBugNumber(BUGNUMBER); |
| 15 |
START(summary); |
| 16 |
|
| 17 |
try |
| 18 |
{ |
| 19 |
var xml = <god xmlns:pf1="http://example.com/2005/02/pf1" |
| 20 |
xmlns:pf2="http://example.com/2005/02/pf1" |
| 21 |
pf1:name="Kibo" |
| 22 |
pf2:name="Xibo" />; |
| 23 |
printStatus(xml.toXMLString()); |
| 24 |
} |
| 25 |
catch(e) |
| 26 |
{ |
| 27 |
actual = 'error'; |
| 28 |
} |
| 29 |
|
| 30 |
TEST(1, expect, actual); |
| 31 |
|
| 32 |
END(); |