Vector attributes;
Tag tag;
String html;
attributes = new Vector ();
attribute = new PageAttribute ();
attribute.setName ("wombat");
assertTrue ("should be standalone", attribute.isStandAlone ());
assertTrue ("should not be whitespace", !attribute.isWhitespace ());
assertTrue ("should not be valued", !attribute.isValued ());
assertTrue ("should not be empty", !attribute.isEmpty ());
attributes.add (attribute);
space = new PageAttribute ();
space.setValue (" ");
assertTrue ("should not be standalone", !space.isStandAlone ());
assertTrue ("should be whitespace", space.isWhitespace ());
assertTrue ("should be valued", space.isValued ());
assertTrue ("should not be empty", !space.isEmpty ());
attributes.add (space);
attribute = new PageAttribute ();
attribute.setName ("label");
attribute.setAssignment ("=");
attribute.setRawValue ("The civil war.");
assertTrue ("should not be standalone", !attribute.isStandAlone ());
assertTrue ("should not be whitespace", !attribute.isWhitespace ());
assertTrue ("should be valued", attribute.isValued ());
assertTrue ("should not be empty", !attribute.isEmpty ());
attributes.add (attribute);
attributes.add (space);
attribute = new PageAttribute ();
attribute.setName ("frameborder");
attribute.setAssignment ("= ");
attribute.setRawValue ("no");
assertTrue ("should not be standalone", !attribute.isStandAlone ());
assertTrue ("should not be whitespace", !attribute.isWhitespace ());
assertTrue ("should be valued", attribute.isValued ());
assertTrue ("should not be empty", !attribute.isEmpty ());
attributes.add (attribute);
attributes.add (space);
attribute = new PageAttribute ();
attribute.setName ("name");
attribute.setAssignment ("=");
attribute.setValue ("topFrame");
attribute.setQuote ('"');
assertTrue ("should not be standalone", !attribute.isStandAlone ());