[gxml] Implementation.vala: Update comments with references to spec



commit 9d9683917fb1f43311d4831bd59ccc5d3c6c4b8e
Author: Richard Schwarting <aquarichy gmail com>
Date:   Sat Jul 27 00:01:53 2013 -0400

    Implementation.vala: Update comments with references to spec

 gxml/Implementation.vala |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/gxml/Implementation.vala b/gxml/Implementation.vala
index 7751ef6..21387b4 100644
--- a/gxml/Implementation.vala
+++ b/gxml/Implementation.vala
@@ -31,7 +31,9 @@ namespace GXml {
         * object. Provided a possible feature and the feature's
         * version, it can tell the client whether it is here
         * implemented.
-        * For more, see: [[http://www.w3.org/TR/DOM-Level-1/level-one-core.html#ID-102161490]]
+        *
+        * Version: DOM Level 1 Core
+        * URL: [[http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-102161490]]
         */
        public class Implementation {
                internal Implementation () {
@@ -40,6 +42,9 @@ namespace GXml {
                /**
                 * Creates a Document according to this { link GXml.Implementation}.
                 *
+                * Version: DOM Level 3 Core
+                * URL: [[http://www.w3.org/TR/DOM-Level-3-Core/core.html#Level-2-Core-DOM-createDocument]]
+
                 * @param namespace_uri URI for the namespace in which this Document belongs, or `null`.
                 * @param qualified_name A qualified name for the Document, or `null`.
                 * @param doctype The type of the document, or `null`.
@@ -54,6 +59,11 @@ namespace GXml {
                /**
                 * Reports whether we support a feature at a given version level.
                 *
+                * Version: DOM Level 1 Core
+                * URL: http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#method-hasFeature
+                *
+                * TODO: implement more of this, using libxml2's parser.h's xmlGetFeature, xmlHasFeature, etc.
+                *
                 * @param feature A feature we might support, usually something like 'xml' or 'html'.
                 * @param version A possible version of the feature, or null if any version will do.
                 *


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