--- markup/xml/xmlcc/xmlcc-work.en.html 2007/11/12 13:54:44 1.8 +++ markup/xml/xmlcc/xmlcc-work.en.html 2007/11/13 01:11:21 1.9 @@ -18,7 +18,7 @@

manakai's XML Conformance Checking

-

Working Draft

+

Working Draft

This Version
@@ -120,13 +120,16 @@ raised is undefined.

-
-

Algorithms

+
+

Checking DOM

The following algorithms and definitions are applied to XML documents; especially, they are not applied to HTML documents.

+
+

Error Classification

+

If a Document node has no xml-well-formedness-error, entity-error, and unknown-error, then it is well-formed. If a well-formed Document @@ -191,17 +194,28 @@ (MAY or MUST), #dt-compat for compatibility, #dt-interop for interoperability

+
+ +
+

Definitions

+

The XML version of a node is the XML version of the document to which the node belongs. For a Documemt node, the XML version of the document is the value of the xmlVersion -attribute. For a DocumentType node whose -ownerDocument is set to null, -the XML version of the document is 1.0. +attribute of the node. For a DocumentType node whose +ownerDocument attribute is set to null, +the XML version of the document is 1.0. For any other node, the XML version of the document is that of the Document node contained in the ownerDocument attribute of the node.

+
+ +
+

Checking Node

+

The algorithm to check a node (n) is defined as following:

@@ -498,6 +512,11 @@
xml-well-formedness-error? unknown-error?
+
+ +
+

Checking Components

+

The algorithm to validate an XML character data @@ -548,21 +567,6 @@

-
-

Examples

- - - -
- -
-
...
- -
...
-
- -
-