← Back to team overview

zorba-coders team mailing list archive

[Bug 1007301] [NEW] potential bug in isPossibleSimpleContentRevalImpl?

 

Public bug reported:

The following code in method
SchemaValidatorImpl::isPossibleSimpleContentRevalImpl

      if ( schemaTypeCode == store::XS_ID ||
          schemaTypeCode == store::XS_IDREF )
        return false;
      else
        return false; //true;

return false always. It should return true in the "else" case, no?

** Affects: zorba
     Importance: High
     Assignee: Cezar Andrei (cezar-andrei)
         Status: 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/1007301

Title:
  potential bug in isPossibleSimpleContentRevalImpl?

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following code in method
  SchemaValidatorImpl::isPossibleSimpleContentRevalImpl

        if ( schemaTypeCode == store::XS_ID ||
            schemaTypeCode == store::XS_IDREF )
          return false;
        else
          return false; //true;

  return false always. It should return true in the "else" case, no?

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


Follow ups

References