You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2008/03/25 12:58:23 UTC
svn commit: r640779 -
/xerces/c/trunk/src/xercesc/validators/schema/XSDDOMParser.cpp
Author: amassari
Date: Tue Mar 25 04:58:17 2008
New Revision: 640779
URL: http://svn.apache.org/viewvc?rev=640779&view=rev
Log:
When generating the text of an annotation to be validated, avoid inserting the same namespace declaration more than once
Modified:
xerces/c/trunk/src/xercesc/validators/schema/XSDDOMParser.cpp
Modified: xerces/c/trunk/src/xercesc/validators/schema/XSDDOMParser.cpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/schema/XSDDOMParser.cpp?rev=640779&r1=640778&r2=640779&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/XSDDOMParser.cpp (original)
+++ xerces/c/trunk/src/xercesc/validators/schema/XSDDOMParser.cpp Tue Mar 25 04:58:17 2008
@@ -136,6 +136,8 @@
fAnnotationBuf.append(fScanner->getURIText(namespaceContext->elementAt(j)->fURIId));
fAnnotationBuf.append(chDoubleQuote);
fAnnotationBuf.append(chSpace);
+
+ fURIs->addElement(prefId);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org