[Schematron] Help sought: implementation of Character Repertoire in XSLT2 for embedding in schematron
Rick Jelliffe
rjelliffe at allette.com.au
Sat Sep 20 11:29:11 EDT 2008
Dave Pawson wrote:
> So it would make sense to reduce the number of calls from one per
> character
> at the top of this heap? Processing a 'string' (however obtained) would
> reduce that overhead by len(string) calls?
>
All I am implementing at the moment is a string-level check.
But a character level check would be much better. I don't think there is
anything stopping us from having both, and selecting the version from
the command line, if that were the issue.
Actually, for optimal performance the best approach would presumably be
to first validate with the string-level implementation, then check char-
by-char if that fails to get specific positional diagnostics.
Cheers
Rick
More information about the Schematron
mailing list