xproc / 3.0-steps

Repository for change requests to the standard step library and for official extension steps
10 stars 7 forks source link

Add a parameters map to p:uuid? #587

Closed ndw closed 2 months ago

ndw commented 2 months ago

It strikes me as slightly weird that the p:uuid step says:

Implementations must support version 4 UUIDs. Support for other versions of UUID, and the mechanism by which the necessary inputs are made available for computing other versions, is implementation-defined.

Wouldn't it make sense to add a parameters map option so that there's a place to provide the necessary inputs? Implementors could use extension attributes or something, I suppose, but it seems like there's plenty of precedent for having a parameters map for this purpose...

xml-project commented 2 months ago

I thought that "the mechanism" refers to some type of configuration, or an extension attribute. But yes, a parameters map is certainly a good way to do this.