W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2013

[Bug 21671] New: [FO30] analyze-string examples

From: <bugzilla@jessica.w3.org>
Date: Thu, 11 Apr 2013 22:36:26 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-21671-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 21671
           Summary: [FO30] analyze-string examples
    Classification: Unclassified
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows XP
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Functions and Operators 3.0
          Assignee: mike@saxonica.com
          Reporter: andrew.eisenberg@us.ibm.com
        QA Contact: public-qt-comments@w3.org

The examples in section 5.6.5 fn:analyze-string start with:

"The expression fn:analyze-string("The cat sat on the mat.", "\w+") returns
<analyze-string-result xmlns="http://www.w3.org/2005/xpath-functions">
<match>The</match> <non-match> </non-match> <match>cat</match> <non-match>
</non-match> <match>sat</match> <non-match> </non-match> <match>on</match>
<non-match> </non-match> <match>the</match> <non-match> </non-match>
<match>mat</match> <non-match>.</non-match> </analyze-string-result>."

Not very readable. I suggest that you add:

Indented for readability, this result is:

<analyze-string-result xmlns="http://www.w3.org/2005/xpath-functions">
   <non-match> </non-match>
   <non-match> </non-match>
   <non-match> </non-match>
   <non-match> </non-match>
   <non-match> </non-match>

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 11 April 2013 22:36:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:52 UTC