<?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>7211</bug_id>
          
          <creation_ts>2009-08-04 10:44:12 +0000</creation_ts>
          <short_desc>define &quot;positive integer&quot; and use it consistently, instead of &quot;non-negative integer greater than zero&quot;</short_desc>
          <delta_ts>2010-10-04 14:48:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NE</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael[tm] Smith">mike</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26216</commentid>
    <comment_count>0</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2009-08-04 10:44:12 +0000</bug_when>
    <thetext>The spec should define what a &quot;positive integer&quot; is, and use that term consistently instead of &quot;non-negative integer greater than zero&quot;.

Rationale:

In, for example, the section on the col element, the spec states that the value of the span content attribute &quot;must be a valid non-negative integer greater than zero&quot;. There are a number of other instances of constraints on the values of  content attributes being expressed as &quot;non-negative integer greater than zero&quot;.

However, in a couple of other places in the spec, the term &quot;positive integer&quot; is used, but never defined.

FWIW, the datatype-checking code in validator.nu has both a &quot;non-negative integer&quot; datatype and a &quot;positive integer&quot; datatype, and most any other implementation would also. So it would seem to make some sense for the spec to align more closely with the implementations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26951</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-09-09 06:13:18 +0000</bug_when>
    <thetext>I couldn&apos;t find any occurrances of &quot;positive&quot; that weren&apos;t defined.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26952</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-09-09 06:17:51 +0000</bug_when>
    <thetext>There is no term &quot;non-negative integer greater than zero&quot;. There&apos;s just the term &quot;non-negative integer&quot;, and sometimes something has to be one of those, and simultaneously greater than zero. I don&apos;t really see much point in introducing yet another term just for that case.

I don&apos;t want to use the word &quot;positive&quot; for the term because it&apos;s not immediately clear if that includes or excludes zero.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26953</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2009-09-09 06:38:26 +0000</bug_when>
    <thetext>I raised this just as a suggestion for improvement and I don&apos;t feel strongly that any change is absolutely necessary. So the WONTFIX resolution on this is OK by me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33172</commentid>
    <comment_count>4</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2010-03-14 14:48:44 +0000</bug_when>
    <thetext>This bug predates the HTML Working Group Decision Policy.

If you are satisfied with the resolution of this bug, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
  http://dev.w3.org/html5/decision-policy/decision-policy.html

This bug is now being moved to VERIFIED. Please respond within two weeks. If this bug is not closed, reopened or escalated within two weeks, it may be marked as NoReply and will no longer be considered a pending comment.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>