和树解析方式不同,流解析不需要将整个文档加载到内存中。
Unlike tree style parsing, stream parsing does not load the entire XML document into memory.
因为还要将该实例传递给解析器,所以解析器的操作将停止。
Since this instance was passed to the parser as well, the parser operation will stop.
另一方面,如果是文本格式,则需要使用一个纯文本解析器来解析和索引文档。
With format text on the other hand, a plain-text parser is used to parse and index the document.
但是使用工厂是为了创建解析器而不是直接解析文档。
However, you use the factory to create parsers, not to parse documents directly.
在许多方面,XI的行为象xml解析器—但它解析任何文本文档。
In many respects, XI behaves like an XML parser — but it parses any text document.
对于通过名称引用的主机,必须通过名称解析机制解析它。
For a host to be referenced by name, it has to be resolved through name resolution.
这样的定义是很模糊的。但是有一种更好的规定方法—警告表示不会阻止解析器继续解析的问题。
That's pretty vague, but there's a better way of stating this - warnings are problems that don't prevent the parser from continuing to parse.
假定有一组特性和性质,解析器池应该从内部池中返回一个解析器,如果内部池中没有解析器,那么解析器池应该创建并保存一个新的解析器实例。
Given a set of features and properties, the parser pool should either return a parser from an internal pool or create and store a new parser instance if one does not exist.
在使用推方式的情况下,由解析器来控制解析操作,需要向解析器提供要解析的文档和处理程序。
With a push approach, the parser is in control of the parsing operation — you give the parser a document to parse and a handler reference.
同时还进行符号解析,可以解析位于内核中的符号(被编译成内核映象),或临时的符号(从其他模块导出)。
Symbol resolution also occurs, which can resolve to symbols that are resident in the kernel (compiled into the kernel image) or symbols that are transient (exported from other modules).
本文重点介绍人员解析,人员解析主要用来确定用户ID,以便能够授权用户对流程或任务执行特定的操作。
This article focuses on staff resolution, which is mainly used to determine user IDs so people can be authorized for certain actions on processes or tasks.
可以使用它对XML数据进行树解析和流解析。
编程方法——编写特定的解析器程序来解析每种消息格式。
Programmatic approach — a specific parser program is written to parse each message format.
它具有模型驱动的通用解析器,可解析二进制消息、文本消息和XML文档。
It has a general-purpose, model-driven parser that can parse binary messages, text messages, and XML documents.
XML本身是相当复杂的,但是现有的工具比较成熟,例如浏览器中已经存在的解析器会使解析步骤简化。
XML by itself is relatively complex, but parsers already exist in the browser, which makes that step simple, for instance.
在解析一个表达式的时候,解析器每当解析“AND”时就发出字“INTERSECT”,而解析“OR”时就发出“UNION”。
When an expression is being parsed, the parser should emit the word "INTERSECT" whenever it parses "and" and "UNION" whenever it parses "or".
在解析器内部,文档解析的时候内存中开辟一些缓冲区保存文档块。
Inside the parser, a number of buffers store chunks of the document in memory as it is being parsed.
xml解析器可以解析任何XML文档,但它仍然需要模型来执行验证。
An XML parser can parse any XML document, but it still needs a model to perform validation.
用开放源码验证解析器进行自动解析的可能性也影响这条指导原则的采用。
The potential for automated parsing with open-source validating parsers also influenced adoption of this guideline.
换句话说,该构造管理由解析器构造的解析树的形状和内容。
In other words, this governs the shape and content of the parse tree that's constructed by the parser.
在运行时,人员解析插件解析动词的参数并查询底层用户存储库,从而选择适当的角色。
In runtime, the "Verb" is resolved by the "Staff Resolution Plug-in" by parsing the parameters and querying the underlying users' repository to choose appropriate roles.
而拉出解析将解析事件报告转了向。
强制性解析——有意构造难以解析的XML消息,以消耗计算机资源。
Coercive parsing — XML messages specially constructed to be difficult to parse to consume the resources of the machine.
除了数据值外,xml解析还需要解析元数据标记。
In addition to the data values, XML parsing involves parsing the metadata tags.
作为解析器设计者,您可以将解析前后所有与解析器有关的动作置于该文件中。
This is the place where you, the parser designer, can place all of your pre - and post-parsing activity related to your parser.
同样,用于概率解析的解析器也捆绑到了NLTK中。
Again, parsers for probabilistic parsing are also bundled with NLTK.
空人员解析结果与失败的人员解析结果同等对待。
An empty staff resolution result is treated the same way as a failed one.
查询的XML部分被转换到xml世界,以便xml解析器进行解析以及xml值的输出(串行化)。
The XML portion of a query is converted to the XML world for parsing by the XML parser, and for output (serialization) of the XML value.
解析器在执行解析时可能使用也可能不使用某个模型。
您使用xml解析器解析从服务器返回的响应XML。
You used the XML parser to chew up the response XML from the server.
应用推荐