[gxml/gsoc2013: 15/69] Document.vala: convert more entity references to their actual characters
- From: Richard Hans Schwarting <rschwart src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml/gsoc2013: 15/69] Document.vala: convert more entity references to their actual characters
- Date: Sat, 27 Jul 2013 04:07:28 +0000 (UTC)
commit 485dd65079da3bd20862033d14a0988e910f92be
Author: Richard Schwarting <aquarichy gmail com>
Date: Sat Jul 27 00:01:29 2013 -0400
Document.vala: convert more entity references to their actual characters
gxml/Document.vala | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gxml/Document.vala b/gxml/Document.vala
index 5b66244..bbc302f 100644
--- a/gxml/Document.vala
+++ b/gxml/Document.vala
@@ -464,7 +464,7 @@ namespace GXml {
/* Public Methods */
/**
* Creates an empty Element node with the tag name
- * tag_name. XML example: {{{<Person></Person>}}}
+ * tag_name. XML example: {{{<Person></Person>}}}
*/
public Element create_element (string tag_name) {
/* TODO: libxml2 doesn't complain about invalid names, but the spec
@@ -488,13 +488,13 @@ namespace GXml {
/**
* Creates a text node containing the text in data.
* XML example:
- * {{{<someElement>Text is contained here.</someElement>}}}
+ * {{{<someElement>Text is contained here.</someElement>}}}
*/
public Text create_text_node (string data) {
return new Text (this.xmldoc->new_text (data), this);
}
/**
- * Creates an XML comment with data. XML example: {{{<!-- data -->}}}
+ * Creates an XML comment with data. XML example: {{{<!-- data -->}}}
*/
public Comment create_comment (string data) {
return new Comment (this.xmldoc->new_comment (data), this);
@@ -503,7 +503,7 @@ namespace GXml {
/**
* Creates a CDATA section containing data. XML
* example:
- * {{{ <![CDATA[Here contains non-XML data, like
+ * {{{ <![CDATA[Here contains non-XML data, like
* code, or something that requires a lot of special
* XML entities.]]>. }}}
*/
@@ -515,8 +515,8 @@ namespace GXml {
}
/**
* Creates a Processing Instructions. XML example:
- * {{{<?pi_target processing instruction data?>
- * <?xml-stylesheet href="style.xsl" type="text/xml"?>}}}
+ * {{{<?pi_target processing instruction data?>
+ * <?xml-stylesheet href="style.xsl" type="text/xml"?>}}}
*/
public ProcessingInstruction create_processing_instruction (string target, string data) {
check_html ("processing instructions"); // TODO: i18n
@@ -540,8 +540,8 @@ namespace GXml {
}
/**
* Creates an entity reference. XML example:
- * {{{&name;
- * &apos;}}}
+ * {{{&name;
+ * '}}}
*/
public EntityReference create_entity_reference (string name) {
check_html ("entity reference"); // TODO: i18n
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]