diff --git a/bazaar/PolyXMLTest/Main.cpp b/bazaar/PolyXMLTest/Main.cpp index 1d2c943d3..c1085ccda 100644 --- a/bazaar/PolyXMLTest/Main.cpp +++ b/bazaar/PolyXMLTest/Main.cpp @@ -72,7 +72,7 @@ void DumpArray(PolyXMLArray &polyArray) Cerr() << " AnotherData = '" << ((OneMore &)polyArray[i]).AnotherData << "'\n"; Cerr() << " OneMoreData = '" << ((OneMore &)polyArray[i]).OneMoreData << "'\n"; } - else if(polyArray[i].IsA() == POLYXMLUNKNOWN) + else if(polyArray[i].IsA() == "*UNKNOWN*") Cerr() << " Original class is '" << ((PolyXMLUnknown &)polyArray[i]).GetUnknownClassName() << "' -- STREAMED IN AS RAW XML\n"; else Cerr() << "oops... known class, but I don't know how to handle it\n";