XMLParser v2.39
===============
The library is composed by two files: "xmlParser.cpp" and "xmlParser.h".
These are the ONLY 2 files that you need when using the library inside your own projects.
All the functions of the library are documented inside the comments of the file "xmlParser.h".
These comments can be transformed in full-fledged HTML documentation using the DOXYGEN
software: simply type: "doxygen doxy.cfg"
For more documentation, please refer either to the file "xmlParser.h" or "Doc/html/index.html".
Change Log
----------
* V1.00: February 20, 2002: initial version by Martyn C Brown.
* V1.01: February 13, 2005: first bug-free "internet" release.
* V1.02: March 6, 2005: 2 minor changes:
o "parseString" function declaration changed to allow easy parsing from memory buffer
o Minor changes to allow easy compilation under old GCC under QNX
* V1.03: April 2,2005: 3 minors changes:
o When parsing from a user-supplied memory buffer, the library was previously modifying the content of the memory buffer. This is not the case anymore
o Non-unicode Windows version: You can now work with unicode XML files: They are converted to ANSI charset before being processed
o Added Visual Studio 6.0 project files
* V1.04: May 16, 2005: 3 minors changes, 1 bug fix:
o FIX: When creating an xml string with no formatting, the formatting did not work always (due to an un-initialized variable)
o Improved parsing speed (try increasing the constant "memoryIncrease" if you need more speed)
o Minor changes to allow easy compilation under MSYS/MINGW under Windows
o Added more character entities
* V1.05: May 31, 2005: 2 minors changes:
o Changed some "char *" to "const char *"
o Improved robustness against badly formed xml strings
* V1.06: July 11, 2005: 1 change, 1 bug fix:
o FIX: Some character entities were not previously correctly processed.
o Major speed improvement. The library is now at least 10 times faster. (Try increasing the constant "memoryIncrease" if you need more speed)
o moved the log file out of the HTML file
* V1.07: July 25, 2005: 1 change
o Added a pre-compiler directive named "APPROXIMATE_PARSING". See header of xmlParser.cpp for more info.
* V1.08: September 8,2005: 1 bug fix:
o FIX: on special cases, non-matching quotes were causing malfunction
* V1.09: November 22, 2005: 1 addition
o Added some new functions to be able to easily create a XML structure in memory
* V1.10: December 29, 2005: 2 minor change.
o Changed some formatting when rendering a XML tree to a string
o added the STRICT_PARSING option
* V1.11: December 31, 2005: 1 bug fix:
o FIX: reduced memory consumption.
* V1.12: January 4, 2006: 1 addition.
o added the function "removeNodeContent" to delete a subtree
* V1.13: February 25, 2006: 1 addition.
o added a primitive UNICODE support under linux (thanks to Sunny Bains)
* V1.14: April 24, 2006: 1 bug fix:
o FIX: memory allocation errors when the XML tree is created from scratch using "addChild" method.
* V1.15: April 28, 2006: 2 additions
o added some methods to delete attributes,clearTags and textFields from an XMLNode tree.
o added the "addChild(XMLNode x)" method
* V1.16: May 17, 2006: 1 bug fix:
o FIX: memory allocation errors under linux
* V1.17: May 28, 2006: 1 bug fix, 2 additions:
o FIX: character entities not always processed inside text block
o position of the eXMLErrorMissingEndTag error is computed
o added the eXMLErrorUnknownEscapeSequence
* V1.18: June 8, 2006: 1 bug fix, minors changes
o FIX: the 'eXMLErrorFirstTagNotFound' error was not reported.
* V1.19: July 4, 2006: 3 addition.
o added automatic convertion from/to UNICODE/ANSI in linux (this was already done in windows)
o added getChildNodeWithAttribute()
o added support for SOLARIS unicode (Thanks to Joseph Vijay!).
o added support for 32 bit unicode (so that the library works on Redhat Enterprise v4 EMT64).
* V1.20: July 22, 2006: 13 additions.
o added 9 "update" functions (like updateAttribute(LPCTSTR lpszNewValue, LPCTSTR lpszNewName=NULL,LPCTSTR lpszOldName);)
o added 4 functions that allows you to include any binary data (images, sounds,...) into an XML file or string using "Base64 encoding".
* V2.01: July 24, 2006: 1 major change, 2 minor change, 3 additions
o added extended support for strict UTF-8 character encoding (The characters in UTF-8 have different lengths (from 1 byte to 4 bytes)).
Chinese, cyrilic and other extended characters are now processed successfully.
o new character entities: This is now equivalent: 'A' or 'A' or 'A'
(The ascci code of 'A' is 65 in decimal and 0x41 in hexadecimal).
o added a function that try to guess if the encoding is UTF-8.
o the code has been modified in order to allow easy inclusion of new entities and new clearTags (minor change).
o the "updateAttribute" function is now adding a new attribute if the one to update is missing.
(same behavior for "updateText" and "updateClear").
o no more "stringDup" required for functions like "addText", "addAttribute",...
The old behavior is still accessible through functions like "addText_WOSD", "addAttribute_WOSD",...
("_WSOD" stands for "WithOut StringDup").
This change greatly simplifies the user's code (major update).
Unfortunately, old user's code must be updated to work with the new version.
Fortunately, all the user's code used to READ the content of an XML file is left unchanged:
Only the "creation of XML" and the "update of XML" user's code require a little updating work.
* V2.02: July 25, 2006: 1 minor change
o changed the function "createXMLTopNode()" to "createXMLTopNode(LPCTSTR lpszName, int isDeclaration=FALSE);".
* V2.03: July 28, 2006: 1 minor change
o changed LPTSTR to XMLSTR to avoid name-clash with the definitions in <winnt.h>
* V2.04: August 6, 2006: 1 addition
o added one heuristic inside the function "guessUTF8ParsingParameterValue".
* V2.05: August 15, 2006: 1 addition
o now displays the error message inside the method "openFileHelper" in a MessageBox window (WIN32 only).
* V2.06: August 16, 2006: 2 additions
o added the method XMLNode::writeToFile to make it easier to write the content of an XMLNode to a file.
o added support for Byte-order marks (or BOM).
* V2.07: August 22, 2006: 1 additions
o added _XMLUNICODE preprocessor variable to make it easy to force the library into either utf16-mode or utf8-mode.
* V2.08: August 22, 2006: 1 bug fix
o inside the tag content, the ">" and "/>" strings are not reported as errors anymore.
* V2.09: August 31, 2006: 1 bug fix
o the character entities of type K were not working properly (thanks to Jos� Carlos Medeiros for notifying me!).
* V2.10: September 21, 2006: 1 bug fix
o two consecutive calls to the deleteNodeContent() function on the same node has now no effect (as it should be).
(Thanks to Hartmut Lemmel for notifying me!)
o improved compatibility to Borland C++
* V2.11: October 24, 2006: 3 additions, 1 bug fix.
o added the function getParentNode(). Thanks to Jakub Siudzinski for notifying me a good way to do it easily.
o added one parameter to the deleteNodeContent() function to force the deletion of the underlying XMLNode tree.
This will release all the memory occupied by the XMLNode tree even if there still exist references to some part
of the tree.
o changed the usage of the base64Encode() function to reduce the number of malloc's (speed increase).
o FIX: when parsing an XML string, if the TOP tag has no closing tag, the library now correctly
reports "eXMLErrorMissingEndTag".
* V2.12: October 25, 2006: 2 additions
o refactoring of the Base64 functions to make things easier to use
o added the _XMLPARSER_NO_MESSAGEBOX_ preprocessor vari
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
__xmlParser.zip (71个子文件)
xmlParser
makefile.solaris 1KB
xmlParserDLL.dsp 4KB
XMLNodeAutoexp.txt 7KB
xmlParserUnicode.dsp 5KB
xmlTestUnicode.cpp 15KB
xmlParser.h 42KB
xmlParserTestDLL.dsp 4KB
Readme.txt 15KB
xmlTest.cpp 16KB
xmlParser.html 35KB
xmlParser.dsw 1KB
xmlParser.cpp 105KB
xmlParser.lib 42KB
doxy.cfg 2KB
makefile 2KB
xmlParser.dsp 4KB
Doc
html
functions_type.html 2KB
globals_func.html 3KB
structXMLClear.html 5KB
files.html 1KB
group__xmlPosition.html 11KB
globals_type.html 2KB
structXMLParserBase64Tool-members.html 4KB
group__conversions.html 29KB
structXMLAttribute-members.html 2KB
group__atoX.html 9KB
group__ToXMLStringTool.html 2KB
structXMLNodeContents-members.html 2KB
group__xmlModify.html 3KB
functions.html 14KB
group__navigate.html 35KB
globals_eval.html 5KB
group__XMLParserBase64Tool.html 2KB
annotated.html 3KB
modules.html 2KB
group__StringAlloc.html 4KB
group__xmlDelete.html 14KB
functions_enum.html 2KB
structXMLClear-members.html 2KB
xmlParser_8h-source.html 73KB
xmlParser_8h.html 29KB
index.html 5KB
doxygen.png 1KB
structXMLResults-members.html 2KB
structXMLNodeContents.html 7KB
structXMLAttribute.html 4KB
structXMLParserBase64Tool.html 16KB
globals.html 8KB
group__XMLParserGeneral.html 3KB
functions_vars.html 3KB
doxygen.css 9KB
structXMLNode-members.html 24KB
group__xmlWOSD.html 26KB
structToXMLStringTool-members.html 3KB
tab_r.gif 3KB
structXMLNode.html 58KB
globals_enum.html 2KB
functions_eval.html 3KB
tab_b.gif 35B
functions_func.html 12KB
tabs.css 2KB
group__xmlUpdate.html 15KB
tab_l.gif 706B
structXMLResults.html 5KB
structToXMLStringTool.html 10KB
group__creation.html 12KB
globals_defs.html 2KB
AFPL-license.txt 12KB
utf8test.xml 671B
xmlParser.dll 37KB
PMMLModel.xml 1KB
共 71 条
- 1
coyer
- 粉丝: 26
- 资源: 21
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Screenshot_20240427_031602.jpg
- 网页PDF_2024年04月26日 23-46-14_QQ浏览器网页保存_QQ浏览器转格式(6).docx
- 直接插入排序,冒泡排序,直接选择排序.zip
- 在排序2的基础上,再次对快排进行优化,其次增加快排非递归,归并排序,归并排序非递归版.zip
- 实现了7种排序算法.三种复杂度排序.三种nlogn复杂度排序(堆排序,归并排序,快速排序)一种线性复杂度的排序.zip
- 冒泡排序 直接选择排序 直接插入排序 随机快速排序 归并排序 堆排序.zip
- 课设-内部排序算法比较 包括冒泡排序、直接插入排序、简单选择排序、快速排序、希尔排序、归并排序和堆排序.zip
- Python排序算法.zip
- C语言实现直接插入排序、希尔排序、选择排序、冒泡排序、堆排序、快速排序、归并排序、计数排序,并带图详解.zip
- 常用工具集参考用于图像等数据处理
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页