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

2012-05-10 Thread Nicolae Brinza
The proposal to merge lp:~nbrinza/zorba/bugs into lp:zorba has been updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/bugs/+merge/86408
-- 
https://code.launchpad.net/~nbrinza/zorba/bugs/+merge/86408
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:~nbrinza/zorba/bugs into lp:zorba

2012-05-10 Thread Zorba Build Bot
Attempt to merge into lp:zorba failed due to conflicts: 

text conflict in ChangeLog
text conflict in src/types/typeimpl.cpp
-- 
https://code.launchpad.net/~nbrinza/zorba/bugs/+merge/86408
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:~nbrinza/zorba/bugs into lp:zorba

2012-05-10 Thread Zorba Build Bot
The proposal to merge lp:~nbrinza/zorba/bugs into lp:zorba has been updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/bugs/+merge/86408
-- 
https://code.launchpad.net/~nbrinza/zorba/bugs/+merge/86408
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:~nbrinza/zorba/bugs into lp:zorba

2012-05-10 Thread Nicolae Brinza
Nicolae Brinza has proposed merging lp:~nbrinza/zorba/bugs into lp:zorba.

Requested reviews:
  Matthias Brantner (matthias-brantner)
  Markos Zaharioudakis (markos-za)
Related bugs:
  Bug #867256 in Zorba: instance of document-node(element(x)) in predicate
  https://bugs.launchpad.net/zorba/+bug/867256

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/bugs/+merge/105315

Fix for lp: bug #867256 - test Steps-leading-lone-slash-8a is failing. 

-- 
https://code.launchpad.net/~nbrinza/zorba/bugs/+merge/105315
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'ChangeLog'
--- ChangeLog	2012-05-09 01:25:37 +
+++ ChangeLog	2012-05-10 12:31:19 +
@@ -3,6 +3,7 @@
 
 version 2.x
 
+  * Fixed bug #867256 (document-node(element(x)) types and tests were not working correctly)
   * Fixed bug #867170 (Variables declared in Prolog are Overwritten inside the query)
 
 

=== added file 'test/rbkt/ExpQueryResults/zorba/schemas/doc-node-schema-elem-test-03.xml.res'
--- test/rbkt/ExpQueryResults/zorba/schemas/doc-node-schema-elem-test-03.xml.res	1970-01-01 00:00:00 +
+++ test/rbkt/ExpQueryResults/zorba/schemas/doc-node-schema-elem-test-03.xml.res	2012-05-10 12:31:19 +
@@ -0,0 +1,1 @@
+true
\ No newline at end of file

=== added file 'test/rbkt/ExpQueryResults/zorba/schemas/doc-node-schema-elem-test-05.xml.res'
--- test/rbkt/ExpQueryResults/zorba/schemas/doc-node-schema-elem-test-05.xml.res	1970-01-01 00:00:00 +
+++ test/rbkt/ExpQueryResults/zorba/schemas/doc-node-schema-elem-test-05.xml.res	2012-05-10 12:31:19 +
@@ -0,0 +1,1 @@
+false
\ No newline at end of file

=== added file 'test/rbkt/ExpQueryResults/zorba/schemas/doc-node-schema-elem-test-06.xml.res'
--- test/rbkt/ExpQueryResults/zorba/schemas/doc-node-schema-elem-test-06.xml.res	1970-01-01 00:00:00 +
+++ test/rbkt/ExpQueryResults/zorba/schemas/doc-node-schema-elem-test-06.xml.res	2012-05-10 12:31:19 +
@@ -0,0 +1,1 @@
+false
\ No newline at end of file

=== added file 'test/rbkt/ExpQueryResults/zorba/schemas/doc-node-schema-elem-test-07.xml.res'
--- test/rbkt/ExpQueryResults/zorba/schemas/doc-node-schema-elem-test-07.xml.res	1970-01-01 00:00:00 +
+++ test/rbkt/ExpQueryResults/zorba/schemas/doc-node-schema-elem-test-07.xml.res	2012-05-10 12:31:19 +
@@ -0,0 +1,1 @@
+true
\ No newline at end of file

=== added file 'test/rbkt/ExpQueryResults/zorba/schemas/doc-node-schema-elem-test-08.xml.res'
--- test/rbkt/ExpQueryResults/zorba/schemas/doc-node-schema-elem-test-08.xml.res	1970-01-01 00:00:00 +
+++ test/rbkt/ExpQueryResults/zorba/schemas/doc-node-schema-elem-test-08.xml.res	2012-05-10 12:31:19 +
@@ -0,0 +1,1 @@
+false
\ No newline at end of file

=== modified file 'test/rbkt/Queries/CMakeLists.txt'
--- test/rbkt/Queries/CMakeLists.txt	2012-05-04 16:05:42 +
+++ test/rbkt/Queries/CMakeLists.txt	2012-05-10 12:31:19 +
@@ -230,7 +230,6 @@
 
 IF (FOUND_XQTS AND NOT ZORBA_TEST_W3C_TO_SUBMIT_RESULTS)
 
-  EXPECTED_FAILURE(test/rbkt/w3c_testsuite/XQuery/PathExpr/Steps/Steps-leading-lone-slash-8a 3408285)
   EXPECTED_FAILURE(test/rbkt/w3c_testsuite/XQuery/Functions/QNameFunc/NamespaceURIForPrefixFunc/K2-NamespaceURIForPrefixFunc-2 872732)
 
   IF (ZORBA_TEST_XQUERYX)

=== added file 'test/rbkt/Queries/zorba/schemas/doc-node-schema-elem-test-01.spec'
--- test/rbkt/Queries/zorba/schemas/doc-node-schema-elem-test-01.spec	1970-01-01 00:00:00 +
+++ test/rbkt/Queries/zorba/schemas/doc-node-schema-elem-test-01.spec	2012-05-10 12:31:19 +
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XPTY0004

=== added file 'test/rbkt/Queries/zorba/schemas/doc-node-schema-elem-test-01.xq'
--- test/rbkt/Queries/zorba/schemas/doc-node-schema-elem-test-01.xq	1970-01-01 00:00:00 +
+++ test/rbkt/Queries/zorba/schemas/doc-node-schema-elem-test-01.xq	2012-05-10 12:31:19 +
@@ -0,0 +1,10 @@
+import schema default element namespace http://www.w3.org/XQueryTestOrderBy; at orderData.xsd; 
+
+declare variable $source := document { (
+!--comment--, 
+StringsorderDataone string/orderData/Strings,
+?processing instruction?
+  ) };
+
+let $document as document-node(schema-element(Strings)) := $source 
+return true()

=== added file 'test/rbkt/Queries/zorba/schemas/doc-node-schema-elem-test-02.spec'
--- test/rbkt/Queries/zorba/schemas/doc-node-schema-elem-test-02.spec	1970-01-01 00:00:00 +
+++ test/rbkt/Queries/zorba/schemas/doc-node-schema-elem-test-02.spec	2012-05-10 12:31:19 +
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XPTY0004

=== added file 'test/rbkt/Queries/zorba/schemas/doc-node-schema-elem-test-02.xq'
--- test/rbkt/Queries/zorba/schemas/doc-node-schema-elem-test-02.xq	1970-01-01 00:00:00 +
+++ test/rbkt/Queries/zorba/schemas/doc-node-schema-elem-test-02.xq	2012-05-10 12:31:19 +
@@ -0,0 +1,10 @@
+import schema default element namespace http://www.w3.org/XQueryTestOrderBy; at orderData.xsd; 
+
+declare variable $source := document { (
+

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

2012-05-10 Thread Nicolae Brinza
The proposal to merge lp:~nbrinza/zorba/bugs into lp:zorba has been updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/bugs/+merge/105315
-- 
https://code.launchpad.net/~nbrinza/zorba/bugs/+merge/105315
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:~paul-lucas/zorba/bug-996593 into lp:zorba

2012-05-10 Thread Dennis Knochenwefel
Review: Approve

very good and clean code
-- 
https://code.launchpad.net/~paul-lucas/zorba/bug-996593/+merge/105293
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:~nbrinza/zorba/bugs into lp:zorba

2012-05-10 Thread Nicolae Brinza
The proposal to merge lp:~nbrinza/zorba/bugs into lp:zorba has been updated.

Commit Message changed to:

Fix for lp: bug #867256 - test Steps-leading-lone-slash-8a is failing.

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/bugs/+merge/105315
-- 
https://code.launchpad.net/~nbrinza/zorba/bugs/+merge/105315
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:~nbrinza/zorba/bugs into lp:zorba

2012-05-10 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bugs-2012-05-10T12-51-03.223Z/log.html
-- 
https://code.launchpad.net/~nbrinza/zorba/bugs/+merge/105315
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:~nbrinza/zorba/bugs into lp:zorba

2012-05-10 Thread Zorba Build Bot
The attempt to merge lp:~nbrinza/zorba/bugs into lp:zorba failed. Below is the 
output from the failed tests.


CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 
(message):
  Validation queue job bugs-2012-05-10T12-51-03.223Z is finished.  The final
  status was:

  

  6 tests did not succeed - changes not commited.


Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

-- 
https://code.launchpad.net/~nbrinza/zorba/bugs/+merge/105315
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:~nbrinza/zorba/bugs into lp:zorba

2012-05-10 Thread Zorba Build Bot
The proposal to merge lp:~nbrinza/zorba/bugs into lp:zorba has been updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/bugs/+merge/105315
-- 
https://code.launchpad.net/~nbrinza/zorba/bugs/+merge/105315
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:~paul-lucas/zorba/bug-996593 into lp:zorba

2012-05-10 Thread Paul J. Lucas
The proposal to merge lp:~paul-lucas/zorba/bug-996593 into lp:zorba has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~paul-lucas/zorba/bug-996593/+merge/105293
-- 
https://code.launchpad.net/~paul-lucas/zorba/bug-996593/+merge/105293
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:~paul-lucas/zorba/bug-996593 into lp:zorba

2012-05-10 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug-996593-2012-05-10T13-31-08.003Z/log.html
-- 
https://code.launchpad.net/~paul-lucas/zorba/bug-996593/+merge/105293
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:~paul-lucas/zorba/bug-996593 into lp:zorba

2012-05-10 Thread Zorba Build Bot
Validation queue job bug-996593-2012-05-10T13-31-08.003Z is finished. The final 
status was:

All tests succeeded!
-- 
https://code.launchpad.net/~paul-lucas/zorba/bug-996593/+merge/105293
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:~paul-lucas/zorba/bug-996593 into lp:zorba

2012-05-10 Thread noreply
The proposal to merge lp:~paul-lucas/zorba/bug-996593 into lp:zorba has been 
updated.

Status: Approved = Merged

For more details, see:
https://code.launchpad.net/~paul-lucas/zorba/bug-996593/+merge/105293
-- 
https://code.launchpad.net/~paul-lucas/zorba/bug-996593/+merge/105293
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 996593] Re: http client throws error with no content-type header in http response

2012-05-10 Thread Paul J. Lucas
** Changed in: zorba
   Status: Opinion = Fix Committed

** Changed in: zorba
Milestone: None = 2.5

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

Title:
  http client throws error with no content-type header in http response

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  in modules/com/zorba-xquery/www/modules/http-
  client.xq.src/http_response_parser.cpp the function
  HttpResponseParser::parse() throws an error if the response doesn't
  contain a content-type. In this case theCurrentCharset is .

  the surprising part is that in the following code
  transcode::is_necessary() returns true and an icu_streambuf is
  created internally with an empty charset:

  if ( transcode::is_necessary( theCurrentCharset.c_str() ) ) {
lStream.reset(
  new transcode::streamstd::istream(
theCurrentCharset.c_str(), theStreamBuffer
  )
);
  }

  in the constructor of the icu_streambuf (src/util/icu_streambuf.cpp)
  the following code throws the error:

  external_conv_( no_conv_ ? nullptr : create_conv( charset ) )

  the correct behavior would be if the http-client would not throw an
  error if the content-type header is missing.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/996593/+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/jsoniq-plan_serialization into lp:~zorba-coders/zorba/jsoniq

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

Status: Needs review = Merged

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

-- 
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/feature-fetch_binary into lp:zorba

2012-05-10 Thread Matthias Brantner
Matthias Brantner has proposed merging 
lp:~zorba-coders/zorba/feature-fetch_binary into lp:zorba.

Requested reviews:
  Matthias Brantner (matthias-brantner)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/feature-fetch_binary/+merge/105359

- fetch:content-binary
- fetch:content#3 (with encoding parameter)
- StreamResource::isStreamSeekable to make sure the streamable strings returned 
by fetch are seekable.
- fixed two warnings in nodes_impl.cpp
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-fetch_binary/+merge/105359
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'ChangeLog'
=== modified file 'include/zorba/pregenerated/diagnostic_list.h'
--- include/zorba/pregenerated/diagnostic_list.h	2012-05-03 12:31:51 +
+++ include/zorba/pregenerated/diagnostic_list.h	2012-05-10 17:24:20 +
@@ -420,7 +420,7 @@
 
 extern ZORBA_DLL_PUBLIC ZorbaErrorCode ZXQP0024_XML_DOES_NOT_MATCH_SCHEMA;
 
-extern ZORBA_DLL_PUBLIC ZorbaErrorCode ZXQP0025_ITEM_CREATION_FAILED;
+extern ZORBA_DLL_PUBLIC ZorbaErrorCode ZXQP0025_COULD_NOT_FETCH_RESOURCE;
 
 extern ZORBA_DLL_PUBLIC ZorbaErrorCode ZXQP0026_INVALID_ENUM_VALUE;
 

=== modified file 'include/zorba/uri_resolvers.h'
--- include/zorba/uri_resolvers.h	2012-05-03 12:31:51 +
+++ include/zorba/uri_resolvers.h	2012-05-10 17:24:20 +
@@ -84,9 +84,11 @@
* @param aStreamReleaser A function pointer which is invoked once
*the StreamResource is destroyed. Normally this function will delete
*the std::istream object passed to it.
+   * @param aIsStreamSeekable Determines whether the given stream is seekable.
*/
   static StreamResource* create(std::istream* aStream,
-StreamReleaser aStreamReleaser);
+StreamReleaser aStreamReleaser,
+bool aIsStreamSeekable = false);
   
   /**
* @brief Retrieve the istream associated with this Resource.
@@ -99,6 +101,8 @@
   virtual StreamReleaser getStreamReleaser() = 0;
 
   virtual ~StreamResource() = 0;
+
+  virtual bool isStreamSeekable() const = 0;
 };
 
 /**

=== modified file 'modules/com/zorba-xquery/www/modules/CMakeLists.txt'
--- modules/com/zorba-xquery/www/modules/CMakeLists.txt	2012-05-03 12:31:51 +
+++ modules/com/zorba-xquery/www/modules/CMakeLists.txt	2012-05-10 17:24:20 +
@@ -43,7 +43,7 @@
 DECLARE_ZORBA_SCHEMA(FILE xqdoc.xsd URI http://www.xqdoc.org/1.0;)
 DECLARE_ZORBA_MODULE(FILE datetime.xq VERSION 2.0
   URI http://www.zorba-xquery.com/modules/datetime;)
-DECLARE_ZORBA_MODULE(FILE fetch.xq VERSION 2.0
+DECLARE_ZORBA_MODULE(FILE fetch.xq VERSION 2.1
   URI http://www.zorba-xquery.com/modules/fetch;)
 DECLARE_ZORBA_MODULE(FILE math.xq VERSION 2.0
   URI http://www.zorba-xquery.com/modules/math;)

=== modified file 'modules/com/zorba-xquery/www/modules/fetch.xq'
--- modules/com/zorba-xquery/www/modules/fetch.xq	2012-05-03 12:31:51 +
+++ modules/com/zorba-xquery/www/modules/fetch.xq	2012-05-10 17:24:20 +
@@ -17,15 +17,13 @@
 :)
 
 (:~
- : This module provides functions to fetch the contents or the type
- : of the content for a resource identified by a URI.
- : For example, it fetches content for file or http resources if Zorba
- : allows file or http access, respectively.
- :
- : pThe errors raised by functions of this module have the namespace
- : tthttp://www.zorba-xquery.com/errors/tt (associated with prefix zerr)./p
- :
- : @see a href=www.zorba-xquery.com_errors.htmlhttp://www.zorba-xquery.com/errors/a
+ : pThis module provides functions to fetch the content of a resource identified
+ : by a URI. For example, it fetches the content of file or http resources./p
+ :
+ : pIn order to retrieve such content, the functions use the
+ : URI resolution and URL resolver process as documented at
+ : a href=../../html/uriresolvers.html
+ : URI Resolvers/a./p
  :
  : @author Matthias Brantner
  :
@@ -38,23 +36,15 @@
 declare namespace zerr = http://www.zorba-xquery.com/errors;;
 
 declare namespace ver = http://www.zorba-xquery.com/options/versioning;;
-declare option ver:module-version 2.0;
+declare option ver:module-version 2.1;
 
 (:~
  : pTries to fetch the resource referred to by the given URI./p
  :
- : pIn order to retrieve the content, the functions uses the
- : URI resolution and URL resolver process as documented at
- : a href=../../html/uriresolvers.html
- : URI Resolvers/a. Therefore, it queries all URI mappers
- : and resolvers with kind ttEntityData::SOME_CONTENT/tt./p
+ : pIt queries all URI mappers and resolvers with kind
+ : ttEntityData::SOME_CONTENT/tt./p
  :
- : pThe function is annotated with the ttan:streamable/tt
- : annotation, that is it returns a streamable string. A streamable
- : string can only be consumed once. Please see section Streamable Strings
- : in the a href=../../html/options_and_annotations.html
- : documentation of Zorba's annotations/a.
- : /p
+ : pThe content is assumed to be UTF-8 

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

2012-05-10 Thread Zorba Build Bot
The attempt to merge lp:~zorba-coders/zorba/feature-fetch_binary into lp:zorba 
failed. Below is the output from the failed tests.


CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 
(message):
  Validation queue job feature-fetch_binary-2012-05-10T17-26-13.72Z is
  finished.  The final status was:

  

  13 tests did not succeed - changes not commited.


Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-fetch_binary/+merge/105359
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/feature-fetch_binary into lp:zorba

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

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/feature-fetch_binary/+merge/105359
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-fetch_binary/+merge/105359
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:~nbrinza/zorba/parse-fragment into lp:zorba

2012-05-10 Thread Nicolae Brinza
Nicolae Brinza has proposed merging lp:~nbrinza/zorba/parse-fragment into 
lp:zorba.

Requested reviews:
  Matthias Brantner (matthias-brantner)

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/105387

Documentation fixes.
-- 
https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/105387
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'doc/zorba/partial_support.dox'
--- doc/zorba/partial_support.dox	2012-05-03 12:31:51 +
+++ doc/zorba/partial_support.dox	2012-05-10 20:20:24 +
@@ -25,7 +25,7 @@
 li(DONE) Extended a href=http://www.w3.org/TR/xquery-30/#doc-xquery30-VarDecl;   target=_blankvariable declarations/a to allow default values for external variables./li
 li(DONE) Added a href=http://www.w3.org/TR/xquery-30/#id-context-item-declarations;   target=_blankb4.17 Context Item Declaration/b/a./li
 li(DONE) Modified a href=http://www.w3.org/TR/xquery-30/#id-version-declaration;   target=_blankb4.1 Version Declaration/b/a to add support for XQuery 3.0./li
-li(PARTIALLY DONE) Added a href=http://www.w3.org/TR/xquery-30/#id-decimal-format-decl;   target=_blankb4.10 Decimal-Format Declaration/b/a to allow a query to specify formats for code style=font-family: monospace;fn:format-number()/code. Added corresponding properties to the static context./li
+li(DONE) Added a href=http://www.w3.org/TR/xquery-30/#id-decimal-format-decl;   target=_blankb4.10 Decimal-Format Declaration/b/a to allow a query to specify formats for code style=font-family: monospace;fn:format-number()/code. Added corresponding properties to the static context./li
 li(DONE) Modified code style=font-family: monospace;derives-from()/code in a href=http://www.w3.org/TR/xquery-30/#id-sequencetype-matching;   target=_blankb2.5.5 SequenceType Matching/b/a to support union types.
 li(PARTIALLY DONE see \ref options_and_annotations) Added a title=annotation assertion href=http://www.w3.org/TR/xquery-30/#dt-annotation-assertion;   target=_blankannotation assertions/a to a href=http://www.w3.org/TR/xquery-30/#doc-xquery30-FunctionTest;   target=_blankfunction tests/a./li
 li(DONE) Added support for literal URLs in names, using a href=http://www.w3.org/TR/xquery-30/#doc-xquery30-EQName;   target=_blankEQNames/a./li

=== modified file 'modules/com/zorba-xquery/www/modules/xml.xq'
--- modules/com/zorba-xquery/www/modules/xml.xq	2012-05-03 12:31:51 +
+++ modules/com/zorba-xquery/www/modules/xml.xq	2012-05-10 20:20:24 +
@@ -224,7 +224,7 @@
  :)
 declare function parse-xml:parse(
   $xml-string as xs:string?,
-  $options as element()?) as node()* external;
+  $options as element(parse-xml-options:options)?) as node()* external;
   
 
 (:~
@@ -321,6 +321,8 @@
  : @error err:XQDY0027 The error will be raised if schema validation was enabled
  : and the input document has not passed it.
  :
+ : @deprecated
+ :
  :)
 declare function parse-xml:parse-xml-fragment(
   $xml-string as xs:string?,
@@ -378,6 +380,8 @@
  : @error err:FODC0007 This error will be raised if $base-uri parameter passed
  : to the function is not a valid absolute URI.
  :
+ : @deprecated
+ :
  :)
 declare function parse-xml:parse-xml-fragment(
   $xml-string as xs:string?,

-- 
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:~nbrinza/zorba/parse-fragment into lp:zorba

2012-05-10 Thread Matthias Brantner
Review: Approve


-- 
https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/105387
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:~nbrinza/zorba/parse-fragment into lp:zorba

2012-05-10 Thread Nicolae Brinza
Review: Approve


-- 
https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/105387
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:~nbrinza/zorba/parse-fragment into lp:zorba

2012-05-10 Thread Nicolae Brinza
The proposal to merge lp:~nbrinza/zorba/parse-fragment into lp:zorba has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/105387
-- 
https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/105387
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:~nbrinza/zorba/parse-fragment into lp:zorba

2012-05-10 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/parse-fragment-2012-05-10T20-43-02.464Z/log.html
-- 
https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/105387
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:~nbrinza/zorba/parse-fragment into lp:zorba

2012-05-10 Thread Zorba Build Bot
The attempt to merge lp:~nbrinza/zorba/parse-fragment into lp:zorba failed. 
Below is the output from the failed tests.


CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 
(message):
  Validation queue job parse-fragment-2012-05-10T20-43-02.464Z is finished.
  The final status was:

  

  227 tests did not succeed - changes not commited.


Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

-- 
https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/105387
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:~nbrinza/zorba/parse-fragment into lp:zorba

2012-05-10 Thread Zorba Build Bot
The proposal to merge lp:~nbrinza/zorba/parse-fragment into lp:zorba has been 
updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/105387
-- 
https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/105387
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/feature-fetch_binary into lp:zorba

2012-05-10 Thread Matthias Brantner
The proposal to merge lp:~zorba-coders/zorba/feature-fetch_binary into lp:zorba 
has been updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/feature-fetch_binary/+merge/105359
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-fetch_binary/+merge/105359
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/feature-fetch_binary into lp:zorba

2012-05-10 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/feature-fetch_binary-2012-05-10T21-26-27.53Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-fetch_binary/+merge/105359
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/feature-fetch_binary into lp:zorba

2012-05-10 Thread Zorba Build Bot
The attempt to merge lp:~zorba-coders/zorba/feature-fetch_binary into lp:zorba 
failed. Below is the output from the failed tests.


CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 
(message):
  Validation queue job feature-fetch_binary-2012-05-10T21-26-27.53Z is
  finished.  The final status was:

  

  13 tests did not succeed - changes not commited.


Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-fetch_binary/+merge/105359
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/feature-fetch_binary into lp:zorba

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

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/feature-fetch_binary/+merge/105359
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-fetch_binary/+merge/105359
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/feature-ft_module into lp:zorba

2012-05-10 Thread Paul J. Lucas
Paul J. Lucas has proposed merging lp:~zorba-coders/zorba/feature-ft_module 
into lp:zorba.

Requested reviews:
  Paul J. Lucas (paul-lucas)
Related bugs:
  Bug #944795 in Zorba: XQDoc doesn't handle  in URLs
  https://bugs.launchpad.net/zorba/+bug/944795

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/feature-ft_module/+merge/105421

Documentation tweaks.
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-ft_module/+merge/105421
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'doc/zorba/ft_tokenizer.dox'
--- doc/zorba/ft_tokenizer.dox	2012-05-03 12:31:51 +
+++ doc/zorba/ft_tokenizer.dox	2012-05-10 23:53:19 +
@@ -10,9 +10,12 @@
 
 \section ft_tokenizer_tokization Tokenization
 
-Using the
-a href=http://site.icu-project.org/;ICU library/a,
-Zorba's implementation of tokenization
+By default,
+Zorba uses the
+a href=http://site.icu-project.org/;ICU library/a
+for tokenization.
+For Roman alphabets,
+Zorba (ICU)
 considers only alpha-numeric sequences of characters to be part of a token;
 whitespace and punctuation characters are not
 and separate tokens.
@@ -117,7 +120,9 @@
   tr
 td\c lang/td
 td
-  The language of the string.
+  The
+  a href=http://www.w3.org/TR/xmlschema-2/#language;language/a
+  of the string.
 /td
   /tr
   tr
@@ -132,7 +137,7 @@
   tr
 td\c callback/td
 td
-  The Callback to call once per token.
+  The \c Callback to call once per token.
 /td
   /tr
   tr
@@ -232,7 +237,9 @@
   tr
 td\c languages/td
 td
-  The list of languages supported by the tokenizer.
+  The list of
+  a href=http://www.w3.org/TR/xmlschema-2/#language;languages/a
+  supported by the tokenizer.
 /td
   /tr
   tr
@@ -247,7 +254,9 @@
 
 In addition to a \c Tokenizer,
 you must also implement a \c TokenizerProvider
-that, given a language, provides a \c Tokenizer for that language:
+that,
+given a a href=http://www.w3.org/TR/xmlschema-2/#language;language/a,
+provides a \c Tokenizer for that language:
 
 \code
 class TokenizerProvider {
@@ -262,7 +271,11 @@
 table
   tr
 td\c lang/td
-tdThe language to tokenize./td
+td
+  The
+  a href=http://www.w3.org/TR/xmlschema-2/#language;language/a
+  to tokenize.
+/td
   /tr
   tr
 td\c num/td

-- 
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/feature-ft_module into lp:zorba

2012-05-10 Thread Paul J. Lucas
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-ft_module/+merge/105421
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/feature-ft_module into lp:zorba

2012-05-10 Thread Matthias Brantner
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-ft_module/+merge/105421
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/feature-ft_module into lp:zorba

2012-05-10 Thread Matthias Brantner
The proposal to merge lp:~zorba-coders/zorba/feature-ft_module into lp:zorba 
has been updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/feature-ft_module/+merge/105421
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-ft_module/+merge/105421
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/feature-ft_module into lp:zorba

2012-05-10 Thread Zorba Build Bot
The attempt to merge lp:~zorba-coders/zorba/feature-ft_module into lp:zorba 
failed. Below is the output from the failed tests.


CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 
(message):
  Validation queue job feature-ft_module-2012-05-11T02-08-17.708Z is
  finished.  The final status was:

  

  1 tests did not succeed - changes not commited.


Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-ft_module/+merge/105421
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/feature-ft_module into lp:zorba

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

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/feature-ft_module/+merge/105421
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-ft_module/+merge/105421
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/feature-ft_module into lp:zorba

2012-05-10 Thread Paul J. Lucas
The proposal to merge lp:~zorba-coders/zorba/feature-ft_module into lp:zorba 
has been updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/feature-ft_module/+merge/105421
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-ft_module/+merge/105421
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/feature-ft_module into lp:zorba

2012-05-10 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/feature-ft_module-2012-05-11T02-50-07.325Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-ft_module/+merge/105421
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/feature-fetch_binary into lp:zorba

2012-05-10 Thread Matthias Brantner
Matthias Brantner has proposed merging 
lp:~zorba-coders/zorba/feature-fetch_binary into lp:zorba.

Requested reviews:
  Till Westmann (tillw)
  Matthias Brantner (matthias-brantner)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/feature-fetch_binary/+merge/105430

- fetch:content-binary
- fetch:content#3 (with encoding parameter)
- StreamResource::isStreamSeekable to make sure the streamable strings returned 
by fetch are seekable.
- fixed two warnings in nodes_impl.cpp
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-fetch_binary/+merge/105430
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'ChangeLog'
=== modified file 'include/zorba/pregenerated/diagnostic_list.h'
--- include/zorba/pregenerated/diagnostic_list.h	2012-05-03 12:31:51 +
+++ include/zorba/pregenerated/diagnostic_list.h	2012-05-11 03:03:25 +
@@ -420,7 +420,7 @@
 
 extern ZORBA_DLL_PUBLIC ZorbaErrorCode ZXQP0024_XML_DOES_NOT_MATCH_SCHEMA;
 
-extern ZORBA_DLL_PUBLIC ZorbaErrorCode ZXQP0025_ITEM_CREATION_FAILED;
+extern ZORBA_DLL_PUBLIC ZorbaErrorCode ZXQP0025_COULD_NOT_FETCH_RESOURCE;
 
 extern ZORBA_DLL_PUBLIC ZorbaErrorCode ZXQP0026_INVALID_ENUM_VALUE;
 

=== modified file 'include/zorba/uri_resolvers.h'
--- include/zorba/uri_resolvers.h	2012-05-03 12:31:51 +
+++ include/zorba/uri_resolvers.h	2012-05-11 03:03:25 +
@@ -84,9 +84,11 @@
* @param aStreamReleaser A function pointer which is invoked once
*the StreamResource is destroyed. Normally this function will delete
*the std::istream object passed to it.
+   * @param aIsStreamSeekable Determines whether the given stream is seekable.
*/
   static StreamResource* create(std::istream* aStream,
-StreamReleaser aStreamReleaser);
+StreamReleaser aStreamReleaser,
+bool aIsStreamSeekable = false);
   
   /**
* @brief Retrieve the istream associated with this Resource.
@@ -99,6 +101,8 @@
   virtual StreamReleaser getStreamReleaser() = 0;
 
   virtual ~StreamResource() = 0;
+
+  virtual bool isStreamSeekable() const = 0;
 };
 
 /**

=== modified file 'modules/com/zorba-xquery/www/modules/CMakeLists.txt'
--- modules/com/zorba-xquery/www/modules/CMakeLists.txt	2012-05-03 12:31:51 +
+++ modules/com/zorba-xquery/www/modules/CMakeLists.txt	2012-05-11 03:03:25 +
@@ -43,7 +43,7 @@
 DECLARE_ZORBA_SCHEMA(FILE xqdoc.xsd URI http://www.xqdoc.org/1.0;)
 DECLARE_ZORBA_MODULE(FILE datetime.xq VERSION 2.0
   URI http://www.zorba-xquery.com/modules/datetime;)
-DECLARE_ZORBA_MODULE(FILE fetch.xq VERSION 2.0
+DECLARE_ZORBA_MODULE(FILE fetch.xq VERSION 3.0
   URI http://www.zorba-xquery.com/modules/fetch;)
 DECLARE_ZORBA_MODULE(FILE math.xq VERSION 2.0
   URI http://www.zorba-xquery.com/modules/math;)

=== modified file 'modules/com/zorba-xquery/www/modules/fetch.xq'
--- modules/com/zorba-xquery/www/modules/fetch.xq	2012-05-03 12:31:51 +
+++ modules/com/zorba-xquery/www/modules/fetch.xq	2012-05-11 03:03:25 +
@@ -17,15 +17,13 @@
 :)
 
 (:~
- : This module provides functions to fetch the contents or the type
- : of the content for a resource identified by a URI.
- : For example, it fetches content for file or http resources if Zorba
- : allows file or http access, respectively.
- :
- : pThe errors raised by functions of this module have the namespace
- : tthttp://www.zorba-xquery.com/errors/tt (associated with prefix zerr)./p
- :
- : @see a href=www.zorba-xquery.com_errors.htmlhttp://www.zorba-xquery.com/errors/a
+ : pThis module provides functions to fetch the content of a resource identified
+ : by a URI. For example, it fetches the content of file or http resources./p
+ :
+ : pIn order to retrieve such content, the functions use the
+ : URI resolution and URL resolver process as documented at
+ : a href=../../html/uriresolvers.html
+ : URI Resolvers/a./p
  :
  : @author Matthias Brantner
  :
@@ -38,23 +36,15 @@
 declare namespace zerr = http://www.zorba-xquery.com/errors;;
 
 declare namespace ver = http://www.zorba-xquery.com/options/versioning;;
-declare option ver:module-version 2.0;
+declare option ver:module-version 3.0;
 
 (:~
  : pTries to fetch the resource referred to by the given URI./p
  :
- : pIn order to retrieve the content, the functions uses the
- : URI resolution and URL resolver process as documented at
- : a href=../../html/uriresolvers.html
- : URI Resolvers/a. Therefore, it queries all URI mappers
- : and resolvers with kind ttEntityData::SOME_CONTENT/tt./p
+ : pIt queries all URI mappers and resolvers with kind
+ : ttEntityData::SOME_CONTENT/tt./p
  :
- : pThe function is annotated with the ttan:streamable/tt
- : annotation, that is it returns a streamable string. A streamable
- : string can only be consumed once. Please see section Streamable Strings
- : in the a href=../../html/options_and_annotations.html
- : documentation of Zorba's annotations/a.
- : /p
+ : pThe content 

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

2012-05-10 Thread Matthias Brantner
The proposal to merge lp:~zorba-coders/zorba/feature-fetch_binary into lp:zorba 
has been updated.

Commit Message changed to:

- fetch:content-binary
- fetch:content#3 (with encoding parameter)
- StreamResource::isStreamSeekable to make sure the streamable strings returned 
by fetch are seekable.
- fixed two warnings in nodes_impl.cpp

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/feature-fetch_binary/+merge/105430
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-fetch_binary/+merge/105430
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/feature-fetch_binary into lp:zorba

2012-05-10 Thread Matthias Brantner
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-fetch_binary/+merge/105430
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/feature-ft_module into lp:zorba

2012-05-10 Thread Zorba Build Bot
Validation queue job feature-ft_module-2012-05-11T02-50-07.325Z is finished. 
The final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-ft_module/+merge/105421
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