[Bug 3960] fn-in-scope-prefixes-3

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3960

           Summary: fn-in-scope-prefixes-3
           Product: XML Query Test Suite
           Version: 1.0.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


If I understand this correctly,

fn:in-scope-prefixes(<anElement>some content</anElement>)

should return a sequence of two prefixes, namely the "" (empty xs:string) and
"xml" (xs:NCName).

From:

http://www.w3.org/TR/xslt-xquery-serialization/#serdm

following the serialization rule:

"For each subsequence of adjacent strings in S2, copy a single string to the
new sequence equal to the values of the strings in the subsequence concatenated
in order, each separated by a single space. Copy all other items to the new
sequence. The new sequence is S3."

Shouldn't the expected answer here be " xml" or "xml ", and not "xml" as
specified?

Received on Wednesday, 8 November 2006 16:59:48 UTC