[gxml/gsoc2013: 57/69] DomException.vala: rename file to comply with spec, improve docs, whitespace
- From: Richard Hans Schwarting <rschwart src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml/gsoc2013: 57/69] DomException.vala: rename file to comply with spec, improve docs, whitespace
- Date: Sat, 27 Jul 2013 04:10:59 +0000 (UTC)
commit eb3414791f8af1996ca05f6f61117ca089df79bf
Author: Richard Schwarting <aquarichy gmail com>
Date: Sat Jul 27 00:01:54 2013 -0400
DomException.vala: rename file to comply with spec, improve docs, whitespace
gxml/DomException.vala | 106 ++++++++++++++++++++++++-----------------------
1 files changed, 54 insertions(+), 52 deletions(-)
---
diff --git a/gxml/DomException.vala b/gxml/DomException.vala
index 9954a81..a5bf665 100644
--- a/gxml/DomException.vala
+++ b/gxml/DomException.vala
@@ -24,7 +24,9 @@
/**
* Describes various error states. For more, see
- * [[http://www.w3.org/TR/DOM-Level-1/level-one-core.html#ID-BBACDC08]]
+ *
+ * Version: DOM Level 1 Core
+ * URL: [[http://www.w3.org/TR/DOM-Level-1/level-one-core.html#ID-BBACDC08]]
*/
public errordomain GXml.DomError {
/* These error codes are from the IDL: TODO: find out when I should use them */
@@ -33,55 +35,55 @@ public errordomain GXml.DomError {
* An index or size is out of range, like less than 0 or exceeding some upper bound.
*/
INDEX_SIZE,
- /**
- * Text exceeds the maximum size supported in our string implementation.
- */ // TODO: figure out what the limits of strings are in vala
- DOMSTRING_SIZE,
- /**
- * A node asked to be inserted into an invalid location.
- */
- HIERARCHY_REQUEST,
- /**
- * A node created for one document wanted to be used in another.
- */
- WRONG_DOCUMENT,
- /**
- * An invalid character was found in a name.
- */ // TODO: which characters are invalid?
- INVALID_CHARACTER,
- /**
- * Tried to specify data for a node that did not support it.
- */
- NO_DATA_ALLOWED,
- /**
- * Attempted to modify a read-only node.
- */
- NO_MODIFICATION_ALLOWED,
- /**
- * A reference to a non-existent node was made.
- */
- NOT_FOUND,
- /**
- * A request was made for something that this implementation does not support.
- */
- NOT_SUPPORTED,
- /**
- * An element tried to make use of an attribute already attached to another element.
- */
- INUSE_ATTRIBUTE,
+ /**
+ * Text exceeds the maximum size supported in our string implementation.
+ */ // TODO: figure out what the limits of strings are in vala
+ DOMSTRING_SIZE,
+ /**
+ * A node asked to be inserted into an invalid location.
+ */
+ HIERARCHY_REQUEST,
+ /**
+ * A node created for one document wanted to be used in another.
+ */
+ WRONG_DOCUMENT,
+ /**
+ * An invalid character was found in a name.
+ */ // TODO: which characters are invalid?
+ INVALID_CHARACTER,
+ /**
+ * Tried to specify data for a node that did not support it.
+ */
+ NO_DATA_ALLOWED,
+ /**
+ * Attempted to modify a read-only node.
+ */
+ NO_MODIFICATION_ALLOWED,
+ /**
+ * A reference to a non-existent node was made.
+ */
+ NOT_FOUND,
+ /**
+ * A request was made for something that this implementation does not support.
+ */
+ NOT_SUPPORTED,
+ /**
+ * An element tried to make use of an attribute already attached to another element.
+ */
+ INUSE_ATTRIBUTE,
- /* These error codes are mine,
- and should perhaps come from a separate domain */
- /**
- * Generic error in creating the DOM.
- */
- DOM,
- /**
- * A document could not be parsed due to invalid XML.
- */
- INVALID_DOC,
- /**
- * A document lacked a root element.
- */
- INVALID_ROOT
-}
+ /* These error codes are mine,
+ and should perhaps come from a separate domain */
+ /**
+ * Generic error in creating the DOM.
+ */
+ DOM,
+ /**
+ * A document could not be parsed due to invalid XML.
+ */
+ INVALID_DOC,
+ /**
+ * A document lacked a root element.
+ */
+ INVALID_ROOT;
+}
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]