- From: <vojtech.toman@emc.com>
- Date: Mon, 22 Nov 2010 06:02:32 -0500
- To: <xproc-dev@w3.org>
- Message-ID: <997C307BEB90984EBE935699389EC41C02BC2574@CORPUSMX70C.corp.emc.com>
Mio, You are right that XPath 1.0-based processor will fail the test. Rewriting the test to be XPath 1.0-based might fix this, but I actually think that the essence of the test was testing that the processor applies the correct XPath version (2.0 in this case) in p:document-template. But I may be wrong. We would have to ask Norm because he wrote the test. Btw, the test was wrong according to the new p:document-template ‘{‘ and ‘}’ escaping rules – see the updated version of http://www.w3.org/XML/XProc/docs/template-note. I have just fixed it. Vojtech From: xproc-dev-request@w3.org [mailto:xproc-dev-request@w3.org] On Behalf Of temp Sent: Monday, November 22, 2010 11:52 AM To: xproc-dev@w3.org Subject: Document Template test cases Hello, 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. Thanks Mio === 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 <http://www.comdomsoft.com>
Received on Monday, 22 November 2010 11:04:47 UTC