diagnostic for include elements in the old namespace http:www.w3.org/2001/XInclude

I'd like to add my voice to Oleg Tkachenko's concern about section 
3's suggestion that
"Implementations should recognize and provide a diagnostic for include
elements in the old namespace http:www.w3.org/2001/XInclude." It is 
not obvious to me either what sort of diagnostic should be provided. 
This can't be a fatal error, because that would violate the 
processing model which requires that elements in the 
http:www.w3.org/2001/XInclude namespace not be treated any 
differently than elements in any other namespace except 
http:www.w3.org/2003/XInclude

In a SAX2 or DOM3 environment, it's possible to indicate a warning as 
opposed to a fatal error. However, this doesn't work in DOM2, XOM, 
JDOM, or possibly other environments.

stderr or System.err.println is not appropriate for use by a library 
as opposed to an end user application.

It seems to me that the simplest solution is simply to choose the old 
2001 namespace instead of the new 2003 namespace. Then no diagnostic 
would be required. Existing documents would continue to work in this 
scheme.
-- 

   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 Wednesday, 12 November 2003 10:51:47 UTC