<?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>2876</bug_id>
          
          <creation_ts>2006-02-15 01:33:13 +0000</creation_ts>
          <short_desc>Need to address versioning</short_desc>
          <delta_ts>2006-07-21 17:48:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>ITS</product>
          <component>ITS tagset</component>
          <version>WorkingDraft</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>LastCall20May</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Felix Sasaki">fsasaki</reporter>
          <assigned_to name="Felix Sasaki">fsasaki</assigned_to>
          
          
          <qa_contact name="ITS mailing-list">public-i18n-its</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>8262</commentid>
    <comment_count>0</comment_count>
    <who name="Felix Sasaki">fsasaki</who>
    <bug_when>2006-02-15 01:33:13 +0000</bug_when>
    <thetext>We need to address versioning of ITS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8263</commentid>
    <comment_count>1</comment_count>
    <who name="Christian Lieske">christian.lieske</who>
    <bug_when>2006-02-15 07:37:19 +0000</bug_when>
    <thetext>Didn&apos;t we already discuss metadata like an attribute &quot;version&quot; (along the lines 
of XSL or XML for example)? Of course deciding on how to represent versioning 
information is only one part of the stories. Others may be:

1. What&apos;s the version identifier we want to use in the last call?
2. Will we have minor and major releases? If so: What merits a major release?
3. Do we have make explicit statements about backwards compatibility?

Best regards,
Christian</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8264</commentid>
    <comment_count>2</comment_count>
    <who name="Felix Sasaki">fsasaki</who>
    <bug_when>2006-02-15 07:39:18 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Didn&apos;t we already discuss metadata like an attribute &quot;version&quot; (along the lines 
&gt; of XSL or XML for example)? Of course deciding on how to represent versioning 
&gt; information is only one part of the stories. Others may be:
&gt; 
&gt; 1. What&apos;s the version identifier we want to use in the last call?
&gt; 2. Will we have minor and major releases? If so: What merits a major release?
&gt; 3. Do we have make explicit statements about backwards compatibility?
&gt; 
&gt; Best regards,
&gt; Christian

So far we are doing none of these. We have to tackle this before May 20 though ....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8300</commentid>
    <comment_count>3</comment_count>
    <who name="Felix Sasaki">fsasaki</who>
    <bug_when>2006-02-17 04:15:20 +0000</bug_when>
    <thetext>Per http://www.w3.org/2005/05/tr-versions , versioning reflects also in the URI
of the document. This syntax is recommended (see sec. 3.2 of tr-versions):
   1. /TR/&lt;shortname&gt;: Latest &lt;Name&gt; Recommendation
   2. /TR/&lt;shortnameN&gt;: Latest &lt;Name&gt; N version
e.g.
   1. /TR/MathML/ : Latest MathML Recommendation
   2. /TR/MathML2/ : Latest MathML 2 version
Since we don&apos;t use /TR/ITS1 yet, we might think of doing so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8303</commentid>
    <comment_count>4</comment_count>
    <who name="Yves Savourel">ysavourel</who>
    <bug_when>2006-02-17 05:15:00 +0000</bug_when>
    <thetext>I&apos;m wondering about using a version number in the namespace URI. There 
certainly a few arguments against it.

There is an interesting post on that topic here:
http://lists.oasis-open.org/archives/xliff-comment/200602/msg00001.html

One example it gives is XSLT which does not use version in its namespace URI, 
but an attribute (http://www.w3.org/TR/xslt20/#stylesheet-element). 

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8304</commentid>
    <comment_count>5</comment_count>
    <who name="Felix Sasaki">fsasaki</who>
    <bug_when>2006-02-17 05:19:09 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; I&apos;m wondering about using a version number in the namespace URI. There 
&gt; certainly a few arguments against it.
&gt; 
&gt; There is an interesting post on that topic here:
&gt; http://lists.oasis-open.org/archives/xliff-comment/200602/msg00001.html
&gt; 
&gt; One example it gives is XSLT which does not use version in its namespace URI, 
&gt; but an attribute (http://www.w3.org/TR/xslt20/#stylesheet-element). 
&gt; 
&gt; 

Sorry for not making this clear, but what I meant  in comment
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2876#c3 was not the namespace URI,
but the URI of the specification, e.g
/TR/ITS1 (version 1)
/TR/ITS2 (version 2)
/TR/ITS (latest version)
The namespace URI which we define at
http://www.w3.org/TR/2006/WD-its-20060222/#d2e576 should be the same for all of
these.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8546</commentid>
    <comment_count>6</comment_count>
    <who name="Yves Savourel">ysavourel</who>
    <bug_when>2006-03-04 05:34:13 +0000</bug_when>
    <thetext>There are two main ways to add version information to ITS:

#1 As a version number in the ITS namespace URI. This technique has several 
drawbacks and is usually not used in other W3C markups. There are a few 
exceptions, for example: SMIL.

#2 As a version attribute. This method seems more efficient and is usually the 
one used at the W3C, for example: SVG and XSLT.

In the case of ITS there is one issue that creates some complications. ITS 
elements can be scattered in a set of documents, and some ITS constructs are 
made only of attributes. In other words, a processor could possibly have to 
handle ITS blocks that have different versions.

For example, an ITS processor could find ITS markup:
- in a schema file
- in a standalone ITS document
- in &lt;documentRules&gt; elements within a document
- in elements of the host documents (ITS local attributes)

The first question is: Shall ITS allow this?

I assume do have to, since someone may have control over the document 
instances without having control over the schema or an external documentRules 
(and conversely).

I would propose to use an its:version attribute declared in the root element 
of the document where the ITS namespace is used. This would give us for 
example, for an host document:

&lt;myDoc xmlns=&quot;myDocURI&quot;
 xmlns:its=&quot;http://www.w3.org/2005/11/its&quot;
 its:version=&quot;1.0&quot;&gt;
...
 &lt;its:documentRules&gt;
 ...

And (for standalone ITS documenrRules):

&lt;its:documentRules
 xmlns:its=&quot;http://www.w3.org/2005/11/its&quot;
 its:version=&quot;1.0&quot;&gt;
...

We would have the technical possibility to have one version attribute in the 
root and another is a documentRules. I&apos;m not sure how to prevent this (and 
validate the prevention).

The other question is that we may have conflicts between the versions if we 
change how precedence are handled.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8774</commentid>
    <comment_count>7</comment_count>
    <who name="Yves Savourel">ysavourel</who>
    <bug_when>2006-03-17 20:25:59 +0000</bug_when>
    <thetext>
Comments from Martin about Versionning:
(http://lists.w3.org/Archives/Public/public-i18n-its/2006JanMar/0279.html)

Before looking at how to mark versions, and how different versions may work together, I think it&apos;s important to look at potential extensibility points:

What are the things most likely to be added or changed in the future? How can the current stuff be defined so that e.g. future additions create minimal impact (e.g. additions are just ignored or have some default behavior)?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8947</commentid>
    <comment_count>8</comment_count>
    <who name="Yves Savourel">ysavourel</who>
    <bug_when>2006-03-29 17:14:36 +0000</bug_when>
    <thetext>
Another of the discussion topics for this week is this issue: ITS versioning.

The current proposal is to have an its:version attribute that one would put in the root element of the document, so it covers both the version of the &lt;its:rules&gt; element(s) inside the document and any ITS markup used locally.

I&apos;m not sure such attribute would need to be required in the first version, since it because relevant only when if/when a new version would be done.

See also Martin&apos;s note about Versioning in the bug thread.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9133</commentid>
    <comment_count>9</comment_count>
    <who name="Felix Sasaki">fsasaki</who>
    <bug_when>2006-04-11 07:36:05 +0000</bug_when>
    <thetext>(In reply to comment #8)
&gt; Another of the discussion topics for this week is this issue: ITS versioning.
&gt; 
&gt; The current proposal is to have an its:version attribute that one would put in
&gt; the root element of the document, so it covers both the version of the
&gt; &lt;its:rules&gt; element(s) inside the document and any ITS markup used locally.
&gt; 
&gt; I&apos;m not sure such attribute would need to be required in the first version,
&gt; since it because relevant only when if/when a new version would be done.
&gt; 
&gt; See also Martin&apos;s note about Versioning in the bug thread.
&gt; 

I made this comment before, but just to keep track of it: wee need to address the requirements for versioning mentioned at
http://www.w3.org/2005/05/tr-versions
not that these requirements are about the URI of the document, and *not* the namespace URI.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9334</commentid>
    <comment_count>10</comment_count>
    <who name="Felix Sasaki">fsasaki</who>
    <bug_when>2006-04-20 08:12:59 +0000</bug_when>
    <thetext>resolved at http://www.w3.org/2006/04/19-i18nits-regular-call-minutes.html:
summary: the its:version attribute is mandatory at the rules element, if there is no rules element, it goes at the root element of the instance. If there are both it is an error if they have different versions.
... each file can have a different version. E.g.: if there are external rules imported via xlink:href, they could have a different version
... if we change anything related to precedence order, we are in big trouble
TODO: http://www.w3.org/2006/04/19-i18nits-minutes.html#action02 felix to write a paragraph about the version attribute
bug closed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>