[gxml] Revert "DomException.vala: rename file to comply with spec, improve docs, whitespace"



commit f96b5706c4cb35b7ece6aa5e843d63a91a617e8b
Author: Richard Schwarting <aquarichy gmail com>
Date:   Thu Aug 22 10:28:54 2013 -0400

    Revert "DomException.vala: rename file to comply with spec, improve docs, whitespace"
    
    This reverts commit dac01bb57c68f811ab06eed8e660104e88b92ad1.

 gxml/DomError.vala |  106 +++++++++++++++++++++++++--------------------------
 1 files changed, 52 insertions(+), 54 deletions(-)
---
diff --git a/gxml/DomError.vala b/gxml/DomError.vala
index a5bf665..9954a81 100644
--- a/gxml/DomError.vala
+++ b/gxml/DomError.vala
@@ -24,9 +24,7 @@
 
 /**
  * Describes various error states. For more, see
- *
- * Version: DOM Level 1 Core
- * URL: [[http://www.w3.org/TR/DOM-Level-1/level-one-core.html#ID-BBACDC08]]
+ * [[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 */
@@ -35,55 +33,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;
-}
\ No newline at end of file
+               /* 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
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]