- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 08 Apr 2009 22:18:23 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6793 Summary: [FT] Test Suite Indentation Product: XPath / XQuery / XSLT Version: Candidate Recommendation Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Full Text 1.0 AssignedTo: jim.melton@acm.org ReportedBy: christian.gruen@gmail.com QAContact: public-qt-comments@w3.org Hi, the following list contains test suite results - labeled [OLD] - which have an indentation different to the output of BaseX - labeled [NEW]. I'll be cautious to say which are right and which wrong, so I have just listed a fifth of the entries to see what you think.. ===== ft-222-examples-results-q2.txt OLD[<book> <title>Angelic Intervention For Those Who Train Cats</title> <author>John Dee</author> <date>1607</date> <publisher>Example Books</publisher> <price>41</price> </book>] NEW[<book> <title>Angelic Intervention For Those Who Train Cats</title> <author>John Dee</author> <date>1607</date> <publisher>Example Books</publisher> <price>41</price> </book>] ===== ft-222-examples-results-q3.txt OLD[<book> <title>The Story of a Dog and a Cat</title> <author>Melton Mowbray</author> <date>1832</date> <publisher>Example Books</publisher> <price>100</price> </book>] NEW[<book> <title>The Story of a Dog and a Cat</title> <author>Melton Mowbray</author> <date>1832</date> <publisher>Example Books</publisher> <price>100</price> </book>] ===== examples-23-q3.txt OLD[<para>Sometimes usability is the most important thing. Sometimes usability is the only thing. Sometimes usability is nothing.</para> <para>Usability is highly overrated. My advice is similar to that Heinlein gave prospective authors: you must write, you must finish what you write, you must publish what you write. Ship software, pay the bills. </para>] NEW[<para>Sometimes usability is the most important thing. Sometimes usability is the only thing. Sometimes usability is nothing.</para> <para>Usability is highly overrated. My advice is similar to that Heinlein gave prospective authors: you must write, you must finish what you write, you must publish what you write. Ship software, pay the bills. </para>] ===== examples-23-q4.txt OLD[<para>Sometimes usability is the most important thing. Sometimes usability is the only thing. Sometimes usability is nothing.</para> <para>Usability is highly overrated. My advice is similar to that Heinlein gave prospective authors: you must write, you must finish what you write, you must publish what you write. Ship software, pay the bills. </para>] NEW[<para>Sometimes usability is the most important thing. Sometimes usability is the only thing. Sometimes usability is nothing.</para> <para>Usability is highly overrated. My advice is similar to that Heinlein gave prospective authors: you must write, you must finish what you write, you must publish what you write. Ship software, pay the bills. </para>] ===== ft-3.2-examples-q1.xml OLD[<book number="1"> <title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title> <author>Millicent Marigold</author> <author>Montana Marigold</author> <editor>Véra Tudor-Medina</editor> <content> <p>The usability of a Web site is how well the site supports the users in achieving specified goals. A Web site should facilitate learning, and enable efficient and effective task completion, while propagating few errors. </p> <note>This book has been approved by the Web Site Users Association. </note> </content> </book>] NEW[<book number="1"> <title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title> <author>Millicent Marigold</author> <author>Montana Marigold</author> <editor>Véra Tudor-Medina</editor> <content> <p>The usability of a Web site is how well the site supports the users in achieving specified goals. A Web site should facilitate learning, and enable efficient and effective task completion, while propagating few errors. </p> <note>This book has been approved by the Web Site Users Association. </note> </content> </book>] ===== ft-3.2-examples-q2.xml OLD[<book number="1"> <title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title> <author>Millicent Marigold</author> <author>Montana Marigold</author> <editor>Véra Tudor-Medina</editor> <content> <p>The usability of a Web site is how well the site supports the users in achieving specified goals. A Web site should facilitate learning, and enable efficient and effective task completion, while propagating few errors. </p> <note>This book has been approved by the Web Site Users Association. </note> </content> </book>] NEW[<book number="1"> <title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title> <author>Millicent Marigold</author> <author>Montana Marigold</author> <editor>Véra Tudor-Medina</editor> <content> <p>The usability of a Web site is how well the site supports the users in achieving specified goals. A Web site should facilitate learning, and enable efficient and effective task completion, while propagating few errors. </p> <note>This book has been approved by the Web Site Users Association. </note> </content> </book>] ===== ft-3.2-examples-q3.xml OLD[<book number="1"> <title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title> <author>Millicent Marigold</author> <author>Montana Marigold</author> <editor>Véra Tudor-Medina</editor> <content> <p>The usability of a Web site is how well the site supports the users in achieving specified goals. A Web site should facilitate learning, and enable efficient and effective task completion, while propagating few errors. </p> <note>This book has been approved by the Web Site Users Association. </note> </content> </book>] NEW[<book number="1"> <title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title> <author>Millicent Marigold</author> <author>Montana Marigold</author> <editor>Véra Tudor-Medina</editor> <content> <p>The usability of a Web site is how well the site supports the users in achieving specified goals. A Web site should facilitate learning, and enable efficient and effective task completion, while propagating few errors. </p> <note>This book has been approved by the Web Site Users Association. </note> </content> </book>] ===== ForScoreExpr-1.txt OLD[<title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title><title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] NEW[<title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title> <title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] ===== ForScoreExpr-3.txt OLD[<title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title><title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] NEW[<title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title> <title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] ===== ForScoreExpr-5.txt OLD[<title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title><subject>Web site development</subject><title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title><subject>Web site usability</subject><title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title><subject>Web site development</subject>] NEW[<title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title> <subject>Web site development</subject> <title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title> <subject>Web site usability</subject> <title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title> <subject>Web site development</subject>] ===== ForScoreExpr-6.txt OLD[<title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title><title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] NEW[<title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title> <title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] ===== LetScoreExpr-3.txt OLD[<title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title><title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] NEW[<title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title> <title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] ===== LetScoreExpr-4.txt OLD[<title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title><title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] NEW[<title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title> <title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title>] ===== FTContains-pred1.txt OLD[<title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title><title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] NEW[<title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title> <title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] ===== FTContains-predcomp1.xml OLD[<title shortTitle="Usabilityguy Manuscript Guide">John Wesley Usabilityguy: A Register of His Papers</title>] NEW[<title shortTitle="Usabilityguy Manuscript Guide">John Wesley Usabilityguy: A Register of His Papers</title>] ===== FTContains-where1.txt OLD[<title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title><title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] NEW[<title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title> <title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] ===== FTContains-wherecomp1.txt OLD[<title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title><title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] NEW[<title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title> <title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] ===== FTContains-order1.txt OLD[<title shortTitle="Usabilityguy Manuscript Guide">John Wesley Usabilityguy: A Register of His Papers</title><title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title><title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] NEW[<title shortTitle="Usabilityguy Manuscript Guide">John Wesley Usabilityguy: A Register of His Papers</title> <title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title> <title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] ===== FTContains-ordercomp1.txt OLD[<title shortTitle="Usabilityguy Manuscript Guide">John Wesley Usabilityguy: A Register of His Papers</title><title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title><title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] NEW[<title shortTitle="Usabilityguy Manuscript Guide">John Wesley Usabilityguy: A Register of His Papers</title> <title shortTitle="Improving Web Site Usability">Improving the Usability of a Web Site Through Expert Reviews and Usability Testing</title> <title shortTitle="Usability Basics">Usability Basics: How to Plan for and Conduct Usability Tests on Web Site Thereby Improving the Usability of Your Web Site</title>] ===== FTPrimary-FTWords-q1_result.xml OLD[<paragraphs> <p>It is a static error <errorref class="ST" code="0019"/>if, within a single <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTMatchOptions" xlink:type="simple">FTMatchOptions</nt>, there is more than one match option of any given <termref def="dt-match-option-group">match option group</termref>. For example, if the <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTCaseOption" xlink:type="simple">FTCaseOption</nt> "lowercase" is specified, then "uppercase" cannot also be specified as part of the same <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTMatchOptions" xlink:type="simple">FTMatchOptions</nt>. </p> <p> <termdef id="dt-match-option-order" term="match option application order">The order in which effective match options for an <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTWords" xlink:type="simple">FTWords</nt>are applied is called the <term>match option application order</term>.</termdef>This order is significant because match options are not always commutative. For example, synonym(stem(word)) is not always the same as stem(synonym(word)). </p> </paragraphs>] NEW[<paragraphs> <p> It is a static error <errorref class="ST" code="0019"/> if, within a single <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTMatchOptions" xlink:type="simple">FTMatchOptions</nt>, there is more than one match option of any given <termref def="dt-match-option-group">match option group</termref>. For example, if the <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTCaseOption" xlink:type="simple">FTCaseOption</nt> "lowercase" is specified, then "uppercase" cannot also be specified as part of the same <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTMatchOptions" xlink:type="simple">FTMatchOptions</nt>. </p> <p> <termdef id="dt-match-option-order" term="match option application order"> The order in which effective match options for an <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTWords" xlink:type="simple">FTWords</nt> are applied is called the <term>match option application order</term>.</termdef> This order is significant because match options are not always commutative. For example, synonym(stem(word)) is not always the same as stem(synonym(word)). </p> </paragraphs>] ===== FTPrimary-FTWords-FTTimes-q1_result.xml OLD[<paragraphs> <p> The match option application order is subject to some constraints: <olist> <item><p>The Language Option must be applied first</p></item> <item><p>The Stemming Option must be applied before the Case Option and the Diacritics Option</p></item> </olist> Aside from these constraints, the full order of the application of match options is <termref def="dt-implementation-defined">implementation-defined</termref>. </p> </paragraphs>] NEW[<paragraphs> <p> The match option application order is subject to some constraints: <olist> <item> <p>The Language Option must be applied first</p> </item> <item> <p>The Stemming Option must be applied before the Case Option and the Diacritics Option</p> </item> </olist> Aside from these constraints, the full order of the application of match options is <termref def="dt-implementation-defined">implementation-defined</termref>. </p> </paragraphs>] ===== FTPrimary-FTSelection-q1_result.xml OLD[<paragraphs> <p>Full-text match options modify the matching behaviour of the <termref def="dt-ftprimary">primary full-text selection</termref> to which they are applied. </p> <p> Match options are propagated through the query via the static context. For each of the seven match option groups, the static context has a component that contains one option from that group. The seven settings are initialized by the implementation in accordance with the table in Appendix <specref ref="id-xqft-static-context-components"></specref>, and are modified by any <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTOptionDecl" xlink:type="simple">FTOptionDecl</nt>s in the <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-Prolog" xlink:type="simple">Prolog</nt>. The resulting settings are then propagated unchanged to every <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTContainsExpr" xlink:type="simple">FTContainsExpr</nt> in the module (including those in <code>VarDecl</code>s and <code>FunctionDecl</code>s, and including any that happen to be nested within another <code>FTContainsExpr</code>). At any given <code>FTContainsExpr</code>, the settings from the static context are copied to the <code>FTContainsExpr</code>'s inner settings, which are then propagated down the syntax tree. At each <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTPrimaryWithOptions" xlink:type="simple">FTPrimaryWithOptions</nt>, the locally specified match options (if any) overwrite the corresponding inner setting(s). At each <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTWords" xlink:type="simple">FTWords</nt>, the inner settings are used as the effective match options for tokenizing the query strings and matching them against the tokens in the text. (These inner settings could be seen as a parallel set of components in the static context, but Section <specref ref="tq-semantics"></specref> models them as structures that get passed as parameters to various semantic functions.) </p> </paragraphs>] NEW[<paragraphs> <p>Full-text match options modify the matching behaviour of the <termref def="dt-ftprimary">primary full-text selection</termref> to which they are applied. </p> <p> Match options are propagated through the query via the static context. For each of the seven match option groups, the static context has a component that contains one option from that group. The seven settings are initialized by the implementation in accordance with the table in Appendix <specref ref="id-xqft-static-context-components"/>, and are modified by any <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTOptionDecl" xlink:type="simple">FTOptionDecl</nt>s in the <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-Prolog" xlink:type="simple">Prolog</nt>. The resulting settings are then propagated unchanged to every <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTContainsExpr" xlink:type="simple">FTContainsExpr</nt> in the module (including those in <code>VarDecl</code>s and <code>FunctionDecl</code>s, and including any that happen to be nested within another <code>FTContainsExpr</code>). At any given <code>FTContainsExpr</code>, the settings from the static context are copied to the <code>FTContainsExpr</code>'s inner settings, which are then propagated down the syntax tree. At each <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTPrimaryWithOptions" xlink:type="simple">FTPrimaryWithOptions</nt>, the locally specified match options (if any) overwrite the corresponding inner setting(s). At each <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTWords" xlink:type="simple">FTWords</nt>, the inner settings are used as the effective match options for tokenizing the query strings and matching them against the tokens in the text. (These inner settings could be seen as a parallel set of components in the static context, but Section <specref ref="tq-semantics"/> models them as structures that get passed as parameters to various semantic functions.) </p> </paragraphs>] ===== FTPrimary-FTExtensionSelection-q1_result.xml OLD[<paragraphs> <p>It is a static error <errorref class="ST" code="0019"/>if, within a single <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTMatchOptions" xlink:type="simple">FTMatchOptions</nt>, there is more than one match option of any given <termref def="dt-match-option-group">match option group</termref>. For example, if the <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTCaseOption" xlink:type="simple">FTCaseOption</nt> "lowercase" is specified, then "uppercase" cannot also be specified as part of the same <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTMatchOptions" xlink:type="simple">FTMatchOptions</nt>. </p> </paragraphs>] NEW[<paragraphs> <p> It is a static error <errorref class="ST" code="0019"/> if, within a single <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTMatchOptions" xlink:type="simple">FTMatchOptions</nt>, there is more than one match option of any given <termref def="dt-match-option-group">match option group</termref>. For example, if the <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTCaseOption" xlink:type="simple">FTCaseOption</nt> "lowercase" is specified, then "uppercase" cannot also be specified as part of the same <nt xmlns:xlink="http://www.w3.org/1999/xlink" def="doc-xquery-FTMatchOptions" xlink:type="simple">FTMatchOptions</nt>. </p> </paragraphs>] ==================================== As some single results are pretty long, I have avoided pasting the whole list (which has ~1.5 MB). I'm looking forward to your response, Christian -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Wednesday, 8 April 2009 22:18:39 UTC