From: <vac...@us...> - 2008-12-13 22:03:23
|
Revision: 108 http://xmlwrapp.svn.sourceforge.net/xmlwrapp/?rev=108&view=rev Author: vaclavslavik Date: 2008-12-13 21:53:17 +0000 (Sat, 13 Dec 2008) Log Message: ----------- fix Doxygen warning about unknown tag <chapter> Modified Paths: -------------- trunk/include/xmlwrapp/node.h Modified: trunk/include/xmlwrapp/node.h =================================================================== --- trunk/include/xmlwrapp/node.h 2008-12-13 13:39:53 UTC (rev 107) +++ trunk/include/xmlwrapp/node.h 2008-12-13 21:53:17 UTC (rev 108) @@ -75,7 +75,7 @@ /// enum for the different types of XML nodes enum node_type { - type_element, ///< XML element such as <chapter/> + type_element, ///< XML element such as "<chapter/>" type_text, ///< Text node type_cdata, ///< <![CDATA[text]]> type_pi, ///< Processing Instruction This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vac...@us...> - 2009-01-03 12:08:39
|
Revision: 123 http://xmlwrapp.svn.sourceforge.net/xmlwrapp/?rev=123&view=rev Author: vaclavslavik Date: 2009-01-03 12:08:34 +0000 (Sat, 03 Jan 2009) Log Message: ----------- added @since Doxygen tag to get_namespace's documentation Modified Paths: -------------- trunk/include/xmlwrapp/node.h Modified: trunk/include/xmlwrapp/node.h =================================================================== --- trunk/include/xmlwrapp/node.h 2008-12-22 00:55:26 UTC (rev 122) +++ trunk/include/xmlwrapp/node.h 2009-01-03 12:08:34 UTC (rev 123) @@ -367,6 +367,7 @@ * @return The namespace of this node or NULL if no namespace is * associated. * @author Vaclav Slavik + * @since 0.6.0 **/ //#################################################################### const char* get_namespace (void) const; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vac...@us...> - 2009-01-24 23:26:05
|
Revision: 128 http://xmlwrapp.svn.sourceforge.net/xmlwrapp/?rev=128&view=rev Author: vaclavslavik Date: 2009-01-24 23:25:52 +0000 (Sat, 24 Jan 2009) Log Message: ----------- distance between two nodes iterators is not pointers difference, so difference_type shouldn't be std::ptrdiff_t Modified Paths: -------------- trunk/include/xmlwrapp/node.h Modified: trunk/include/xmlwrapp/node.h =================================================================== --- trunk/include/xmlwrapp/node.h 2009-01-23 00:03:26 UTC (rev 127) +++ trunk/include/xmlwrapp/node.h 2009-01-24 23:25:52 UTC (rev 128) @@ -424,7 +424,7 @@ class iterator { public: typedef node value_type; - typedef std::ptrdiff_t difference_type; + typedef int difference_type; typedef value_type* pointer; typedef value_type& reference; typedef std::forward_iterator_tag iterator_category; @@ -463,7 +463,7 @@ class const_iterator { public: typedef const node value_type; - typedef std::ptrdiff_t difference_type; + typedef int difference_type; typedef value_type* pointer; typedef value_type& reference; typedef std::forward_iterator_tag iterator_category; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vac...@us...> - 2010-03-11 15:29:49
|
Revision: 175 http://xmlwrapp.svn.sourceforge.net/xmlwrapp/?rev=175&view=rev Author: vaclavslavik Date: 2010-03-11 15:29:43 +0000 (Thu, 11 Mar 2010) Log Message: ----------- Clarified xml::node::set_content() argument docs. Like xmlNodeSetNontent(), this function expects valid CDATA fragment, meaning that passing e.g. "M&M" to it is undefined and breaks silently. Modified Paths: -------------- trunk/include/xmlwrapp/node.h Modified: trunk/include/xmlwrapp/node.h =================================================================== --- trunk/include/xmlwrapp/node.h 2010-03-11 15:29:23 UTC (rev 174) +++ trunk/include/xmlwrapp/node.h 2010-03-11 15:29:43 UTC (rev 175) @@ -282,6 +282,12 @@ with one text node set to the given string. @param content The content of the text node. + + @note @a content is supposed to be a piece of XML CDATA, so it allows + entity references, but XML special chars need to be escaped + first. In particular, the '&' character @em must be escaped + as "&" unless it's part of entity reference. Not escaping + @a content may result in truncation of data. */ void set_content(const char *content); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |