Page 1 of 1

QuickFix: use-for-each not supported yet?

Posted: Mon Mar 07, 2016 4:07 pm
by gimsieke
Hi Octavian,

I finally got around to trying out sqf. The task at hand is to let the user select the value for an attribute from a list. The permitted attributes are not defined in a schema, they are only available in a let variable as an xs:string+.

From Nico’s example at https://github.com/octavianN/SQFPresent ... xes.sch#L9 I would have thought that @use-for-each might be my friend here, but it doesn’t seem to be supported in my current 17.1 version, build 2015111718. Am I on the right track with @use-for-each, and is it already available in a more recent build?

Gerrit

Re: QuickFix: use-for-each not supported yet?

Posted: Mon Mar 07, 2016 6:09 pm
by tavy
Hello Gerrit,

In oXygen XML Editor 17.1 we support the "Schematron Quick Fixes Specification - Draft April 2015". This does not include the "@use-for-each" attribute.

We want to add support to generate dynamic fixes, but first we need to have this in the specification. There is an opened issue on the SQF project regarding this feature.

Best Regards,
Octavian