[Zorba-coders] [Bug 874679] Re: Clean up second arg to ADD_TEST_DIRECTORY()

2011-11-23 Thread Chris Hillery
I didn't intend for this solution to *replace* EXPECTED_FAILURE(). The
list of bugs sent to this function should only be those which segfault
on Windows, and hence they should be skipped entirely on Windows and
marked as EXPECTED_FAILURE() on other platforms. Tests which fail for
non-segfault reasons should continue to use the existing
EXPECTED_FAILURE() mechanism.

Basically, it's an ugly solution to an ugly problem. The
KNOWN_SEGFAULT() proposal is a slightly less ugly solution, but more
work to implement.

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

Title:
  Clean up second arg to ADD_TEST_DIRECTORY()

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The second (optional) argument to ADD_TEST_DIRECTORY() contains a list
  of test cases that should be skipped (ie, not created at all). This is
  extremely dangerous. By bypassing them entirely, there is no way of
  detecting when the bug is fixed. We have already had serious problems
  caused by test removal hiding the introduction of new bugs in the
  past.

  I understand that removing a test that segfaults is necessary on
  Windows in order for the tests to run unattended. However, it should
  never be done on other platforms. So ADD_TEST_DIRECTORY() should
  instead mark the bugs as EXPECTED_FAILURE()s on other platforms. (I
  realize that *currently* all places that pass a list of segfaulting
  tests to ADD_TEST_DIRECTORY() are inside an IF(WIN32), but this is not
  sufficient - ADD_TEST_DIRECTORY() itself must enforce that the tests
  are skipped only on Windows, or else sooner or later someone will
  accidentally do it wrong. There's currently no documentation either,
  making this much more likely.)

  In order to do this, ADD_TEST_DIRECTORY() needs to either accept a
  list of pairs of the form (testname, bug ID), or else accept two
  parallel lists (testnames and bug IDs), so it can pass the bug number
  to EXPECTED_FAILURE().

  A slightly more difficult approach would be to introduce a new
  KNOWN_SEGFAULT() macro that handled this in conjunction with
  ADD_TEST_DIRECTORY(). I'm not totally sure this is a good idea,
  though, because it would (silently) not do anything for tests added by
  any means other than ADD_TEST_DIRECTORY().

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/874679/+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:~matthias-brantner/zorba/bug-fixing into lp:zorba

2011-11-23 Thread Markos Zaharioudakis
Review: Approve


-- 
https://code.launchpad.net/~matthias-brantner/zorba/bug-fixing/+merge/82561
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:~matthias-brantner/zorba/bug-fixing into lp:zorba

2011-11-23 Thread Markos Zaharioudakis
The proposal to merge lp:~matthias-brantner/zorba/bug-fixing into lp:zorba has 
been updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~matthias-brantner/zorba/bug-fixing/+merge/82561
-- 
https://code.launchpad.net/~matthias-brantner/zorba/bug-fixing/+merge/82561
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:~matthias-brantner/zorba/bug-fixing into lp:zorba

2011-11-23 Thread Zorba Build Bot
Validation queue job bug-fixing-2011-11-23T08-54-04.911Z is finished. The final 
status was:

All tests succeeded!
-- 
https://code.launchpad.net/~matthias-brantner/zorba/bug-fixing/+merge/82561
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:~matthias-brantner/zorba/bug-fixing into lp:zorba

2011-11-23 Thread noreply
The proposal to merge lp:~matthias-brantner/zorba/bug-fixing into lp:zorba has 
been updated.

Status: Approved = Merged

For more details, see:
https://code.launchpad.net/~matthias-brantner/zorba/bug-fixing/+merge/82561
-- 
https://code.launchpad.net/~matthias-brantner/zorba/bug-fixing/+merge/82561
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 867042] Re: Add support for character maps in serializer

2011-11-23 Thread Gabriel Petrovay
If the bug is still invalid, please clean up the code referencing it in
parsing_and_serializing_impl.cpp

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

Title:
  Add support for character maps in serializer

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Zorba serializer does not seem to support character maps.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867042/+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 867042] Re: Add support for character maps in serializer

2011-11-23 Thread Gabriel Petrovay
Why is this marked as invalid?

The query below:

let $sp :=
  serialization-parameters
  xmlns=http://www.w3.org/2010/xslt-xquery-serialization;
use-character-maps
  character-map character=# map-string=123/
/use-character-maps
  /serialization-parameters
return
  fn:serialize(my#abc/my, $sp)

issues the result:

lt;mygt;#abclt;/mygt;

Shouldn't this be:

lt;mygt;123abclt;/mygt;

?

** Changed in: zorba
   Status: Invalid = New

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

Title:
  Add support for character maps in serializer

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Zorba serializer does not seem to support character maps.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867042/+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 894009] [NEW] Schema validation: can not cast to 02B6E590

2011-11-23 Thread Gabriel Petrovay
Public bug reported:

Query:

import schema namespace union = http://my.schema; at sch.xsd;

validate strict { elem xmlns=http://my.schema;+/elem }


Schema:

xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema;
  xmlns:this=http://my.schema;
  targetNamespace=http://my.schema;

  xs:simpleType name=my-type
xs:restriction base=xs:QName/
  /xs:simpleType

  xs:element name=elem type=this:my-type/
  
/xs:schema


Result:

d:\sch.xq:3,1: dynamic error [err:FORG0001]: +: invalid value for
cast/constructor: can not cast to 02B6E590: value '+' is invalid
QName; raised at zorba\src\types\schema\schema.cpp:1761

** Affects: zorba
 Importance: Undecided
 Status: New


** Tags: cast constructor qname schema validation

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

Title:
  Schema validation: can not cast to 02B6E590

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Query:

  import schema namespace union = http://my.schema; at sch.xsd;

  validate strict { elem xmlns=http://my.schema;+/elem }

  
  Schema:

  xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema;
xmlns:this=http://my.schema;
targetNamespace=http://my.schema;

xs:simpleType name=my-type
  xs:restriction base=xs:QName/
/xs:simpleType

xs:element name=elem type=this:my-type/

  /xs:schema

  
  Result:

  d:\sch.xq:3,1: dynamic error [err:FORG0001]: +: invalid value for
  cast/constructor: can not cast to 02B6E590: value '+' is invalid
  QName; raised at zorba\src\types\schema\schema.cpp:1761

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/894009/+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/changelog into lp:zorba

2011-11-23 Thread Chris Hillery
The proposal to merge lp:~zorba-coders/zorba/changelog into lp:zorba has been 
updated.

Status: Needs review = Approved

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

2011-11-23 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/changelog-2011-11-23T16-05-31.123Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/changelog/+merge/83108
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/changelog into lp:zorba

2011-11-23 Thread Zorba Build Bot
Validation queue job changelog-2011-11-23T16-05-31.123Z is finished. The final 
status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/changelog/+merge/83108
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/changelog into lp:zorba

2011-11-23 Thread noreply
The proposal to merge lp:~zorba-coders/zorba/changelog into lp:zorba has been 
updated.

Status: Approved = Merged

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/changelog/+merge/83108
-- 
https://code.launchpad.net/~zorba-coders/zorba/changelog/+merge/83108
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:~diogo-simoes89/zorba/data-cleaning into lp:zorba/data-cleaning-module

2011-11-23 Thread Diogo Simões
The proposal to merge lp:~diogo-simoes89/zorba/data-cleaning into 
lp:zorba/data-cleaning-module has been updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~diogo-simoes89/zorba/data-cleaning/+merge/79530
-- 
https://code.launchpad.net/~diogo-simoes89/zorba/data-cleaning/+merge/79530
Your team Zorba Coders is subscribed to branch lp:zorba/data-cleaning-module.

-- 
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:~diogo-simoes89/zorba/data-cleaning into lp:zorba/data-cleaning-module

2011-11-23 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve  1, Disapprove  1. 
Got: 1 Approve.
-- 
https://code.launchpad.net/~diogo-simoes89/zorba/data-cleaning/+merge/79530
Your team Zorba Coders is subscribed to branch lp:zorba/data-cleaning-module.

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

2011-11-23 Thread Matthias Brantner
The proposal to merge lp:~zorba-coders/zorba/redirect into lp:zorba has been 
updated.

Status: Needs review = Approved

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

2011-11-23 Thread Zorba Build Bot
Validation queue job redirect-2011-11-23T22-30-21.892Z is finished. The final 
status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/redirect/+merge/83227
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/redirect into lp:zorba

2011-11-23 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve  1, Disapprove  1. 
Got: 3 Pending.
-- 
https://code.launchpad.net/~zorba-coders/zorba/redirect/+merge/83227
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/redirect into lp:zorba

2011-11-23 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/redirect into lp:zorba has been 
updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/redirect/+merge/83227
-- 
https://code.launchpad.net/~zorba-coders/zorba/redirect/+merge/83227
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