Re: XPath expression that generates false plus a messa
I used the XPath expression within the new XML Schema 1.1<assert> element:
Your assertion is true if the start time is greater than the end time. Which is the case for your "bad" data.
(Note also that comparing times is an error-prone business: what happens if you have a meeting that starts at 23:00 and finishes at 01:00?)
Michael Kay Saxonica
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