SAX解析XML文档对于carriage return,line feed,tab,space 处理过程:
SAX解析XML文档对于carriagereturn,line feed,tab,space 处理过程:
测试数据:
<A>
<B>
</B>
<B/>
<B> </B>
<B></B>
<B></B>
</A>
测试输出:
<A> xAx9
<B>xAx9
</B>xAx9
<B/> xAx9
<B>x20</B> xAx9
<B>x9</B> xAx9
<B></B> xA
</A>
注释:carriage return (#xD), line feed (#xA), tab (#x9) ,space(#x20)
