<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>2576</bug_id>
          
          <creation_ts>2005-12-10 01:18:40 +0000</creation_ts>
          <short_desc>Clarify relation of language type to xml:lang</short_desc>
          <delta_ts>2008-01-30 15:58:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>Datatypes: XSD Part 2</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>important, work, i18n cluster</status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="C. M. Sperberg-McQueen">cmsmcq</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>7377</commentid>
    <comment_count>0</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2005-12-10 01:18:42 +0000</bug_when>
    <thetext>In a comment of August 2004 [1], Paul Biron suggests a correction
to the description of the language type, to make it accept the
empty string, in the same way that the xml:lang attribute can
have the empty string as a value (with the meaning:  any
language information given for parents does not necessarily 
apply here).  He also suggests ensuring that xsd:language is
aligned with RFC 3066 bis.

[1] http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004JulSep/0086.html

In February 2005 ([2], member-only link), the WG appears to have
been persuaded that a correction should be issued.

[2] http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2005Feb/0096.html

I believe that since that time, a contrary view has gained ground,
which holds that xml:lang should simply be defined as a union of
xsd:language and a string-based type with a single enumerated value,
namely the empty string.  I find that approach satisfactory, myself.

But the comment from Paul Biron, and the analogous comment from
the SVG working group, suggest that even if we don&apos;t change
xsd:language, an explanatory note would be useful.

On the empty string issue, the WG needs to decide whether (a) to 
issue a correction to 1.0, including the empty string in the 
lexical and value spaces of xsd:language, (b) to do nothing,
or (c) add a note observing that xml:lang and any construct
intended to behave like it should be defined as a union of
xsd:language and the empty string.

On the 3066bis issue, the WG needs to decide whether to align
xsd:language in XSD 1.0 with 3066bis, or allow our language
type and the language codes specified by the IETF to go out of
alignment with each other.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18100</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2007-12-14 23:12:57 +0000</bug_when>
    <thetext>The Working Group discussed this issue today (14 December 2007) and agreed
that we do not want to change the xsd:language type to allow the empty string
as a value, and that we do want to add a note pointing out that xml:lang
does allow empty strings and thus needs a type like the one given in the 
schema document at http://www.w3.org/2001/xml.xsd (a union of xsd:language
and an enumerated type with one value: the empty string).  

I&apos;m marking the issue as &apos;decided&apos;, since the WG did not wish to review a
wording proposal, and &apos;needsDrafting&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18642</commentid>
    <comment_count>2</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2008-01-30 15:56:41 +0000</bug_when>
    <thetext>The note agreed upon on 14 December has been integrated into the 
status quo text.  So I&apos;m marking this resolved.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18643</commentid>
    <comment_count>3</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2008-01-30 15:58:23 +0000</bug_when>
    <thetext>As the originator of record, I note my agreement with the disposition of
this issue and CLOSE it accordingly.  Since in some sense it reflects a
concern raised by Paul Biron in 2004, I also note that Paul was present
on the call that agreed on the disposition and that I therefore presume
him to be content with it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>