<?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>5006</bug_id>
          
          <creation_ts>2007-09-05 11:53:20 +0000</creation_ts>
          <short_desc>Does a &quot;tidied&quot; element or attribute exist?</short_desc>
          <delta_ts>2010-04-26 11:27:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>mobileOK Basic checker</product>
          <component>Java Library</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sean Owen">srowen</reporter>
          <assigned_to name="fd">fd</assigned_to>
          <cc>abel.rionda</cc>
    
    <cc>fd</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>16363</commentid>
    <comment_count>0</comment_count>
    <who name="Sean Owen">srowen</who>
    <bug_when>2007-09-05 11:53:20 +0000</bug_when>
    <thetext>We wanted to verify that the tidied status of the doc representation in moki is present somewhere.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35253</commentid>
    <comment_count>1</comment_count>
    <who name="fd">fd</who>
    <bug_when>2010-04-26 11:27:08 +0000</bug_when>
    <thetext>There was no &quot;tidied&quot; status within the moki document next to the serialization of the DOM tree the mobileOK Checker uses to run the tests, in other words next to the &quot;docContent&quot; moki node.

Thus I added a &quot;tidied&quot; attribute to the &quot;docContent&quot; node. This update was made to address bug 9538 and bug 9583 on improving code extracts and reporting code positions more consistently.

The tidied attribute can take the following boolean values:
- &quot;false&quot; when the document did not need to be tidied. This is the default value when the attribute is not present.
- &quot;true&quot; when the document needed to be tidied before it could be parsed with the XML parser.

Line/Column positions returned in the tests also include a &quot;tidied&quot; attribute that specifies whether the position is to be understood as an exact position within the original document or as a position within the tidied version of the document. That&apos;s important because the tidying process is likely to have offset positions a bit, although it seems that tidying the document does not add/remove lines.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>