--- markup/xml/xmlcc/xmlcc-work.en.html 2007/11/12 13:16:56 1.7 +++ markup/xml/xmlcc/xmlcc-work.en.html 2007/11/12 13:54:44 1.8 @@ -214,22 +214,42 @@
  • If the prefix attribute value is different from null, then validate the prefix attribute value as an NCName.
  • -
  • If the childNodes list of n contains - a node which is not Text or - EntityReference node, then it is a - xml-well-formedness-error.
  • -
  • If the childNodes list of n contains - an EntityReference node, it is an - entity-error.
  • -
  • Check each node, in +
  • For each node nc in the childNodes list of n, - which is different from EntityReference recursively.
  • +
      +
    1. If nc is not a + Text or EntityReference node, then it is an + xml-well-formedness-error.
    2. +
    3. Otherwise, if nc is an + EntityReference node, then it is an + entity-error.
    4. +
    5. Otherwise, + check + nc recusrively.
    6. +
  • @@ specified, manakaiAttributeType
  • If n is an AttributeDefinition node
    -
    +
    +
      +
    1. +
    2. For each node nc in the + childNodes list of n, +
        +
      1. If nc is not a + Text or EntityReference node, then it is an + xml-well-formedness-error.
      2. +
      3. Otherwise, if nc is an + EntityReference node, then it is an + entity-error.
      4. +
      5. Otherwise, + check + nc recusrively.
      6. +
    3. +
    +
    If n is a CDATASection node
      @@ -237,11 +257,11 @@ data attribute value as an XML character data.
    1. If the data attribute value contains - a string ]]>, then it is a + a string ]]>, then it is an xml-well-formedness-error.
    2. If the childNodes list of n contains any nodes, they are in - xml-well-formedness-errors.
    3. + xml-well-formedness-error.
    If n is a Comment node
    @@ -252,11 +272,11 @@ data.
  • If the data attribute value contains a string --, or if it ends with a character - -, then it is a + -, then it is an xml-well-formedness-error.
  • If the childNodes list of n contains any nodes, they are in - xml-well-formedness-errors.
  • + xml-well-formedness-error.
    If n is a Document node
    @@ -267,7 +287,7 @@ then it is an unknown-error?.
  • If the xmlEncoding attribute value does not match to [A-Za-z] ([A-Za-z0-9._] | '-')* - @@ formal def, then it is a + @@ formal def, then it is an xml-well-formedness-error.
  • The childNodes list of n have to consist of zero or more Comment and/or @@ -277,29 +297,37 @@ ProcessingInstruction nodes, followed by an Element node, followed by zero or more Comment and/or - ProcessingInstruction nodes. Any violation to this is a + ProcessingInstruction nodes. Any violation to this is an xml-well-formedness-error.
  • -
  • Check each node, in - childNodes list of n, - which is different from EntityReference recursively.
  • +
  • For each node nc + in the childNodes list of n, +
      +
    1. If nc is not an + EntityReference node, then + check + nc recursively.
    2. +
  • @@ allDeclarationsProcessed
  • If n is a DocumentFragment node
      -
    1. If the childNodes list of n contains - a node which is not Element, - Text, CDATASection, Comment, - ProcessingInstruction, or - EntityReference node, then it is a - xml-well-formedness-error.
    2. -
    3. If the childNodes list of n contains - an EntityReference node, it is an - entity-error.
    4. -
    5. Check each node, in - childNodes list of n - which is different from EntityReference recursively.
    6. +
    7. For each node nc + in the childNodes list of n, +
        +
      1. If nc is not an + Element, Text, CDATASection, + Comment, ProcessingInstruction, or + EntityReference node, then it is an + xml-well-formedness-error.
      2. +
      3. Otherwise, if nc is an + EntityReference node, then it is an + entity-error.
      4. +
      5. Otherwise, + check + nc recursively.
      6. +
    If n is a DocumentType node
    @@ -313,14 +341,17 @@ both " and ' characters, it is a xml-well-formedness-error. -
  • If the childNodes list of n contains - a node which is not ProcessingInstruction node, - then it is a - xml-well-formedness-error. - @@ ref to manakai's extensions
  • -
  • Check each node, in - childNodes list of n, - which is different from EntityReference recursively.
  • +
  • For each node nc + in the childNodes list of n, +
      +
    1. If nc is not a + ProcessingInstruction node, then it is an + xml-well-formedness-error. + @@ ref to manakai's extensions
    2. +
    3. Otherwise, + check + nc recusrively.
    4. +
  • @@ entities, notations, elementTypes, externally declared?
  • @@ -333,22 +364,33 @@
  • If the prefix attribute value is different from null, then validate the prefix attribute value as an NCName.
  • -
  • If the childNodes list of n contains - a node which is not Element, - Text, CDATASection, Comment, - ProcessingInstruction, or - EntityReference node, then it is a - xml-well-formedness-error.
  • -
  • If the childNodes list of n contains - an EntityReference node, it is an - entity-error.
  • -
  • Check each node, in - childNodes list of n, - which is different from EntityReference recursively.
  • +
  • For each node nc + in the childNodes list of n, +
      +
    1. If nc is not an + Element, + Text, CDATASection, Comment, + ProcessingInstruction, or + EntityReference node, then it is an + xml-well-formedness-error.
    2. +
    3. Otherwise, if nc is an + EntityReference node, then it is an + entity-error.
    4. +
    5. Otherwise, + check + nc recursively.
    6. +
  • If n is an ElementTypeDefinition node
    -
    +
    +
      +
    1. +
    2. If the childNodes list of n contains + any nodes, they are in + xml-well-formedness-error.
    3. +
    +
    If n is an Entity node
      @@ -362,18 +404,22 @@ xml-well-formedness-error.
    1. @@ notationName
    2. -
    3. If the childNodes list of n contains - a node which is not Element, - Text, CDATASection, Comment, - ProcessingInstruction, or - EntityReference node, then it is a - xml-well-formedness-error.
    4. -
    5. If the childNodes list of n contains - an EntityReference node, it is an - entity-error.
    6. -
    7. Check each node, in - childNodes list of n, - which is different from EntityReference recursively.
    8. +
    9. For each node nc + in the childNodes list of n, +
        +
      1. If nc is not an + Element, + Text, CDATASection, Comment, + ProcessingInstruction, or EntityReference + node, then it is an + xml-well-formedness-error.
      2. +
      3. Otherwise, if nc is an + EntityReference node, then it is an + entity-error.
      4. +
      5. Otherwise, + check + nc recursively.
      6. +
    If n is an EntityReference node
    @@ -382,18 +428,22 @@
  • An entity-error.
  • Validate the nodeName attribute value as an NCName.
  • -
  • If the childNodes list of n contains - a node which is not Element, - Text, CDATASection, Comment, - ProcessingInstruction, or - EntityReference node, then it is a - xml-well-formedness-error.
  • -
  • If the childNodes list of n contains - an EntityReference node, it is an - entity-error.
  • -
  • Check each node, in - childNodes list of n, - which is different from EntityReference recursively.
  • +
  • For each node nc + in the childNodes list of n, +
      +
    1. If nc is not an + Element, + Text, CDATASection, Comment, + ProcessingInstruction, or EntityReference + node, then it is an + xml-well-formedness-error.
    2. +
    3. Otherwise, if nc is not an + EntityReference node, then it is an + entity-error.
    4. +
    5. Otherwise, + check + nc recursively.
    6. +
  • If n is a Notation node
    @@ -408,7 +458,7 @@ xml-well-formedness-error.
  • If the childNodes list of n contains any nodes, they are in - xml-well-formedness-errors.
  • + xml-well-formedness-error.
    If n is a ProcessingInstruction node
    @@ -430,7 +480,7 @@ round-trip-error.
  • If the childNodes list of n contains any nodes, they are in - xml-well-formedness-errors.
  • + xml-well-formedness-error.
    If n is a Text node
    @@ -441,7 +491,7 @@ data.
  • If the childNodes list of n contains any nodes, they are in - xml-well-formedness-errors.
  • + xml-well-formedness-error.
    Otherwise