From 69211887e90304e44894475881c5c3aad8bd6107 Mon Sep 17 00:00:00 2001 From: Sze Howe Koh <szehowe.koh@gmail.com> Date: Fri, 25 Jan 2013 23:23:05 +0800 Subject: [PATCH] Doc: Fix module name format Follow the conventions at http://qt-project.org/wiki/Spelling_Module_Names_in_Qt_Documentation Change-Id: I1a8b3cafa9d1b9a6fdde835ae93f5f87b4d3970c Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> --- examples/xmlpatterns/README | 2 +- src/xmlpatterns/Mainpage.dox | 4 ++-- src/xmlpatterns/type/qprimitives_p.h | 2 +- src/xmlpatterns/utils/qpatternistlocale_p.h | 2 +- tests/auto/xmlpatterns/XSLTTODO | 12 ++++++------ 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/examples/xmlpatterns/README b/examples/xmlpatterns/README index 5d585dc5..55b17cb1 100644 --- a/examples/xmlpatterns/README +++ b/examples/xmlpatterns/README @@ -1,5 +1,5 @@ XQuery queries and XPath expressions can be used in Qt with the -QtXmlPatterns module. +Qt XML Patterns module. XQuery is a query language used to query XML in a concise and safe manner. diff --git a/src/xmlpatterns/Mainpage.dox b/src/xmlpatterns/Mainpage.dox index 2a563580..b4ca79c9 100644 --- a/src/xmlpatterns/Mainpage.dox +++ b/src/xmlpatterns/Mainpage.dox @@ -50,14 +50,14 @@ // We mean it. /** - * @mainpage QtXmlPatterns -- an implementation of XML technologies + * @mainpage Qt XML Patterns -- an implementation of XML technologies * * - @ref Patternist_info * - @ref Patternist_writingDoxygen * * @section Patternist_info Overview * - * This is the internal developer documentation for QtXmlPatterns. Please refer + * This is the internal developer documentation for Qt XML Patterns. Please refer * to Qt Assistant for usage documentation. * * The documentation that you are reading right now, can be generated by diff --git a/src/xmlpatterns/type/qprimitives_p.h b/src/xmlpatterns/type/qprimitives_p.h index 470e18f1..c196a043 100644 --- a/src/xmlpatterns/type/qprimitives_p.h +++ b/src/xmlpatterns/type/qprimitives_p.h @@ -74,7 +74,7 @@ QT_BEGIN_NAMESPACE class QString; /** - * @short The namespace for the internal API of QtXmlPatterns + * @short The namespace for the internal API of Qt XML Patterns * @internal */ namespace QPatternist diff --git a/src/xmlpatterns/utils/qpatternistlocale_p.h b/src/xmlpatterns/utils/qpatternistlocale_p.h index 166aaada..6219c16c 100644 --- a/src/xmlpatterns/utils/qpatternistlocale_p.h +++ b/src/xmlpatterns/utils/qpatternistlocale_p.h @@ -71,7 +71,7 @@ QT_BEGIN_NAMESPACE namespace QPatternist { /** - * @short Provides a translation context & functions for the QtXmlPatterns + * @short Provides a translation context & functions for the Qt XML Patterns * module. * * This class is not supposed to be instantiated. diff --git a/tests/auto/xmlpatterns/XSLTTODO b/tests/auto/xmlpatterns/XSLTTODO index 5a20441f..a61e343f 100644 --- a/tests/auto/xmlpatterns/XSLTTODO +++ b/tests/auto/xmlpatterns/XSLTTODO @@ -578,7 +578,7 @@ John Snelson of Oracle Berkeley DB XML & XQilla writes in private mail: What is he referring to? -If one spends some time on fancy diagrams, QtXmlPatterns[LINK]'s, the XQuery +If one spends some time on fancy diagrams, Qt XML Patterns[LINK]'s, the XQuery engine that shipped in Qt 4.4, architecture looks like this: @@ -590,7 +590,7 @@ and the whole approach to this is modifying the existing codebase as follows: -Put differently, when QtXmlPatterns is dealing with XSL-T stylesheets, it +Put differently, when Qt XML Patterns is dealing with XSL-T stylesheets, it replaces the XQuery tokenizer with a tokenizer which translates the stylesheet into XQuery tokens, that is consumed by the existing XQuery parser, extended with both grammar non-terminals and tokens to accomodate the @@ -656,7 +656,7 @@ focus(which for doesn't, but paths do), but can do so over atomic values and unconditionally without sorting the result by document order(which paths can't/doesn't, but for do). For implementations that normalize paths into for loops as the formal semantics do, the approach is straight forward. In -QtXmlPatterns' case, a synthetic token is queued which signals to create +Qt XML Patterns' case, a synthetic token is queued which signals to create a "relaxed" path expression which skips halting on atomic values in its operands(XPTY0019) and also skips node sorting. @@ -667,7 +667,7 @@ could have been used, but in anycase the IR yielded is the same, and that computed constructors happen to use less tokens. A particular case is xsl:namespace, an instruction which doesn't have any -corresponding expression in XQuery. In the case of QtXmlPatterns, the code +corresponding expression in XQuery. In the case of Qt XML Patterns, the code obvious already have a notion of "create this namespace on this element", and an AST node was trivially added for fetching the namespace components computationally. However, the introduction of xsl:namespace in an XQuery @@ -702,7 +702,7 @@ but also because more decisions can be taken at runtime through all attribute value templates. xsl:sort is surely a good example of this with its AVTs for language, order, collation, stability and what not. XQuery's order by stands -in strong contrast, which has these coded in the grammar. In QtXmlPatterns' +in strong contrast, which has these coded in the grammar. In Qt XML Patterns' case, the AST node corresponding to order by was generalized to take things such as stability and order from operands. This is paid by the code paths in XQuery since for them are constants generated and inserted as operands even @@ -1038,7 +1038,7 @@ Have top-level xml:space, ensure whitespace as child of xsl:stylesheet is ignore </xsl:stylesheet> -Compat mode, Saxon & QtXmlPatterns fails: +Compat mode, Saxon & Qt XML Patterns fails: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> -- GitLab