Cezar Andrei has proposed merging lp:~zorba-coders/zorba/bug1156249-minusZero 
into lp:zorba.

Commit message:
Fix for bug1156249: FOTS: XSD 1.1: 0 vs -0 . Enables -0 as a valid xs:decimal.

Requested reviews:
  Sorin Marian Nasoi (sorin.marian.nasoi)
Related bugs:
  Bug #1156249 in Zorba: "FOTS: XSD 1.1: 0 vs -0"
  https://bugs.launchpad.net/zorba/+bug/1156249

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug1156249-minusZero/+merge/155599

Fix for bug1156249: FOTS: XSD 1.1: 0 vs -0 . Enables -0 as a valid xs:decimal.
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug1156249-minusZero/+merge/155599
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/zorbatypes/mapm/mapm_set.c'
--- src/zorbatypes/mapm/mapm_set.c	2013-02-07 17:24:36 +0000
+++ src/zorbatypes/mapm/mapm_set.c	2013-03-26 20:20:30 +0000
@@ -339,7 +339,7 @@
   if (zflag)
   {
     ctmp->m_apm_exponent   = 0;
-    ctmp->m_apm_sign       = 0;
+    // ctmp->m_apm_sign       = 0; this line is commented to implement xsd 1.1 -0 change.
     ctmp->m_apm_datalength = 1;
   }
   else

=== modified file 'test/fots/CMakeLists.txt'
--- test/fots/CMakeLists.txt	2013-03-23 15:23:57 +0000
+++ test/fots/CMakeLists.txt	2013-03-26 20:20:30 +0000
@@ -527,8 +527,6 @@
 EXPECTED_FOTS_FAILURE (prod-OptionDecl.serialization Serialization-030 0)
 EXPECTED_FOTS_FAILURE (prod-OptionDecl.serialization Serialization-031 0)
 EXPECTED_FOTS_FAILURE (prod-OptionDecl.serialization Serialization-032 0)
-EXPECTED_FOTS_FAILURE (prod-OrderByClause orderBy20 0)
-EXPECTED_FOTS_FAILURE (prod-OrderByClause orderBy21 0)
 EXPECTED_FOTS_FAILURE (prod-OrderByClause orderBy40 0)
 EXPECTED_FOTS_FAILURE (prod-OrderByClause orderBy41 0)
 EXPECTED_FOTS_FAILURE (prod-OrderByClause orderBy49 0)

-- 
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

Reply via email to