XML

Xerces-C++ ContentHandler::characters()の動作

Xerces-C++ 2.8のSAXで発生した問題に関するメモ。 The Parser will call this method to report each chunk of character data. SAX parsers may return all contiguous character data in a single chunk, or they may split it into several chunks; howe…

Xerces C++ DOMNodeList

DOMNodeList::getLength()、まさか先頭からリンクを辿ってデータ数をカウントする内部構造とは思わなかった...src\xercesc\dom\impl\DOMNodeListImpl.cpp内部に、ご丁寧にこんなコメントあったよ。 ソース確認するのって重要... // this implementation is t…