Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

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


  • From: "Peter Hunsberger" <peter.hunsberger@...>
  • To: "Costello, Roger L." <costello@...>
  • Date: Mon, 12 Feb 2007 09:00:46 -0600

On 2/12/07, Costello, Roger L. <costello@...> 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords