Incomplete specification of behavior of validating processors on invalid documents with undeclared attribute types

Section 3.3.3 of the XML 2nd edition spec states:

All attributes for which no declaration has been read should be treated 
by a non-validating processor as if declared *CDATA*.

However, this problem can also occur when a *validating* processor reads 
an *invalid* document that does not declare a particular attribute. The 
behavior in this case is not specified though I suspect most processors 
simply treat th attribute as CDATA. I propose that this sentence be 
rewritten in some form like the following:

All attributes for which no declaration has been read should be treated 
by a processor as if declared *CDATA*.

or

All attributes for which no declaration has been read should be treated 
by a validating or non-validating processor as if declared *CDATA*.


-- 
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+ 
|           The XML Bible, 2nd Edition (IDG Books, 2001)             |
|             http://www.cafeconleche.org/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:   http://www.cafeaulait.org/     | 
|  Read Cafe con Leche for XML News:  http://www.cafeconleche.org/   |
+----------------------------------+---------------------------------+

Received on Thursday, 18 April 2002 11:09:50 UTC