> This issue can happen in JDK 6 if an Attribute is created with SAX > AttributeImpl addAttribute() method and a "type" string argument of
Quick reminder: NOBODY should still be using the addAttribute() method unless you are explicitly writing DOM 1.0 code. It is not interoperable with DOM 2.0. Use addAttributeNS(). (Probably orthogonal to this discussion, but people keep making this mistake so it's worth re-emphasizing.)