private void addAttributeWithValue() throws SAXException {
        if (attributeName != null) {
            String value = longStrBufToString();
            if (value.indexOf('<') != -1) {
                errAttributeValueContainsLt();
                return;
            }
            if (badCharInCandidateAttributeName()) {
                return;
            }
            attributes.addAttribute("", "", attributeName, "", value);
            attributeName = null;
        }
    }
Collect a set of attribues and values from the data part of a PI.

<p>
The bulk of this method and associated methods that follow it here are
copied from the nu.validator.htmlparser.impl.Tokenizer class, with
appropriate modifications.
</p>

@see nu.validator.htmlparser.impl.Tokenizer
@see nu.validator.htmlparser.impl.ErrorReportingTokenizer
src/nu/validator/checker/XmlPiChecker.java