Types for Option Values

It would certainly be nice for the p:option to have some declaration
of the type value to assist tools in authoring option values or debugging
pipelines.

A simple proposal would be to allow an optional 'type' attribute on
p:option element that has a QName value.   That identifies a type name
that may or may not be known by a pipeline processor.

We could then enumerate a simple list of XML Schema datatypes for
our step library.

While some may not want to point to XML Schema as a whole, I think
since both RelaxNG and XML Schema share a data types specification,
we can safely point to simple types as a solution.

-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics

Received on Tuesday, 22 May 2007 22:08:58 UTC