A question on DOMException: Why is code defined as component instead of an attribute?

Looking at the normative xml file I see that the DOMException, code member is defined as a 
<component>.

Why is code defined as <component> instead of <attribute> ?

What was/is the idea behind this?

Best Regards
Alejandro Lapeyre 

Received on Saturday, 11 June 2005 01:15:17 UTC