W3C home > Mailing lists > Public > xproc-dev@w3.org > November 2010

Document Template test cases

From: temp <temp44@szm.sk>
Date: Mon, 22 Nov 2010 11:51:43 +0100 (CET)
To: xproc-dev@w3.org
Message-Id: <20101122105143.912431C3AD@mail-mx-1.alinet.sk>
in the test case document-template-003.xml there is a requirement of XPath 2.0. I know these tests are optional, but this way the test will always fail for a processor with only XPath 1.0 support, even if it correctly implements the step.
My suggestion is to change the XPath expression in the template (the one with the string-join function) to:
{concat("{{", concat(/*/@a, ",", /*/@b), "}}")}
This is XPath 1.0, and will also satisfy the purpose of the test, which is (as far as I understand) to test for correct handling of quotes.

=== reklama ======================================

http://mail.szm.com - e-mail a priestor na www stranku zadarmo

http://webhosting.szm.com - domÄ'©ny a webhosting za najniĹľĹË|ie ceny

SZM.com pouĹľÄ'­va COMDOM Antispam - www.comdomsoft.com 
Received on Monday, 22 November 2010 10:52:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:07 UTC