- From: <bugzilla@jessica.w3.org>
- Date: Thu, 08 Jul 2010 14:11:57 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10110 Summary: [XQuery11UC]expected result sample for windowing question 2 seems wrong Product: XPath / XQuery / XSLT Version: Working drafts Platform: PC URL: http://www.w3.org/TR/xquery-11-use-cases/#windowing_he ad_para OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: XQuery 1.1 Use Cases AssignedTo: jonathan.robie@redhat.com ReportedBy: martin.honnen@gmx.de QAContact: public-qt-comments@w3.org The input document for http://www.w3.org/TR/xquery-11-use-cases/#windowing_head_para is as follows: <body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="head_para.xsd"> <h2>heading1</h2> <p>para1</p> <p>para2</p> <h2>heading2</h2> <p>para3</p> <p>para4</p> <p>para5</p> </body> The expected result is as follows: <chapter> <section title="heading1"> <para>para1</para> <para>para2</para> <para>heading2</para> </section> <section title="heading2"> <para>para3</para> <para>para4</para> <para>para5</para> </section> </chapter> Why does the "section" element with 'title="heading1"' have a third "para" element with contents "heading2"? With the English description of the aim being "Convert a structure with implicit sections to a structure with explicit sections." I would expect a result where each "section" elements wraps the "para" elements following the "h2" in the input: <chapter> <section title="heading1"> <para>para1</para> <para>para2</para> </section> <section title="heading2"> <para>para3</para> <para>para4</para> <para>para5</para> </section> </chapter> That is also the result I get with Zorba 1.2.0 when using the code in http://www.w3.org/Bugs/Public/show_bug.cgi?id=6241 which seems to be a fix of the code sample in the public working draft. -- 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 Thursday, 8 July 2010 14:11:59 UTC