expath-cg icon indicating copy to clipboard operation
expath-cg copied to clipboard

Spec versioning

Open fgeorges opened this issue 11 years ago • 0 comments

Define a mechanism to version the specs. The idea is to provide the version of the spec implemented by a specific product. Something like (let's say for the File Module): file:version(). We have several choices to provide the version number:

  • a system property
  • a function
  • a global variable

The problem with system properties is that they are specific to XSLT (not available in XPath, nor even XQuery). The advantage though, as opposed to functions, is that properties can be used at compile-time (with @use-when in XSLT).

A possibility could be to create a System Property Module, or as part as a Utility Module.

The mechanism will have to be used in all specs.

fgeorges avatar Dec 05 '13 03:12 fgeorges