Source: xqilla
Version: 2.2.3-1+b1
Severity: normal
Tags: upstream patch

Please see attached patch for a correction.

-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'squeeze-updates'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xqilla depends on:
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.5-8  GCC support library
ii  libicu44                      4.4.1-7    International Components for Unico
ii  libstdc++6                    4.4.5-8    The GNU Standard C++ Library v3
ii  libxerces-c3.1                3.1.1-1+b1 validating XML parser library for 
ii  libxqilla5                    2.2.3-1+b1 XQuery and XPath 2.0 library

xqilla recommends no packages.

xqilla suggests no packages.

-- no debconf information
=== modified file 'src/dom-api/impl/XPath2ResultImpl.cpp'
--- src/dom-api/impl/XPath2ResultImpl.cpp       2010-05-31 06:40:50 +0000
+++ src/dom-api/impl/XPath2ResultImpl.cpp       2011-02-15 19:57:31 +0000
@@ -150,7 +150,7 @@
 int XPath2ResultImpl::getIntegerValue() const
 {
   if(_currentItem.isNull()) {
-    throw XQillaException(DOMException::INVALID_STATE_ERR, 
XMLString::transcode("There is no current result in the result")); 
+    throw XQillaException(DOMException::INVALID_STATE_ERR, X("There is no 
current result in the result")); 
   }
 
   return FunctionNumber::number(_currentItem, _context, 0)->asInt();
@@ -159,7 +159,7 @@
 double XPath2ResultImpl::getNumberValue() const
 {
   if(_currentItem.isNull()) {
-    throw XQillaException(DOMException::INVALID_STATE_ERR, 
XMLString::transcode("There is no current result in the result"));
+    throw XQillaException(DOMException::INVALID_STATE_ERR, X("There is no 
current result in the result"));
   }
 
   return FunctionNumber::number(_currentItem, _context, 0)->asDouble();
@@ -168,7 +168,7 @@
 const XMLCh* XPath2ResultImpl::getStringValue() const
 {
   if(_currentItem.isNull()) {
-    throw XQillaException(DOMException::INVALID_STATE_ERR, 
XMLString::transcode("There is no current result in the result"));
+    throw XQillaException(DOMException::INVALID_STATE_ERR, X("There is no 
current result in the result"));
   }
 
   return FunctionString::string(_currentItem, _context);
@@ -177,7 +177,7 @@
 bool XPath2ResultImpl::getBooleanValue() const
 {
   if(_currentItem.isNull()) {
-    throw XQillaException(DOMException::INVALID_STATE_ERR, 
XMLString::transcode("There is no current result in the result"));
+    throw XQillaException(DOMException::INVALID_STATE_ERR, X("There is no 
current result in the result"));
   }
 
   if(!_currentItem->isAtomicValue()) {
@@ -197,7 +197,7 @@
 DOMNode* XPath2ResultImpl::getNodeValue() const
 {
   if(_currentItem.isNull()) {
-    throw XQillaException(DOMException::INVALID_STATE_ERR, 
XMLString::transcode("There is no current result in the result"));
+    throw XQillaException(DOMException::INVALID_STATE_ERR, X("There is no 
current result in the result"));
   }
 
   if(!_currentItem->isNode()) {
@@ -484,7 +484,7 @@
 {
   // check for document changes
   if(getInvalidIteratorState()) {
-    throw XQillaException(DOMException::INVALID_STATE_ERR, 
XMLString::transcode("Document has changed"));
+    throw XQillaException(DOMException::INVALID_STATE_ERR, X("Document has 
changed"));
   }
 
   try {

Reply via email to