Re: [xml-dev] Schematron Question: proper way to express the text version of assertions?

From
Peter Hunsberger <>
To
"Costello, Roger L." <>
Date
2007-02-12T15:00:46Z
ID
<>
Thread
Re: [xml-dev] Schematron Question: proper way to express the text version of assertions?
On 2/12/07, Costello, Roger L. <> wrote:
> Michael Kay wrote:
>
> > You can't design error messages ...
>
> No, it's not an error message that is being specified within the
> <sch:assert> element.  Error messages are specified in a diagnostic:
>
> <sch:assert test="EndTime &gt; StartTime" diagnostics="lessThan">
>              -- text version of assertion --
> </sch:assert>
>
> <sch:diagnostics>
>       <sch:diagnostic id="lessThan">
>                         -- Put error message here --
> </sch:diagnostic>
>
> The message that is specified within the <sch:assert> element is a
> natural language version of the XPath expression (in the assertion's
> test attribute).
>
> My question is with regards to the proper way to express that natural
> language statement.  Namely, is it expressed using "is", or "should
> be", or "must be".
>

You may want to try Conceptual Graphs mailing list, they would
certainly give you the proper Natural Language constructs:

http://www.conceptualgraphs.org/

<snip/>

-- 
Peter Hunsberger