解析过程触发的事件为:
读到的标签及内容 触发事件
{文档开始} startDocument()
<persons> startElement("","persons",null,"{Attributes}")
"\n\t" characters("<persons>...</persons>","12","2")
<person> startElement("","person",null,"{Attributes}")
"\n\t\t" characters("<persons>...</persons>","31","3")
<name> startElement("","name",null,"{Attributes}")
"LiMing" characters("<persons>...</persons>","40","2")
</name> endElement("","name",null)
"\n\t\t" characters("<persons>...</persons>","50","3")
<age> startElement("","age",null,"{Attributes}")
"30" characters("<persons>...</persons>","58","2")
</age> endElement("","age",null)
"\n\t" characters("<persons>...</persons>","67","2")
</person> endElement("","person",null)
"\n\t" characters("<persons>...</persons>","79","2")
<person> startElement("","person",null,"{Attributes}")
"\n\t\t" characters("<persons>...</persons>","98","3")
<name> startElement("","name",null,"{Attributes}")
"XiaoZhang" characters("<persons>...</persons>","107","3")
</name> endElement("","name",null)
"\n\t\t" characters("<persons>...</persons>","118","3")
<age> startElement("","age",null,"{Attributes}")
"25" characters("<persons>...</persons>","126","2")
</age> endElement("","age",null)
"\n\t\t" characters("<persons>...</persons>","135","2")
</person> endElement("","person",null)
"\n" characters("<persons>...</persons>","147","1")
</persons> endElement