[Schematron] Mismatch between Schematron and SVRL

Rick Jelliffe rjelliffe at allette.com.au
Thu Jul 11 20:54:12 EDT 2013


If you need it, and have the capability, and you dont need to exchange
schemas please feel free to enhance schematron  as much as you need.

This span issue looks like an error.

Rick
On Jul 8, 2013 2:13 AM, "Webb Roberts" <webb at webbroberts.com> wrote:

> It seems that there is a mismatch between the capability of SVRL and the
> facilities in the ISO Schematron specification. The SVRL grammar (
> http://www.schematron.com/resource/svrl.rnc.txt) doesn't the include
> capacity to represent the Schematron span element or emph in assert.
>
> I also can't find any support for span in the reference Schematron
> implementation. There's a hook for it in the skeleton, but the SVRL and
> text implementations seem to just eat the tags and render the plain text.
>
> This leads me to my questions:
>
>
>    1. Is it true that you can't nest sch:value-of (or anything else,
>    really) inside of sch:span? This seems to really limit the utility of
>    sch:span.
>    2. Is text formatting within sch:assert, sch:report, etc., used in the
>    field? I've never seen real Schematron that included sch:span and
>    sch:emph.
>    3. Do any tools (the reference tools, or others like Oxygen) support
>    these tags?
>    4. Should I just give up and use plain text?
>
>
> What I don't want to do is to get into a situation where I'm
> over-engineering Schematron code that won't benefit anyone due to lack of
> tools support. It would be nice to have formatting within error reports. I
> just don't want to go through the trouble of writing a custom
> implementation on top of the skeleton, just to use facilities nobody else
> can use.
>
> Any opinions?
>
> Thanks,
> Webb
>
> --
> Webb Roberts
> webb at webbroberts.com
> http://www.webbroberts.com/
>
>
> _______________________________________________
> Schematron mailing list
> Schematron at eccnet.com
> http://www.eccnet.com/mailman/listinfo/schematron
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.eccnet.com/pipermail/schematron/attachments/20130712/6b07fd07/attachment.html 


More information about the Schematron mailing list