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

RE: XProc document templates - a question about undeclared variables

From: <vojtech.toman@emc.com>
Date: Mon, 8 Nov 2010 09:06:05 -0500
Message-ID: <997C307BEB90984EBE935699389EC41C02A74A01@CORPUSMX70C.corp.emc.com>
To: <xproc-dev@w3.org>
> Does the document template step only look for those expressions it has
> parameters for or does it try to evaluate all expressions in curly
braces. Would it
> throw an exception if it didn't find a matching parameter? I guess the
same situation
> would occur in XSLT document templates too where you've used AVTs.

It will try to evaluate all expression in curly braces. If any of them
cannot be evaluated (because it is an invalid XPath expression, because
of references to unbound variables, etc.), you will get an error.


Vojtech Toman
Consultant Software Engineer
EMC | Information Intelligence Group
Received on Monday, 8 November 2010 14:10:17 UTC

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