[gxml/gsoc2013: 30/69] Implementation.vala: Update comments with references to spec
- From: Richard Hans Schwarting <rschwart src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml/gsoc2013: 30/69] Implementation.vala: Update comments with references to spec
- Date: Sat, 27 Jul 2013 04:08:43 +0000 (UTC)
commit 096c166cb0d61e604dbe1a44686f142fcee19c64
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 d0dfb56..d0fba63 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]