diff --git a/scripts/sanityTest_ExpectedResult.log b/scripts/sanityTest_ExpectedResult.log index ad9b51af0cffafe2f0d5ad25cf1724fe2b1113c4..3fe46ecccf99146788d4ed22c1dadcc796351797 100644 --- a/scripts/sanityTest_ExpectedResult.log +++ b/scripts/sanityTest_ExpectedResult.log @@ -984,7 +984,7 @@ Create Reason: Declared ContentType: Content Model: (person,) ComplexType: - TypeName: ,C0 + TypeName: ,__AnonC0 ContentType: -------------------------------------------- Name: person @@ -993,7 +993,7 @@ Create Reason: Declared ContentType: Content Model: ((name,email,url),link) ComplexType: - TypeName: ,C1 + TypeName: ,__AnonC1 ContentType: Attributes: Name: id @@ -1030,21 +1030,21 @@ Create Reason: Declared ContentType: All Content Model: All(family,given) ComplexType: - TypeName: ,C2 + TypeName: ,__AnonC2 ContentType: All -------------------------------------------- Name: family Model Type: Simple Create Reason: Declared ComplexType: - TypeName: ,C3 + TypeName: ,__AnonC3 Base Datatype: string -------------------------------------------- Name: given Model Type: Simple Create Reason: Declared ComplexType: - TypeName: ,C4 + TypeName: ,__AnonC4 Base Datatype: string -------------------------------------------- Name: email @@ -1057,7 +1057,7 @@ Model Type: Empty Create Reason: Declared Content Model: EMPTY ComplexType: - TypeName: ,C5 + TypeName: ,__AnonC5 Attributes: Name: href Type: CDATA @@ -1071,7 +1071,7 @@ Model Type: Empty Create Reason: Declared Content Model: EMPTY ComplexType: - TypeName: ,C6 + TypeName: ,__AnonC6 Attributes: Name: manager Type: IDREF diff --git a/tests/src/DOM/TypeInfo/TypeInfo.cpp b/tests/src/DOM/TypeInfo/TypeInfo.cpp index f23bd2b9a57c43361f63ca8221b1bf8b94d53f2f..b68d34bf8561e3e43c7994b6a9a74c16e412711f 100644 --- a/tests/src/DOM/TypeInfo/TypeInfo.cpp +++ b/tests/src/DOM/TypeInfo/TypeInfo.cpp @@ -541,19 +541,19 @@ bool TypeInfo::testAnonymous() { //element anonymousTest DOMElement *testEle = findElement(X("anonymousTest")); - DOMTYPEINFOTEST(testEle->getTypeInfo(), X("C1"), X(""), __LINE__); + DOMTYPEINFOTEST(testEle->getTypeInfo(), X("__AnonC1"), X(""), __LINE__); testAttr = testEle->getAttributeNodeNS(X(""), X("partNum")); - DOMTYPEINFOTEST(testAttr->getTypeInfo(), X("S7"), X(""), __LINE__); + DOMTYPEINFOTEST(testAttr->getTypeInfo(), X("__AnonS7"), X(""), __LINE__); testEle = (DOMElement *)testEle->getFirstChild()->getNextSibling(); - DOMTYPEINFOTEST(testEle->getTypeInfo(), X("S2"), X(""), __LINE__); + DOMTYPEINFOTEST(testEle->getTypeInfo(), X("__AnonS2"), X(""), __LINE__); testEle = (DOMElement *)testEle->getNextSibling()->getNextSibling(); - DOMTYPEINFOTEST(testEle->getTypeInfo(), X("S4"), X(""), __LINE__); + DOMTYPEINFOTEST(testEle->getTypeInfo(), X("__AnonS4"), X(""), __LINE__); testEle = (DOMElement *)testEle->getNextSibling()->getNextSibling(); - DOMTYPEINFOTEST(testEle->getTypeInfo(), X("S6"), X(""), __LINE__); + DOMTYPEINFOTEST(testEle->getTypeInfo(), X("__AnonS6"), X(""), __LINE__); return passed; }