← Back to team overview

zorba-coders team mailing list archive

[Bug 867117] Re: ZORBA_ERROR_* macros still used

 

** Changed in: zorba
    Milestone: None => 2.7

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867117

Title:
  ZORBA_ERROR_* macros still used

Status in Zorba - The XQuery Processor:
  New

Bug description:
  These old macros are still being used to report errors, e.g.,
  LoadSchemaErrorHandler.cpp lines 67, 86. Additionally, English-only
  text is being used to construct error messages on-the-fly. All error
  messages need to have text referenced symbolically via diagnostic
  dictionary keys and thus be able to be localized.

  Please replace all uses of these macros with "throw XQUERY_EXCEPTION(
  ..., ERROR_PARAMS( ... ), ERROR_LOC( ... ) );" and move all English-
  only strings to diagnostic_en.xml.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867117/+subscriptions