[Quickfix-developers] Critical LIBXML_DOMDocument.cpp patch for QuickFIX 1.4
Brought to you by:
orenmnero
From: Gene G. <mus...@ya...> - 2003-03-19 06:41:26
|
LIBXML implementation of DOMDocument has a problem: it skips over every second node. I am not sure whether the idea was to skip over newlines or some such, but the end-result is that on my configuration (Redhat Linux AS 2.1, libxml 2.4.24. gcc 3.21) only half of the spec xml gets read into memory. This leads to disasterous consequences -- acceptor cannot even be created with half of the fields definitions missing. I have attached a patch; fixed code does not skip nodes. If the reasoning behind double-step was indeed to skip useless newline nodes (and not a plain oversight), check out xmlKeepBlanksDefault () in libxml2. Gene __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com |