XmlException if decl.elementName or decl.name is empty.void addAttributeDecl(XmlDtdAttributeDecl decl) @safeAdds an attribute declaration.
Per XML 1.0, multiple <!ATTLIST> declarations for the same element are merged. If an attribute with the same name on the same element is already declared, the first declaration wins and this call is silently ignored.
decl | Attribute declaration. |
XmlException if decl.elementName or decl.name is empty.