From 648e08a5ef9e3fee5a4b0e95683b578a658c7566 Mon Sep 17 00:00:00 2001 From: Neil Graham <neilg@apache.org> Date: Wed, 14 May 2003 03:38:18 +0000 Subject: [PATCH] fix a bug that caused ComplexTypeInfo#elementCount() to report values including references to global elements only when the schema-full-checking flag was true. git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174957 13f79535-47bb-0310-9956-ffa450edef68 --- src/xercesc/validators/schema/TraverseSchema.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xercesc/validators/schema/TraverseSchema.cpp b/src/xercesc/validators/schema/TraverseSchema.cpp index 1a34fa72a..844864340 100644 --- a/src/xercesc/validators/schema/TraverseSchema.cpp +++ b/src/xercesc/validators/schema/TraverseSchema.cpp @@ -4521,7 +4521,7 @@ QName* TraverseSchema::processElementDeclRef(const DOMElement* const elem, } } - if (fFullConstraintChecking && refElemDecl) { + if (refElemDecl) { if (fCurrentComplexType) fCurrentComplexType->addElement(refElemDecl); -- GitLab