private void fillXMLAttributes(StartElement event){
  fAttributes.removeAllAttributes();
  final Iterator attrs=event.getAttributes();
  while (attrs.hasNext()) {
    Attribute attr=(Attribute)attrs.next();
    fillQName(fAttributeQName,attr.getName());
    String type=attr.getDTDType();
    int idx=fAttributes.getLength();
    fAttributes.addAttributeNS(fAttributeQName,(type != null) ? type : XMLSymbols.fCDATASymbol,attr.getValue());
    fAttributes.setSpecified(idx,attr.isSpecified());
  }
}

private void fillXMLAttributes ( StartElement event ) { fAttributes . removeAllAttributes ( ) ; final Iterator attrs = event . getAttributes ( ) ; while ( attrs . hasNext ( ) ) { Attribute attr = ( Attribute ) attrs . next ( ) ; fillQName ( fAttributeQName , attr . getName ( ) ) ; String type = attr . getDTDType ( ) ; int idx = fAttributes . getLength ( ) ; fAttributes . addAttributeNS ( fAttributeQName , ( type != null ) ? type : XMLSymbols . fCDATASymbol , attr . getValue ( ) ) ; fAttributes . setSpecified ( idx , attr . isSpecified ( ) ) ; } }
fills in the xmlattributes object .
