[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Schematron Question: proper way to express the text version of assertions?
- From: "Peter Hunsberger" <peter.hunsberger@gmail.com>
- To: "Costello, Roger L." <costello@mitre.org>
- Date: Mon, 12 Feb 2007 09:00:46 -0600
On 2/12/07, Costello, Roger L. <costello@mitre.org> 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 > 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
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]