Bad attribute.
This is an error when the attribute name is wrong, or the attribute value
is wrong. For example:
-
When MSV sees an unexpected attribute name:
-
When an attribute value does not match the specified datatype.
For example, the following document causes this error if the "width"
attribute is specified as the int type.
This error is reported in the startElement callback.
Currently, the application cannot easily distinguish whether
this error is caused by an invalid attribute value, or invalid
attribute name. It is also non-trivial for MSV to detect this difference
correctly. But there maybe applications to which this difference is
important.
I welcome any comments on this issue.