这样将导致SAX终止解析过程。
乍一看,这与SAX中的解析过程相似。
解析过程本身和在第3部分中描述的相同。
The parsing process itself is the same as that described in Part 3.
剩下的惟一步骤是将错误处理实现注册到解析过程。
The only step left is to register your error handler implementation with the parsing process.
新的解析过程跟第 3部分中的讨论是有联系的。
The new parsing process doesn't make the discussion in Part 3 irrelevant.
然后把该属性的值回传给客户,解析过程也停止了。
The value of this attribute is then passed back to the client and the parsing process is discontinued.
通过控制解析过程,应用程序可以决定对每个事件做什么。
By controlling the parsing process, the application can decide what to do with each event.
清单4中的代码段说明了一般的DOM解析过程。
Listing 4 shows a code fragment demonstrating the normal DOM parsing procedure.
每个变量的set方法都是在解析过程中设置的。
它定义了XAML语言本身及重点关注的解析过程。
This defines the XAML language itself and focuses heavily on parsing.
对采集信号的解析利用程序完成,解析过程简捷。
To gathers the signal the analysis to complete using the procedure, the resolving is simple and direct.
返回的事件对象是不变的,应用程序可以保存到解析过程之后。
The returned event objects are immutable and the application can cache them beyond the parsing process.
在解析过程中,通过回调事件通知客户事件处理程序。
Client event handlers are informed through callbacks about the events during this parsing process.
我们为什么要研究HTTP标头或用户首选项的解析过程呢?
Why do we have to go through the process of analyzing the HTTP headers or user preferences?
在XML文档解析过程中,实体引用将由它的表示替代。
During the XML document parsing, the entity reference is replaced by its representation.
最后,通过检查此对象是否包含冷却率乘数测试解析过程。
Finally, I tested the parsing by checking to see if the object contained a cooling rate multiplier.
它们指出,在解析过程中,如果达到某个条件,则只能匹配当前规则。
They say that if a point in the parsing process is reached, nothing else except the current rule could match.
解析完成后,应用程序关闭读取器并释放解析过程中获得的资源。
Once parsing is complete, the application closes the reader to release any resources that it acquired during the process.
稍后,我学会了跳过中间解析过程并直接从转换器生成SAX事件。
Later, I learned to skip the intermediate parsing and generate SAX events directly from my converter.
通过保留解析过程的控制权,可以简化调用代码来准确地处理它预期的内容。
By retaining control of the parsing process, you can simplify the calling code to handle precisely the content it expects, and to choose to simply stop parsing when it encounters something unexpected.
对于解析过程的总体性能影响取决于文档中与新行数目相关的字符数。
The overall performance impact on parsing depends on the number of characters in a document relative to the number of new lines.
由于无需使用DOM构建输出,因此也不必使用复杂的解析过程来生成ui元素。
Because you don't need the DOM to build the output, you don't need a complex parsing process to generate the UI elements.
StAX提供了一个拉式解析器,可以让客户应用程序完全控制解析过程。
StAX offers a pull parser that gives client applications full control over the parsing process.
客户应用程序可以决定何时中止解析过程,让解析器停下来也不需要什么诀窍。
A client application may decide at any time to discontinue the parsing process, and no tricks are required to stop the parser.
是为了加强用户对XML解析过程的控制而提出的处理XML文档的API。
StAX(Streaming API for XML) is brought out to give parsing control to the user while handling XML document.
根据XML 1.0规范的定义,致命错误绝对会干扰和阻止解析过程继续进行。
Defined in the XML 1.0 specification, these are problems that absolutely interfere and prevent parsing from continuing.
此外,新增的到API的XModuleResolver接口允许您定制模块解析过程。
Also, the addition of a new XModuleResolver interface to the API allows you to customize the module resolution process.
您还可以选择使用过滤器api中断解析过程,从而只装载XML文档的某一部分。
You can also choose to load only part of an XML document by interrupting parsing using the filter API.
正如SAX规范中所说的那样,在解析过程中的任意时刻,都可以注册一个新的内容处理程序。
At any time during a parse, it is possible to register a new content handler, as stated in the SAX specification.
解析过程会将传入的V 5查询规范或任何潜在的嵌入式SQL或MDX查询转换成一个树表示。
The parsing process will convert the incoming V5 query spec and any potentially embedded SQL or MDX queries into a tree representation.
应用推荐