void parseAttributeDeclaredValue(AttributeList atts) throws IOException {
  if (ch == '(') {
    atts.values=parseIdentifierList(true);
    atts.type=NMTOKEN;
    return;
  }
  if (!parseIdentifier(false)) {
    error("invalid","attribute value");
    return;
  }
  atts.type=AttributeList.name2type(getString(0));
  skipParameterSpace();
  if (atts.type == NOTATION) {
    atts.values=parseIdentifierList(true);
  }
}

void parseAttributeDeclaredValue ( AttributeList atts ) throws IOException { if ( ch == '(' ) { atts . values = parseIdentifierList ( true ) ; atts . type = NMTOKEN ; return ; } if ( ! parseIdentifier ( false ) ) { error ( "invalid" , "attribute value" ) ; return ; } atts . type = AttributeList . name2type ( getString ( 0 ) ) ; skipParameterSpace ( ) ; if ( atts . type == NOTATION ) { atts . values = parseIdentifierList ( true ) ; } }
parse an attribute declared value . [ 145 ] 422 : 6
