W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > November 2003

accept and accept-charset attributes

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Mon, 10 Nov 2003 18:09:36 -0500
Message-Id: <p06002005bbd5c98a302b@[192.168.254.4]>
To: www-xml-xinclude-comments@w3.org

I haven't finished going through the new working draft yet, but on 
first skimming it, I had an intense negative reaction to the accept, 
accept-language,  and accept-charset attributes. This is not a formal 
comment yet, since my thoughts are still preliminary, and I may 
change my mind on further reflection.

However, I really don't see any easy way to implement this. In Java 
it would mean using sockets or java.net.HttpURLConnection or maybe 
another library like Apache's HttpClient instead of java.net.URL. 
Certainly the XML APIs like SAX and JAXP and so forth don't have any 
options to add HTTP headers. Supporting this seems like a big 
imposition that would have radical effects on how HTTP connections 
were handled for XInclude processors.

The saving grace is that this is only a should instead of a must. 
Still "should" is pretty strong in RFC 2119 terms. "may" would be 
nicer here.

This aside, I hope to have XOM updated to the new syntax within the 
next few days.
-- 

   Elliotte Rusty Harold
   elharo@metalab.unc.edu
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
Received on Monday, 10 November 2003 18:12:56 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Thursday, 9 June 2005 12:16:09 GMT