--- markup/xml/xmlcc/xmlcc-work.en.html 2007/12/01 14:32:30 1.18 +++ markup/xml/xmlcc/xmlcc-work.en.html 2007/12/01 14:51:45 1.19 @@ -314,12 +314,12 @@
-

Checking Components

+

Conformance Checking Algorithms for Components

-

The algorithm -to -validate an XML character data -(s) is defined as following:

+

To +to +validate an XML string (s), +the following algorithm MUST be used:

  1. If s contains a character that is not in the character class Char10, @@ -344,11 +344,25 @@ will be raised).
-

The algorithm -to validate a -Name (s) is defined -as following:

+

To +validate a +Name (s), the following +algorithm MUST be used:

    +
  1. If s is an empty string, then raise an +xml-well-formedness-error. +Abort these steps.
  2. +
  3. Validate +s as an XML string.
  4. +
  5. If the first character in s is a character that is +not in the character class +NameStartChar10, then raise +an +xml-well-formedness-error.
  6. +
  7. If a character other than the first character in s is a +character that is not in the character class +NameChar10, then raise an +xml-well-formedness-error.
  8. If s begins with the string xml (in any case combination), then raise an xml-misc-warning. @@ -357,18 +371,20 @@ xmlns, xmlns:*, pi name xml-stylesheet.
  9. -
  10. @@
  11. +
  12. @@ XML 1.1 support
-

The algorithm -to -validate an NCName (name) -is defined as following:

+

To +validate +an NCName (s), the +following algorithm MUST be used:

    +
  1. Validate +s as a Name.
  2. @@
@@ -407,6 +423,8 @@ following algorithm MUST be used:

  1. If sid is null, abort these steps.
  2. +
  3. Validate +sid as an XML string.
  4. If sid contains both U+0022 QUOTATION MARK (") and U+0027 APOSTROPHE @@ -573,7 +591,7 @@
    If n is a CDATASection node
      -
    1. Validate the +
    2. Validate the data attribute value as an XML character data.
    3. If the data attribute value contains @@ -589,7 +607,7 @@
      1. Raise an round-trip-warning.
      2. -
      3. Validate the +
      4. Validate the data attribute value as an XML character data.
      5. If the data attribute value contains @@ -869,7 +887,7 @@
      6. Otherwise, validate the target attribute value as an NCName.
      7. Then, - validate + validate the data attribute value as an XML character data.
      8. If the data attribute value contains a string @@ -890,7 +908,7 @@
        If n is a Text node
          -
        1. Validate the +
        2. Validate the data attribute value as an XML character data.
        3. If the childNodes list of n contains @@ -974,6 +992,19 @@ errata.

+

The character class NameStartChar10 +contains the following characters:

+ + +

The character class NameChar10 +contains the following characters:

+ +