This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29249 - Serialization-text-11
Summary: Serialization-text-11
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-28 16:44 UTC by Christian Gruen
Modified: 2015-12-08 15:51 UTC (History)
0 users

See Also:


Attachments

Description Christian Gruen 2015-10-28 16:44:18 UTC
This is related to Bug 29217 and the test case "Serialization-text-11":

  <test><![CDATA[
    declare option Q{http://www.w3.org/2010/xslt-xquery-serialization}method "text";
    "a&#xD;aa&#xD;&#xA;a&#xD;&#xA;"]]></test>
  <result>
    <serialization-matches><![CDATA[^a\raa\r?\na\r?\n$]]></serialization-matches>
  </result>

To cover different system environments, the test results could be rewritten to:

  <result>
    <any-of>
      <serialization-matches>^a\raa\r\na\r\n$</serialization-matches>
      <serialization-matches>^a\raa\r\r\na\r\r\n$</serialization-matches>
      <serialization-matches>^a\raa\r\ra\r\r$</serialization-matches>
    </any-of>
  </result>
Comment 1 O'Neil Delpratt 2015-12-08 15:51:32 UTC
Test case fix and committed to cvs