Skip to content
Snippets Groups Projects
Commit 6ede8cfc authored by Neil Graham's avatar Neil Graham
Browse files

fix compilation problem

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@175517 13f79535-47bb-0310-9956-ffa450edef68
parent 3e51cafb
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,9 @@ ...@@ -56,6 +56,9 @@
/* /*
* $Log$ * $Log$
* Revision 1.7 2003/12/02 17:37:03 neilg
* fix compilation problem
*
* Revision 1.6 2003/12/02 17:31:42 neilg * 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 * 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( ...@@ -108,7 +111,7 @@ void PSVIAttribute::reset(
fDefaultValue = defaultValue; fDefaultValue = defaultValue;
fIsSpecified = isSpecified; fIsSpecified = isSpecified;
fMemoryManager->deallocate((void *)fCanonicalValue); fMemoryManager->deallocate((void *)fCanonicalValue);
if(normalizedValue && dv && fValidityState == VALIDITY_STATE::VALID) if(normalizedValue && dv && fValidityState == PSVIItem::VALIDITY_VALID)
fCanonicalValue = (XMLCh *)dv->getCanonicalRepresentation(normalizedValue, fMemoryManager); fCanonicalValue = (XMLCh *)dv->getCanonicalRepresentation(normalizedValue, fMemoryManager);
else else
fCanonicalValue = 0; fCanonicalValue = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment