~ubuntu-branches/ubuntu/utopic/sblim-sfcc/utopic-proposed

« back to all changes in this revision

Viewing changes to backend/cimxml/cimXmlParser.c

  • Committer: Package Import Robot
  • Author(s): Kent Baxley
  • Date: 2014-06-25 13:34:21 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20140625133421-6a2arkqw06znji3u
Tags: 2.2.7-0ubuntu1
* New upstream release (LP: #1335941). 
* New Features:
 - [bugs:#2692] SFCC: SfcbLocal interface should expose markHeap() and releaseHeap()

 Bugs:
 - [bugs:#2728] Missing tag definition for REFARRAY
 - [bugs:#2729] Improper type handling for EmbeddedObject in PARAMVALUE
 - [bugs:#2730] More memory leaks in backend/cimxml/grammer.c
 

Show diffs side-by-side

added added

removed removed

Lines of Context:
605
605
         if (attr[1].attr) {
606
606
            lvalp->xtokParamValue.type = xmlToCmpiType(attr[1].attr);
607
607
         }
 
608
         if (attr[2].attr) {
 
609
           if (strcasecmp(attr[2].attr, "instance") == 0
 
610
               || strcasecmp(attr[2].attr, "object") == 0) {
 
611
             lvalp->xtokParamValue.type = CMPI_instance;
 
612
           } else {
 
613
             Throw(NULL, "Invalid value for attribute EmbeddedObject");
 
614
           }
 
615
         }
608
616
         return XTOK_PARAMVALUE;
609
617
      }
610
618
   }
1237
1245
   {TAG("VALUE.ARRAY"), procValueArray, ZTOK_VALUEARRAY},
1238
1246
   {TAG("VALUE.NAMEDINSTANCE"), procValueNamedInstance, ZTOK_VALUENAMEDINSTANCE},
1239
1247
   {TAG("VALUE.REFERENCE"), procValueReference, ZTOK_VALUEREFERENCE},
 
1248
   {TAG("VALUE.REFARRAY"), procValueRefArray, ZTOK_VALUEREFARRAY},
1240
1249
   {TAG("VALUE.OBJECTWITHPATH"), procValueObjectWithPath, ZTOK_VALUEOBJECTWITHPATH},
1241
1250
   {TAG("VALUE"), procValue, ZTOK_VALUE},
1242
1251
   {TAG("HOST"), procHost, ZTOK_HOST},