--- markup/xml/xmlcc/xmlcc-work.en.html 2008/03/29 10:12:46 1.27 +++ markup/xml/xmlcc/xmlcc-work.en.html 2008/03/29 11:46:02 1.28 @@ -494,16 +494,34 @@ ignored. -->
For each parameter entity reference -
If the declaration for the entity is not read (i.e. no declaration - for the entity is processed or the external entity referenced by the - declaration cannot be retrieved), then: +

Process as follows: +

    +
  1. If the declaration for the entity is not processed, + then: +
    +
    If the document contains no external entity or if the document + contains the standalone pseudo-attribute set to + yes +
    The parser MUST raise an + xml-well-formedness-error. +
    Otherwise +
    The parser MUST raise an + xml-validity-error. +
    +
  2. If the declaration for the entity is processed but the + referenced entity cannot be retrieved, then the parser + MUST raise an + @@ ??-error. +
+ +

In any of two cases above, process as follows:

For each general entity reference in an attribute value or in the content of an element -
If the declaration for the entity is not read (i.e. no declaration for - the entity is processed or the external entity referenced by the declaration - cannot be retrieved), then: +

Process as follows: +

    +
  1. If the Name of the entity reference is either + amp, lt, gt, quot, + or apos, then abort these steps. +
  2. If the declaration for the entity is not processed, + then: +
    +
    If the document contains no external entity or if the document + contains the standalone pseudo-attribute set to + yes +
    The parser MUST raise an + xml-well-formedness-error. +
    Otherwise +
    The parser MUST raise an + xml-validity-error. +
    +
  3. If the declaration for the entity is processed but the + referenced entity cannot be retrieved, then the parser + MUST raise an + @@ ??-error. +
+ +

In any of two cases above, process as follows:

Other creteria. For each violation to @@ -588,20 +630,6 @@ text declaration. - - -

The parser MUST act as if it is a validating XML processor for the informing of white space appearing in @@ -620,7 +648,7 @@

The parser MUST raise an xml-well-formedness-error -for any failure to match to a production rule in the XML specification. +for any failure for matching to a production rule in the XML specification.