W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > June 2004

xml:lang implementation report

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Sat, 05 Jun 2004 09:06:20 -0400
Message-ID: <40C1C54C.7060106@metalab.unc.edu>
To: www-xml-xinclude-comments@w3.org

Implementing the handling of xml:lang according to the latest CR is 
proving to be much more painful than I expected. It's doable, but it's 
going to require some nasty hacks. The big problem seems to occur 
whenever the XPointer implementation is decoupled from the XInclude 
implementation. The XInclude implementation knows what the current 
language is into which the nodes will be embedded but the XPointer 
implementation probably does not know this. Therefore the XPointer 
implementation cannot decide whether or not to add an xml:lang attribute 
to the nodes it returns because it doesn't know whether or not these are 
redundant. It might be a little easier to implement if the the XInclude 
implementation were allowed to add redundant xml:lang attributes rather 
than only ones that changed the language in effect. But overall, I'd 
really just prefer this language annotation to be dropped completely.

Elliotte Rusty Harold
Received on Saturday, 5 June 2004 09:06:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:58:57 UTC