XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[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?

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 &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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS