JAXP's added functionality is fairly minor, especially where SAX is involved.
JAXP的附加功能相当小,尤其是涉及到SAX的地方。
That's where SAX can really help: it allows you to receive possibly bad data or error conditions before the program halts processing and gives you a chance to make course corrections.
这就是SAX的真正用途所在:在程序中断处理过程并进行修复之前,允许接收可能错误的数据或者错误状态。
While I appreciate the power and flexibility of SAX parsers, I have also found that they require lots of tedious coding to track where the parser is in the document.
在我欣赏SAX解析器的功能和灵活性的同时,我也发现它们需要进行大量冗长乏味的编码以跟踪解析器在文档中的位置。
But in those rare cases where you do need to know the input encoding, SAX and XNI offer fast and efficient means of figuring it out.
但是,有些情况下需要知道输入编码,SAX和XNI可以提供快速而有效的方法来解决这一问题。
Assuming that your SAX application always runs in an environment where Xerces2 is present, you can benefit by switching to programming with XNI directly.
如果您的SAX应用程序总是在Xerces2支持的环境中运行,直接使用XNI编程会带来很大好处。
In this section, we discuss areas where using the Xerces2's SAX parser could affect your application's performance.
这一部分我们将讨论使用Xerces2SAX解析器可能对应用程序性能的哪些方面产生影响。
In this section, we discuss areas where using the Xerces2's SAX parser could affect your application's performance.
这一部分我们将讨论使用Xerces2SAX解析器可能对应用程序性能的哪些方面产生影响。
应用推荐