[Winmerge-support] ProcessingInstruction in DisplayXMLFiles.dll
Windows visual diff and merge for files and directories
Brought to you by:
christianlist,
grimmdp
From: Marco De P. <dep...@gm...> - 2007-10-17 13:25:12
|
just a minimal patch for "Plugins\src_VCPP\DisplayXMLFiles\WinMergeScript.cpp" to manage ProcessingInstructions in DisplayXMLFiles.dll i hope it helps, Marco 217,232c217 < < // End the previous element if needed < if (pData->bNeedsEnding) < { < fprintf(pData->pOutput,">\n"); < pData->bNeedsEnding = false; < } < < // Indent < for (int i = 0; i < pData->iDepth; i++) < { < fprintf(pData->pOutput,"\t"); < } < < // Output processing instruction < fprintf(pData->pOutput, "<?%s %s?>\n", target, data); --- > // Not yet implemented 236a222 > int i; 247c233 < for (int i = 0; i < pData->iDepth; i++) --- > for (i = 0; i < pData->iDepth; i++) 302c288 < XML_SetProcessingInstructionHandler(parser, ProcessingInstructionHandler); --- > //XML_SetProcessingInstructionHandler(parser, ProcessingInstructionHandler); |