[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug-955135 into lp:zorba

2012-04-10 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug-955135-2012-04-11T06-30-00.884Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-955135/+merge/99354
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug-955135 into lp:zorba

2012-04-10 Thread Matthias Brantner
The proposal to merge lp:~zorba-coders/zorba/bug-955135 into lp:zorba has been 
updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-955135/+merge/99354
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-955135/+merge/99354
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 867197] Re: 'nmake xqdoc\' fails on Windows

2012-04-10 Thread Zorba Build Bot
** Changed in: zorba
   Status: Confirmed => Fix Committed

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

Title:
  'nmake xqdoc\' fails on Windows

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  'nmake xqdoc\' fails on Windows

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

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 967151] Re: xqdoc segmentation faults on Windows

2012-04-10 Thread Zorba Build Bot
** Changed in: zorba
   Status: New => Fix Committed

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

Title:
  xqdoc segmentation faults on Windows

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  On Windows, Rodolfo reported some SEGFAULT errors on these tests on a
  clean build from the latest revision:

  1 - test/xqdoc/make_xqdoc (SEGFAULT)
2442 - test/rbkt/zorba/xqdoc/basic (SEGFAULT)
2444 - test/rbkt/zorba/xqdoc/content (SEGFAULT)
2446 - test/rbkt/zorba/xqdoc/indentation (SEGFAULT)
2447 - test/rbkt/zorba/xqdoc/local (SEGFAULT)
2448 - test/rbkt/zorba/xqdoc/moduleDocumentation (SEGFAULT)
2449 - test/rbkt/zorba/xqdoc/no_global_var (SEGFAULT)
2450 - test/rbkt/zorba/xqdoc/testSchemaTypes (SEGFAULT)
2451 - test/rbkt/zorba/xqdoc/unorderedAnnotations (SEGFAULT)

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

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug_967151 into lp:zorba

2012-04-10 Thread noreply
The proposal to merge lp:~zorba-coders/zorba/bug_967151 into lp:zorba has been 
updated.

Status: Approved => Merged

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug_967151/+merge/101426
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug_967151/+merge/101426
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug_967151 into lp:zorba

2012-04-10 Thread Zorba Build Bot
Validation queue job bug_967151-2012-04-11T02-47-09.462Z is finished. The final 
status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug_967151/+merge/101426
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug_967151 into lp:zorba

2012-04-10 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug_967151-2012-04-11T02-47-09.462Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug_967151/+merge/101426
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug_967151 into lp:zorba

2012-04-10 Thread Sorin Marian Nasoi
The proposal to merge lp:~zorba-coders/zorba/bug_967151 into lp:zorba has been 
updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug_967151/+merge/101426
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug_967151/+merge/101426
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug-955135 into lp:zorba

2012-04-10 Thread Till Westmann
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-955135/+merge/99354
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/ordpathmsgs into lp:zorba

2012-04-10 Thread Till Westmann
Review: Needs Information

Looks good, but it is not clear how the changes in bin/debugger/command.h and 
src/runtime/collections/collections_impl.cpp are related to the new macro.
-- 
https://code.launchpad.net/~zorba-coders/zorba/ordpathmsgs/+merge/101373
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/unordered-collection-tests into lp:zorba

2012-04-10 Thread Till Westmann
Maybe I don't understand this right but I thought that
1) there is an order in a collection (within a snapshot)
2) this order extends to the document order for nodes that are descendants of 
different nodes in the collection.
However, the nodes that are inserted into a collection are copied and thus have 
a new identify and the order in the collection does not have to be 
a) the document order of the source document or 
b) the insertion order.

These tests take the nodes from fn:doc("auction.xml")//item, insert them into a 
collection and assume that the result of reading this collection is still in 
the document order found in auction.xml. I think that there is no reason why 
this order has to "survive" the insertion into and extraction from the 
collection.

-- 
https://code.launchpad.net/~zorba-coders/zorba/unordered-collection-tests/+merge/101374
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug_967151 into lp:zorba

2012-04-10 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/bug_967151 into lp:zorba has been 
updated.

Status: Approved => Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug_967151/+merge/101426
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug_967151/+merge/101426
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug_967151 into lp:zorba

2012-04-10 Thread Zorba Build Bot
There are additional revisions which have not been approved in review. Please 
seek review and approval of these new revisions.
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug_967151/+merge/101426
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug_967151 into lp:zorba

2012-04-10 Thread Rodolfo Ochoa
The proposal to merge lp:~zorba-coders/zorba/bug_967151 into lp:zorba has been 
updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug_967151/+merge/101426
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug_967151/+merge/101426
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug_967151 into lp:zorba

2012-04-10 Thread Rodolfo Ochoa
Review: Approve

looks good...
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug_967151/+merge/101426
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/unordered-collection-tests into lp:zorba

2012-04-10 Thread Markos Zaharioudakis
Review: Needs Information


-- 
https://code.launchpad.net/~zorba-coders/zorba/unordered-collection-tests/+merge/101374
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/unordered-collection-tests into lp:zorba

2012-04-10 Thread Markos Zaharioudakis
I do not understand this change. Even for unordered collections, there is a 
order, which is the order in which the nodes are returned by the collection() 
function. According to the XQDDF spec, the collection() function is stable, 
i.e., within a snapshot will always return the results in the same order, which 
by definition, coincides with the document order for the nodes in the 
collection. Furthermore, the XQDDF spec says that the result of idex probing 
functions is always in document order.

What is the problem that this change is supposed to fix?
-- 
https://code.launchpad.net/~zorba-coders/zorba/unordered-collection-tests/+merge/101374
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/serializer into lp:zorba

2012-04-10 Thread noreply
The proposal to merge lp:~zorba-coders/zorba/serializer into lp:zorba has been 
updated.

Status: Approved => Merged

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/serializer/+merge/101441
-- 
https://code.launchpad.net/~zorba-coders/zorba/serializer/+merge/101441
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/serializer into lp:zorba

2012-04-10 Thread Zorba Build Bot
Validation queue job serializer-2012-04-10T20-24-16.316Z is finished. The final 
status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/serializer/+merge/101441
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/destroy-annotation-qnames into lp:zorba

2012-04-10 Thread Markos Zaharioudakis
Review: Needs Fixing

I think a better solution is to redefine the clear method for the 
ItemHandleHashMap class.
-- 
https://code.launchpad.net/~zorba-coders/zorba/destroy-annotation-qnames/+merge/97824
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/serializer into lp:zorba

2012-04-10 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/serializer-2012-04-10T20-24-16.316Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/serializer/+merge/101441
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/serializer into lp:zorba

2012-04-10 Thread Markos Zaharioudakis
The proposal to merge lp:~zorba-coders/zorba/serializer into lp:zorba has been 
updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/serializer/+merge/101441
-- 
https://code.launchpad.net/~zorba-coders/zorba/serializer/+merge/101441
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/serializer into lp:zorba

2012-04-10 Thread Markos Zaharioudakis
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/serializer/+merge/101441
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 867197] Re: 'nmake xqdoc\' fails on Windows

2012-04-10 Thread Sorin Marian Nasoi
This problem resurfaced after the changes in r10722.

Changed the status to confirmed.

** Changed in: zorba
   Status: Invalid => Confirmed

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

Title:
  'nmake xqdoc\' fails on Windows

Status in Zorba - The XQuery Processor:
  Confirmed

Bug description:
  'nmake xqdoc\' fails on Windows

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

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug_967151 into lp:zorba

2012-04-10 Thread Sorin Marian Nasoi
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/bug_967151/+merge/101426
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug_967151 into lp:zorba

2012-04-10 Thread Sorin Marian Nasoi
Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/bug_967151 into 
lp:zorba.

Requested reviews:
  Sorin Marian Nasoi (sorin.marian.nasoi)
  Rodolfo Ochoa (rodolfo-ochoa)
Related bugs:
  Bug #867197 in Zorba: "'nmake xqdoc\' fails on Windows"
  https://bugs.launchpad.net/zorba/+bug/867197
  Bug #967151 in Zorba: "xqdoc segmentation faults on Windows"
  https://bugs.launchpad.net/zorba/+bug/967151

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug_967151/+merge/101426

Fixed the XQDoc visitor on Windows that caused the "xqdoc-xml" project to fail 
to build.
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug_967151/+merge/101426
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'doc/code/CMakeLists.txt'
--- doc/code/CMakeLists.txt	2012-03-28 05:19:57 +
+++ doc/code/CMakeLists.txt	2012-04-10 17:56:36 +
@@ -33,20 +33,20 @@
   FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/headers_svg/)
 
   # Add the headers_svg command for which a working zorba cmd is required.
-  ADD_CUSTOM_TARGET(headers_svg
-${ZORBA_EXE}
-  --omit-xml-declaration
-  -f
-  -q "\"${CMAKE_CURRENT_SOURCE_DIR}/headers_svg/generate-headers-dependencies-svg.xq\""
-  -e "\"doxygenCodePath:=${CMAKE_CURRENT_BINARY_DIR}/html\""
-  -o "\"${CMAKE_CURRENT_BINARY_DIR}/headers_svg/headers.svg\""
-  COMMENT "Building header dependencies SVG..."
-  )
-  SET_TARGET_PROPERTIES (headers_svg PROPERTIES
-EXCLUDE_FROM_DEFAULT_BUILD 1
-FOLDER "Docs"
-  )
+#  ADD_CUSTOM_TARGET(headers_svg
+#${ZORBA_EXE}
+#  --omit-xml-declaration
+#  -f
+#  -q "\"${CMAKE_CURRENT_SOURCE_DIR}/headers_svg/generate-headers-dependencies-svg.xq\""
+#  -e "\"doxygenCodePath:=${CMAKE_CURRENT_BINARY_DIR}/html\""
+#  -o "\"${CMAKE_CURRENT_BINARY_DIR}/headers_svg/headers.svg\""
+#  COMMENT "Building header dependencies SVG..."
+#  )
+#  SET_TARGET_PROPERTIES (headers_svg PROPERTIES
+#EXCLUDE_FROM_DEFAULT_BUILD 1
+#FOLDER "Docs"
+#  )
   
-  ADD_DEPENDENCIES(headers_svg "codedocs")
+#  ADD_DEPENDENCIES(headers_svg "codedocs")
   
 ENDIF(NOT ZORBA_WITH_FILE_ACCESS)
\ No newline at end of file

=== modified file 'doc/zorba/xqdoc/CMakeLists.txt'
--- doc/zorba/xqdoc/CMakeLists.txt	2012-03-28 05:19:57 +
+++ doc/zorba/xqdoc/CMakeLists.txt	2012-04-10 17:56:36 +
@@ -49,19 +49,19 @@
 ${CMAKE_CURRENT_BINARY_DIR}/../../../xqdoc/generator/xqdoc-xml.xq COPYONLY)
 
 #   Add the modules_svg command for which a working zorba cmd is required.
-  ADD_CUSTOM_TARGET(modules_svg
-${ZORBA_EXE}
-  --omit-xml-declaration
-  -f
-  -q "\"${CMAKE_CURRENT_SOURCE_DIR}/src/generate-module-dependencies-svg.xq\""
-  -e "\"xqdocXMLPath:=${CMAKE_CURRENT_BINARY_DIR}/xml\""
-  -o "\"${CMAKE_CURRENT_BINARY_DIR}/xhtml/images/modules.svg\""
-  COMMENT "Building module dependencies SVG..."
-  )
-  SET_TARGET_PROPERTIES (modules_svg PROPERTIES
-EXCLUDE_FROM_DEFAULT_BUILD 1
-FOLDER "Docs"
-  )
-  ADD_DEPENDENCIES(modules_svg "xqdoc-zorba")
+#  ADD_CUSTOM_TARGET(modules_svg
+#${ZORBA_EXE}
+#  --omit-xml-declaration
+#  -f
+#  -q "\"${CMAKE_CURRENT_SOURCE_DIR}/src/generate-module-dependencies-svg.xq\""
+#  -e "\"xqdocXMLPath:=${CMAKE_CURRENT_BINARY_DIR}/xml\""
+#  -o "\"${CMAKE_CURRENT_BINARY_DIR}/xhtml/images/modules.svg\""
+#  COMMENT "Building module dependencies SVG..."
+#  )
+#  SET_TARGET_PROPERTIES (modules_svg PROPERTIES
+#EXCLUDE_FROM_DEFAULT_BUILD 1
+#FOLDER "Docs"
+#  )
+#  ADD_DEPENDENCIES(modules_svg "xqdoc-zorba")
 
 ENDIF(NOT ZORBA_WITH_FILE_ACCESS)

=== modified file 'src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp'
--- src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp	2012-03-28 05:19:57 +
+++ src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp	2012-04-10 17:56:36 +
@@ -170,8 +170,11 @@
 bool is_namespace_schema(zstring aPrefix, zstring aNamespace )
 {
   map::iterator ite = theNamespaceSchemaMap.find(aPrefix);
-  return ((ite != theNamespaceSchemaMap.end()) ||
-  (ite->second ==  aNamespace));
+  if(ite != theNamespaceSchemaMap.end())
+  {
+return (ite->second == aNamespace);
+  }
+  return false;
 }
 
 void print_namespaces()

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 967151] Re: xqdoc segmentation faults on Windows

2012-04-10 Thread Launchpad Bug Tracker
** Branch linked: lp:~zorba-coders/zorba/bug_967151

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

Title:
  xqdoc segmentation faults on Windows

Status in Zorba - The XQuery Processor:
  New

Bug description:
  On Windows, Rodolfo reported some SEGFAULT errors on these tests on a
  clean build from the latest revision:

  1 - test/xqdoc/make_xqdoc (SEGFAULT)
2442 - test/rbkt/zorba/xqdoc/basic (SEGFAULT)
2444 - test/rbkt/zorba/xqdoc/content (SEGFAULT)
2446 - test/rbkt/zorba/xqdoc/indentation (SEGFAULT)
2447 - test/rbkt/zorba/xqdoc/local (SEGFAULT)
2448 - test/rbkt/zorba/xqdoc/moduleDocumentation (SEGFAULT)
2449 - test/rbkt/zorba/xqdoc/no_global_var (SEGFAULT)
2450 - test/rbkt/zorba/xqdoc/testSchemaTypes (SEGFAULT)
2451 - test/rbkt/zorba/xqdoc/unorderedAnnotations (SEGFAULT)

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

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug-955135 into lp:zorba

2012-04-10 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/bug-955135 into lp:zorba has been 
updated.

Status: Approved => Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-955135/+merge/99354
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-955135/+merge/99354
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug-955135 into lp:zorba

2012-04-10 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, 
Needs Fixing < 1, Pending < 1. Got: 2 Approve, 1 Pending.
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-955135/+merge/99354
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug-955135 into lp:zorba

2012-04-10 Thread Zorba Build Bot
Validation queue job bug-955135-2012-04-10T16-09-12.965Z is finished. The final 
status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-955135/+merge/99354
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug-955135 into lp:zorba

2012-04-10 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug-955135-2012-04-10T16-09-12.965Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-955135/+merge/99354
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug-955135 into lp:zorba

2012-04-10 Thread Ghislain Fourny
The proposal to merge lp:~zorba-coders/zorba/bug-955135 into lp:zorba has been 
updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-955135/+merge/99354
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-955135/+merge/99354
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/unordered-collection-tests into lp:zorba

2012-04-10 Thread Till Westmann
Review: Approve

Looks good to me and they work for me.
-- 
https://code.launchpad.net/~zorba-coders/zorba/unordered-collection-tests/+merge/101374
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-10 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/clang-friend into lp:zorba has 
been updated.

Status: Approved => Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-10 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, 
Needs Fixing < 1, Pending < 1. Got: 2 Approve, 1 Pending.
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-10 Thread Zorba Build Bot
Validation queue job clang-friend-2012-04-10T14-30-00.688Z is finished. The 
final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-10 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/clang-friend-2012-04-10T14-30-00.688Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/do-not-destroy-annotations-twice into lp:zorba

2012-04-10 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/do-not-destroy-annotations-twice 
into lp:zorba has been updated.

Status: Approved => Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/do-not-destroy-annotations-twice/+merge/97822
-- 
https://code.launchpad.net/~zorba-coders/zorba/do-not-destroy-annotations-twice/+merge/97822
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-10 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/clang-friend-2012-04-10T13-49-00.571Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/do-not-destroy-annotations-twice into lp:zorba

2012-04-10 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, 
Needs Fixing < 1, Pending < 1. Got: 2 Approve, 2 Pending.
-- 
https://code.launchpad.net/~zorba-coders/zorba/do-not-destroy-annotations-twice/+merge/97822
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/do-not-destroy-annotations-twice into lp:zorba

2012-04-10 Thread Zorba Build Bot
Validation queue job do-not-destroy-annotations-twice-2012-04-10T13-17-05.159Z 
is finished. The final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/do-not-destroy-annotations-twice/+merge/97822
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/pul-and-xdm-schemas into lp:zorba

2012-04-10 Thread Alexander Kreutz
Review: Approve

Using xs:untyped and xs:untypedAtomic is okay for me. 
-- 
https://code.launchpad.net/~zorba-coders/zorba/pul-and-xdm-schemas/+merge/94209
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug-955135 into lp:zorba

2012-04-10 Thread Ghislain Fourny
The proposal to merge lp:~zorba-coders/zorba/bug-955135 into lp:zorba has been 
updated.

Status: Approved => Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-955135/+merge/99354
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-955135/+merge/99354
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug-955135 into lp:zorba

2012-04-10 Thread Ghislain Fourny
The proposal to merge lp:~zorba-coders/zorba/bug-955135 into lp:zorba has been 
updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-955135/+merge/99354
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-955135/+merge/99354
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug-955135 into lp:zorba

2012-04-10 Thread Ghislain Fourny
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-955135/+merge/99354
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/pul-and-xdm-schemas into lp:zorba

2012-04-10 Thread Ghislain Fourny
If I am correct, the type-name before the insertion, for new nodes (generated 
by the collection browser), would be xs:untyped and xs:untypedAtomic. The 
schema types only make sense when the nodes are being, or have been, inserted. 
What do you think?

-- 
https://code.launchpad.net/~zorba-coders/zorba/pul-and-xdm-schemas/+merge/94209
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/do-not-destroy-annotations-twice into lp:zorba

2012-04-10 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/do-not-destroy-annotations-twice-2012-04-10T13-17-05.159Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/do-not-destroy-annotations-twice/+merge/97822
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-10 Thread Ghislain Fourny
The proposal to merge lp:~zorba-coders/zorba/clang-friend into lp:zorba has 
been updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/do-not-destroy-annotations-twice into lp:zorba

2012-04-10 Thread Ghislain Fourny
The proposal to merge lp:~zorba-coders/zorba/do-not-destroy-annotations-twice 
into lp:zorba has been updated.

Status: Needs review => Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/do-not-destroy-annotations-twice/+merge/97822
-- 
https://code.launchpad.net/~zorba-coders/zorba/do-not-destroy-annotations-twice/+merge/97822
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/unordered-collection-tests into lp:zorba

2012-04-10 Thread Ghislain Fourny
Ghislain Fourny has proposed merging 
lp:~zorba-coders/zorba/unordered-collection-tests into lp:zorba.

Requested reviews:
  Till Westmann (tillw)
  Markos Zaharioudakis (markos-za)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/unordered-collection-tests/+merge/101374

Fixed tests involving unordered collections, though assuming order for test 
results.
-- 
https://code.launchpad.net/~zorba-coders/zorba/unordered-collection-tests/+merge/101374
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'test/rbkt/ExpQueryResults/zorba/xqddf/daniel/ric6.xml.res'
--- test/rbkt/ExpQueryResults/zorba/xqddf/daniel/ric6.xml.res	2012-03-28 05:19:57 +
+++ test/rbkt/ExpQueryResults/zorba/xqddf/daniel/ric6.xml.res	2012-04-10 13:15:27 +
@@ -1,5 +1,5 @@
 
 duteous nine eighteen great scarce brook abhorr execution beckon rue lived unsur wine prevention waters derive subornation precepts laboured gentleman secure desires choughs stains shall ingenious heart lessens promise nearer conquerors over pays abominable confession greet heaven mole bonfires compact paper sake strive octavius seals happiness gaze wages proving english practice space commune women holds perhaps despair amorous  a
 duteous nine eighteen great scarce brook abhorr execution beckon rue lived unsur wine prevention waters derive subornation precepts laboured gentleman secure desires choughs stains shall ingenious heart lessens promise nearer conquerors over pays abominable confession greet heaven mole bonfires compact paper sake strive octavius seals happiness gaze wages proving english practice space commune women holds perhaps despair amorous  a
-duteous nine eighteen great scarce brook abhorr execution beckon rue lived unsur wine prevention waters derive subornation precepts laboured gentleman secure desires choughs stains shall ingenious heart lessens promise nearer conquerors over pays abominable confession greet heaven mole bonfires compact paper sake strive octavius seals happiness gaze wages proving english practice space commune women holds perhaps despair amorous  a
-great scarce brook abhorr execution beckon rue lived unsur wine prevention waters derive subornation precepts laboured gentleman secure desires choughs stains shall ingenious heart lessens promise nearer conquerors over pays abominable confession greet heaven mole bonfires compact paper sake strive octavius seals happiness gaze wages proving english practice space commune women holds perhaps despair amorous duteous nine eighteen 
\ No newline at end of file
+duteous nine eighteen great shall ingenious heart lessens promise nearer conquerors over pays abominable confession greet heaven mole bonfires compact paper sake strive octavius seals happiness gaze wages proving english scarce brook practice space commune women holds perhaps despair amorous abhorr execution beckon rue lived unsur wine prevention waters derive subornation precepts laboured gentleman secure desires choughs stains  a
+duteous nine eighteen great shall ingenious heart lessens promise nearer conquerors over pays abominable confession greet heaven mole bonfires compact paper sake strive octavius seals happiness gaze wages proving english scarce brook practice space commune women holds perhaps despair amorous abhorr execution beckon rue lived unsur wine prevention waters derive subornation precepts laboured gentleman secure desires choughs stains 
\ No newline at end of file

=== modified file 'test/rbkt/ExpQueryResults/zorba/xqddf/ic-foreignKey.xml.res'
--- test/rbkt/ExpQueryResults/zorba/xqddf/ic-foreignKey.xml.res	2012-03-28 05:19:57 +
+++ test/rbkt/ExpQueryResults/zorba/xqddf/ic-foreignKey.xml.res	2012-04-10 13:15:27 +
@@ -1,2 +1,2 @@
 
-1 2 31 2 1true
\ No newline at end of file
+1 2 31 1 2true

=== modified file 'test/rbkt/Queries/zorba/collections/modifier_3.xq'
--- test/rbkt/Queries/zorba/collections/modifier_3.xq	2012-03-28 05:19:57 +
+++ test/rbkt/Queries/zorba/collections/modifier_3.xq	2012-04-10 13:15:27 +
@@ -48,7 +48,7 @@
 declare %ann:sequential function local:test4() {
   try {
 {
-  let $x as element() := dml:collection($ns:coll_1)[1]
+  let $x as element() := dml:collection($ns:coll_1)[name() eq "a"]
   return
 replace node $x/x with ;
 }

=== modified file 'test/rbkt/Queries/zorba/xqddf/daniel/i1.xq'
--- test/rbkt/Queries/zorba/xqddf/daniel/i1.xq	2012-03-28 05:19:57 +
+++ test/rbkt/Queries/zorba/xqddf/daniel/i1.xq	2012-04-10 13:15:27 +
@@ -14,4 +14,4 @@
 index_ddl:create($xqddf-test:index1);
 (:xqddf:collection($xqddf-test:white-collection);:)
 
-index_dml:probe-index-point-value($xqddf-test:index1, "United States")[1]
+index_dml:probe-index-point-value($xqddf-test:index1, "United States")[@id="item0"]

=== modified file 'test/rbkt/Queries/zorba/xqddf/daniel/i2.xq'
--- test/rbkt/Queries/zorba/xqddf/daniel/i2.xq	2012-03-28 05:19:57 +
+++ test/rbkt/Queries/zorba/xqddf/daniel/i2.xq	2012-04-10 13:15

[Zorba-coders] [Merge] lp:~zorba-coders/zorba/ordpathmsgs into lp:zorba

2012-04-10 Thread David Graf
David Graf has proposed merging lp:~zorba-coders/zorba/ordpathmsgs into 
lp:zorba.

Requested reviews:
  Markos Zaharioudakis (markos-za)
  Till Westmann (tillw)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/ordpathmsgs/+merge/101373

Introduced ZORBA_ASSERT_WITH_MSG macro to give additional debugging information 
in case an assertion fails. Currently used in Ordpath functions.
-- 
https://code.launchpad.net/~zorba-coders/zorba/ordpathmsgs/+merge/101373
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'bin/debugger/command.h'
--- bin/debugger/command.h	2012-03-28 05:19:57 +
+++ bin/debugger/command.h	2012-04-10 13:13:23 +
@@ -57,6 +57,7 @@
   
   class UntypedCommand {
   public:
+virtual ~UntypedCommand() {}
 virtual std::string getName() const = 0;
 virtual std::set getAliases() const = 0;
 virtual std::string getDescription() const = 0;

=== modified file 'src/diagnostics/assert.cpp'
--- src/diagnostics/assert.cpp	2012-03-28 05:19:57 +
+++ src/diagnostics/assert.cpp	2012-04-10 13:13:23 +
@@ -59,10 +59,16 @@
 
 ///
 
-void assertion_failed( char const *condition, char const *file, int line ) {
+void assertion_failed( char const *condition, 
+   char const *file, 
+   int line,
+   char const *msg) {
   print_stack_trace( cerr );
   throw make_zorba_exception(
-file, line, zerr::ZXQP0002_ASSERT_FAILED, ERROR_PARAMS( condition )
+file, 
+line, 
+zerr::ZXQP0002_ASSERT_FAILED, 
+( msg ? ERROR_PARAMS( condition, msg ) : ERROR_PARAMS( condition ))
   );
 }
 

=== modified file 'src/diagnostics/assert.h'
--- src/diagnostics/assert.h	2012-03-28 05:19:57 +
+++ src/diagnostics/assert.h	2012-04-10 13:13:23 +
@@ -29,12 +29,18 @@
  * @param condition The string representation of the condition that failed.
  * @param file The C++ source-code file name where the assertion failed.
  * @param line The C++ source-code line number where the assertion failed.
+ * @param msg An optional message that is output if the assertion fails.
  * @throws ZXQP0002_ASSERT_FAILED
  */
-void assertion_failed( char const *condition, char const *file, int line );
+void assertion_failed( char const *condition,
+   char const *file, 
+   int line, 
+   char const *msg = 0);
 
 /**
  * Zorba version of the standard assert(3) macro.
+ * Is checked in RELEASE mode as well. And outputs a special
+ * error code with the failing condition.
  */
 #define ZORBA_ASSERT(COND)  \
   do {  \
@@ -44,6 +50,22 @@
 }   \
   } while (0)
 
+/**
+ * Zorba version of the standard assert(3) macro.
+ * Is checked in RELEASE mode as well. And outputs a special
+ * error code with the failing condition as well as potentially
+ * useful information for further debugging.
+ */
+#define ZORBA_ASSERT_WITH_MSG(COND,MSG)\
+  do { \
+if ( !(COND) ) {   \
+  std::ostringstream oss;  \
+  oss << MSG;  \
+  zorba::assertion_failed( #COND, __FILE__, __LINE__, oss.str().c_str() ); \
+  throw 0; /* never gets here but suppresses warning */\
+}  \
+  } while (0)
+
 } // namespace zorba
 #endif /* ZORBA_ASSERT_H */
 /* vim:set et sw=2 ts=2: */

=== modified file 'src/diagnostics/diagnostic_en.xml'
--- src/diagnostics/diagnostic_en.xml	2012-03-28 05:19:57 +
+++ src/diagnostics/diagnostic_en.xml	2012-04-10 13:13:23 +
@@ -1589,7 +1589,7 @@
A Zorba programming assertion failed.  If this error occurs, it is a bug
and should be reported.
   
-  "$1": assertion failed
+  "$1": assertion failed.${ The following information might help: 2}
 
 
 

=== modified file 'src/diagnostics/pregenerated/dict_en.cpp'
--- src/diagnostics/pregenerated/dict_en.cpp	2012-03-28 05:19:57 +
+++ src/diagnostics/pregenerated/dict_en.cpp	2012-04-10 13:13:23 +
@@ -392,7 +392,7 @@
   { "ZXQD0006", "\"$1\": invalid UTF-8 byte sequence" },
   { "ZXQP", "no error" },
   { "ZXQP0001", "dynamic runtime error${: 1}" },
-  { "ZXQP0002", "\"$1\": assertion failed" },
+  { "ZXQP0002", "\"$1\": assertion failed.${ The following information might help: 2}" },
   { "ZXQP0003", "internal error${: 1}" },
   { "ZXQP0004", "not yet implemented: $1" },
   { "ZXQP0005", "\"$1\": feature not enabled" },

=== modified file 'src/runtime/collections/collecti

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/pul-and-xdm-schemas into lp:zorba

2012-04-10 Thread Alexander Kreutz
Review: Needs Fixing

If the schema is to be used by the collection browser without changes
the attribute "type-name" on elements and attributes in the XDM schema must be 
optional and not required. Of course it is always known for existing nodes but 
not for new nodes.

The type information for new elements is not known by the client (and therefore 
cannot be sent), it is determined by validating the element before inserting it 
(on the server).
-- 
https://code.launchpad.net/~zorba-coders/zorba/pul-and-xdm-schemas/+merge/94209
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp