potential bug in isPossibleSimpleContentRevalImpl?

Bug #1007301 reported by Markos Zaharioudakis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Medium
Cezar Andrei

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?

Changed in zorba:
milestone: none → 2.7
Chris Hillery (ceejatec)
Changed in zorba:
milestone: 2.7 → 3.0
Changed in zorba:
milestone: 3.0 → 2.8
Chris Hillery (ceejatec)
Changed in zorba:
milestone: 2.8 → 2.9
Revision history for this message
Chris Hillery (ceejatec) wrote :

Lowering priority - this is probably at worst a missed opportunity for optimization, not an error.

Changed in zorba:
importance: High → Medium
Changed in zorba:
milestone: 2.9 → 3.0
Chris Hillery (ceejatec)
Changed in zorba:
milestone: 3.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.