[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Use Schematron to formally define key concepts
Your argument would be dangerously wrong even if the code you posted were error free, but actually your posting shows one of the main advantages of using a declarative grammar for validation. A grammar can not check as much as a full programming language, but it is much easier to check that it is correct. your implementation of pred:Between for example does not match the comment in the code<!-- The predicate Between is true if and only if argument n2 lies between arguments n1 and n3 --> boolean(pred:Between(2,3,1)) is true even though $n2=3 does not lie between 2 and 1. David On 5 March 2017 at 14:46, Costello, Roger L. <costello@mitre.org> wrote:
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|