- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 14 Mar 2008 16:26:41 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5572 Summary: need proper full text error messages for FTMildNot Dynamic error Product: XPath / XQuery / XSLT Version: Working drafts Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Full Text 1.0 AssignedTo: jim.melton@acm.org ReportedBy: zhen.liu@oracle.com QAContact: public-qt-comments@w3.org in FTMildNot function, we call fn:error() to raise dynamic error declare function fts:ApplyFTMildNot (...) { if (fn:count($allMatches1//fts:stringExclude) gt 0) then fn:error("Invalid expression on the left-hand side of a not-in") else if (fn:count($allMatches2//fts:stringExclude) gt 0) then fn:error("Invalid expression on the right-hand side of a not-in") else if (fn:count($allMatches2//fts:stringInclude) eq 0) then We should reserve error numbers for these errors and define these errors in Appendix D sections. Then here we use fn:error() with full text QName and reserved error numbers in Appendix D.
Received on Friday, 14 March 2008 16:27:18 UTC