Re: [xml-dev] The subsetting has begun

From
Elliotte Rusty Harold <>
To
Mike Champion <>,
Date
2003-02-21T16:11:24Z
ID
<p0433010cba7bffa7454a@[192.168.254.4]>
Thread
Re: [xml-dev] The subsetting has begun
At 8:40 AM -0500 2/21/03, Mike Champion wrote:

>Anyone following sml-dev three years ago would not be surprised to 
>hear that vendors are subsetting XML for mobile, data-oriented 
>applications.  Where's the "sin" here?  What's a cellphone supposed 
>to do with an external entity reference, or a notation declaration? 
>Should well-known interoperability antipatterns such as default 
>attribute values be encouraged in lightweight applications?

No, but they should not be forbidden either, at least not at the 
parser level. Be conservative in what you send. Be liberal in what 
you accept. The parser's job is accepting anything that's 
well-formed. The proposed spec rejects well-formed documents as if 
they were malformed.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold |  | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|           Processing XML with Java (Addison-Wesley, 2002)          |
|              http://www.cafeconleche.org/books/xmljava             |
| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+