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

Non-required options cannot be empty?

From: Geert Josten <geert.josten@dayon.nl>
Date: Thu, 24 Nov 2011 17:15:31 +0100
Message-ID: <e78b2f47fe6087693881b3e0bac5325f@mail.gmail.com>
To: XProc Dev <xproc-dev@w3.org>

I was looking at my ut:xslt wrapper for p:xslt. It isn't complete yet. You
cannot pass in initial-mode, template-name etc to it. So, I added
non-required non-defaulted options for these, just like in the rec
(http://www.w3.org/TR/xproc/#c.xslt). But when I try to access the options
in an expression later on, without having supplied a value from outside,
XMLCalabash complains it doesn't know the option at all. Why I try to give
the options default value (), it complains that it doesn't comply to the
options type.

Can I make this work somehow?

Kind regards,

drs. G.P.H. (Geert) Josten
Senior Developer

Dayon B.V.
Delftechpark 37b
2628 XJ Delft

T +31 (0)88 26 82 570


De informatie - verzonden in of met dit e-mailbericht - is afkomstig van
Dayon BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan
dit bericht kunnen geen rechten worden ontleend.
Received on Thursday, 24 November 2011 16:16:01 UTC

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