因?yàn)?/c>XML語法分析器不知道文本數(shù)據(jù)--令人頭疼的空格--是否重要。
Every regular expression is logically equivalent to a state machine, and the parser of every regular expression implements a state machine.
邏輯上,每個(gè)規(guī)則表達(dá)式都等價(jià)于一個(gè)狀態(tài)機(jī),而每個(gè)規(guī)則表達(dá)式的語法分析器都實(shí)現(xiàn)這個(gè)狀態(tài)機(jī)。
Most parsers that implement the DOM provide at least a vendor-specific means of access to an underlying SAX parser.
很多實(shí)現(xiàn)DOM的解析器至少提供一個(gè)供應(yīng)商專用的方法來訪問一個(gè)底層SAX解析器。
This flexibility gives you many choices when trying to solve scalability or performance problems in a particular XML parser.
這種靈活性為您在一個(gè)特定的XML解析器下解決可擴(kuò)展性或性能問題時(shí)提供更多的選擇。
The OCL parser at the bottom of the OCL expression editor confirms that the syntax is okay and that you're returning a collection.
在OCLexpressioneditor底部的OCL解析器能確認(rèn)語法是否正確以及是否返回了一個(gè)集合。
While it was never difficult, and while the parser is a standard part of the platform, the extra work was a bit of an annoyance.
雖然這并非是一件困難的事情,并且解析器是平臺(tái)的標(biāo)準(zhǔn)部分,但是額外的工作總是有點(diǎn)讓人煩。
Since the grammar of JSON is fairly simple, you can implement such a parser easily without any noticeable performance difference.
由于JSON的語法相當(dāng)的簡單,您可以輕易地實(shí)現(xiàn)這種解析器,而不會(huì)帶來顯著的性能差異。
Note that the SAX parser is not required to supply a Locator, but if it does, it must fire this event before any other event.
請(qǐng)注意,不需要SAX語法分析器提供Locator,但是如果它提供了,則必須在任何其它事件之前激活該事件。
You might have to adapt the classpath (second command) if you installed the parser in a different directory.
如果在另一個(gè)目錄下安裝語法分析器,則可能必須修改classpath(第二條命令)。
Parsing of XML data is often done with a SAX-style parser.
XML數(shù)據(jù)解析通常是使用一個(gè)SAX風(fēng)格的解析器完成的。
In the past, to revalidate your document once it had been modified you had to save it to a file and read it back with a validating parser.
過去,要在文檔修改后對(duì)它進(jìn)行重新驗(yàn)證,必須將它保存為一個(gè)文件,再用驗(yàn)證解析器讀回去。
The problem with XML in browser-based application development is the lack of a native, easy-to-use JavaScript parser.
在基于瀏覽器的應(yīng)用程序的開發(fā)中,XML缺乏本地的、易于使用的JavaScript解析器。
The MRM CWF parser uses the record's properties (the length of each field) to determine where one Invoice ends and the next one begins.
MRMCWF解析器使用記錄的屬性(每個(gè)字段的長度)來確定一個(gè)Invoice記錄從何處結(jié)束以及下一個(gè)Invoice記錄從何處開始。
Recognizing and rejecting unexpected formats you aren't prepared to handle is typically the province of a validating XML parser.
識(shí)別和拒絕不打算處理的非預(yù)期格式通常屬于XML驗(yàn)證解析器的范疇。
As you know, SAX parsing requires you to write a ContentHandler that processes parser events.
您知道,SAX語法分析要求您編寫處理語法分析器事件的ContentHandler。
Before any provider can be built, the existence of some sort of domain-specific parser is required.
在創(chuàng)建任何種類的Provider之前,需要有一些特定領(lǐng)域的剖析器存在。
If you do not include it, a parser error occurs.
如果未包含該屬性,將出現(xiàn)分析器錯(cuò)誤。
Unfortunately, a majority of the time, the parser's message validation functions are not enabled due to its impact on performance.
不幸的是,在大部分的時(shí)間里,由于它對(duì)于性能方面的影響,解析器的消息驗(yàn)證函數(shù)不能被啟用。
A DOM parser turns an XML document into an easy-to-use object representing all the data from the XML document.
DOM解析器將把XML文檔轉(zhuǎn)換成表示文檔中所有數(shù)據(jù)的易于使用的對(duì)象。
Any attempt to write in a configuration file at a different level in the hierarchy will result in an error message generated by the parser.
如果配置文件位于層次結(jié)構(gòu)中的其他級(jí)別,則對(duì)配置文件的任何寫入嘗試都會(huì)導(dǎo)致分析器產(chǎn)生一條錯(cuò)誤信息。
Sure, you could use the XML parser in a Web client to read the data, but two problems arise with that approach.
當(dāng)然,您可以在Web客戶機(jī)中使用XML解析器來讀取數(shù)據(jù),但這種做法會(huì)帶來兩個(gè)問題。
If your document is large, but you only need part of the document, then the XML pull parser might be a more efficient way to go.
如果您的文檔比較大,但您只需要文檔的一部分,則XMLPull解析器可能是更為有效的方法。
JAXP initially had the goal to remove some of the vendor-specific details, related to which XML parser was used, from SAX and DOM code.
最初,JAXP的目標(biāo)是從SAX和DOM代碼中移除一些特定于供應(yīng)商的信息(涉及到所使用的XML解析器)。
These comments don't provide complete CDT grammar, but if you're trying to use or modify the Parser class, you'll them helpful.
這些注釋并不提供完整的CDT語法,但如果試圖使用或修改Parser類,它們將會(huì)很有幫助。
We have also taken a brief look at how to define an analysis result class and given a bit of an overview of the parser.
同時(shí)我們還簡略的學(xué)習(xí)了,怎樣去定義一個(gè)分析結(jié)果類,并給出了剖析器的概述。
It is the responsibility of the application to call the parser repetitively in a loop until the end of the document is reached.
循環(huán)中應(yīng)用程序負(fù)責(zé)反復(fù)調(diào)用解析器,直到文件結(jié)束。
Building your own parser increases the complexity of your application , and will not perform as well as the shipped parsers .
構(gòu)建自己的分析器會(huì)增加應(yīng)用程序的復(fù)雜程度,其執(zhí)行效果也不如附帶的分析器。
The techniques include XML parser, RDBMS and a given format configuration, which used to verify the standardization of RSS metadata.
包括XML解析器和關(guān)系數(shù)據(jù)庫的應(yīng)用,并采用特定格式的配置文件來檢驗(yàn)元數(shù)據(jù)的規(guī)范性,滿足用戶對(duì)不同元數(shù)據(jù)的抽取。
Involve setting the value of a specific item that the parser uses, like the location of a schema to validate all documents against.
包括設(shè)置解析器所使用的特定項(xiàng)的值,如用來驗(yàn)證所有文檔的模式位置。
Although the quality of error messages produced during validation by an XML Schema parser can be improved significantly.
但是在XMLSchema解析器的驗(yàn)證期間生成的錯(cuò)誤消息的質(zhì)量可被顯著改進(jìn)。
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部分被轉(zhuǎn)換到XML世界,以便XML解析器進(jìn)行解析以及XML值的輸出(串行化)。
If it returns an , the entire expression consists of a single integer, is valid, and the parser returns control to the calling application.
如果返回,則由單個(gè)整數(shù)構(gòu)成的整個(gè)表達(dá)式都是有效的,解析器將控制返還給調(diào)用應(yīng)用程序。
That URI is usually provided by the parser based on the location of the file in which it was parsed.
解析器通常根據(jù)被解析文件的位置來提供這個(gè)URI。
I'll also show you how a single parser (represented by an instance of an XMLReader) can have multiple handlers registered to it.
我還將為您展示一個(gè)解析器(由XMLReader的一個(gè)實(shí)例作為代表)如何可以注冊(cè)多個(gè)處理程序。
These behaviors are totally independent of a specific XML document, and therefore involve interaction with your new parser instance.
這些行為完全獨(dú)立于特定的XML文檔,因此涉及與新解析器實(shí)例的交互。
Wrapping the parser within an unmarshalling context allows a wide variety of access methods to be defined with a minimum of code.
將解析器包裝在數(shù)據(jù)編出上下文內(nèi),這樣就可以用最少的代碼定義各種各樣的訪問方法。