From 6ede8cfc8c717c22a6e1345d5bf6e3f654a77ffd Mon Sep 17 00:00:00 2001 From: Neil Graham <neilg@apache.org> Date: Tue, 2 Dec 2003 17:37:03 +0000 Subject: [PATCH] fix compilation problem git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@175517 13f79535-47bb-0310-9956-ffa450edef68 --- src/xercesc/framework/psvi/PSVIAttribute.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/xercesc/framework/psvi/PSVIAttribute.cpp b/src/xercesc/framework/psvi/PSVIAttribute.cpp index 89b2de4d6..b45d7259d 100644 --- a/src/xercesc/framework/psvi/PSVIAttribute.cpp +++ b/src/xercesc/framework/psvi/PSVIAttribute.cpp @@ -56,6 +56,9 @@ /* * $Log$ + * Revision 1.7 2003/12/02 17:37:03 neilg + * fix compilation problem + * * Revision 1.6 2003/12/02 17:31:42 neilg * since there are certain things, such as schemaLocation attributes, that have a datatype and which we nonetheless do not validate, make canonical-value production dependent on validity being valid * @@ -108,7 +111,7 @@ void PSVIAttribute::reset( fDefaultValue = defaultValue; fIsSpecified = isSpecified; fMemoryManager->deallocate((void *)fCanonicalValue); - if(normalizedValue && dv && fValidityState == VALIDITY_STATE::VALID) + if(normalizedValue && dv && fValidityState == PSVIItem::VALIDITY_VALID) fCanonicalValue = (XMLCh *)dv->getCanonicalRepresentation(normalizedValue, fMemoryManager); else fCanonicalValue = 0; -- GitLab